[MacPorts] #31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o -----------------------------------+---------------------------------------- Reporter: Torsten.Maehne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gtkwave -----------------------------------+---------------------------------------- The current version 3.3.15 of gtkwave available in MacPorts fails to build with the following linker errors: {{{ ... Undefined symbols for architecture x86_64: "_lxt2_rd_clr_fac_process_mask", referenced from: _vcd_callback in lxt2miner.o "_lxt2_rd_get_num_facs", referenced from: _process_lxt2 in lxt2miner.o "_lxt2_rd_set_fac_process_mask_all", referenced from: _process_lxt2 in lxt2miner.o "_lxt2_rd_set_max_block_mem_usage", referenced from: _process_lxt2 in lxt2miner.o ld: symbol(s) not found for architecture x86_64 ... Undefined symbols for architecture x86_64: "_lxt2_rd_get_num_facs", referenced from: _process_lxt in lxt2vcd.o "_lxt2_rd_set_fac_process_mask_all", referenced from: _process_lxt in lxt2vcd.o "_lxt2_rd_set_max_block_mem_usage", referenced from: _process_lxt in lxt2vcd.o "_lxt2_rd_get_timescale", referenced from: _process_lxt in lxt2vcd.o "_lxt2_rd_get_alias_root", referenced from: _process_lxt in lxt2vcd.o "_lxt2_rd_get_start_time", referenced from: _process_lxt in lxt2vcd.o "_lxt2_rd_get_end_time", referenced from: _process_lxt in lxt2vcd.o ld: symbol(s) not found for architecture x86_64 ... }}} I'm using Mac OS X Lion 10.7.2 with Xcode 4.2 ({{{clang}}}). Apparently, the source code is not yet compatible to {{{clang}}}. I succeeded to compile it by setting {{{configure.compiler}}} to {{{llvm-gcc-4.2}}}. A patch for the {{{Portfile}}} is attached, which also bumps the gtkwave version to 3.3.26. -- Ticket URL: <https://trac.macports.org/ticket/31748> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o -----------------------------------+---------------------------------------- Reporter: Torsten.Maehne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gtkwave -----------------------------------+---------------------------------------- Comment(by Torsten.Maehne@…): I would like to add that the upstream developer is aware of the problem [http://sourceforge.net/tracker/?func=detail&aid=3416140&group_id=183606&atid... id 3416140]. The problem is marked as fixed, but a new version hasn't been released yet. -- Ticket URL: <https://trac.macports.org/ticket/31748#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o -----------------------------------+---------------------------------------- Reporter: Torsten.Maehne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: gtkwave -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: You can't just set configure.compiler to llvm-gcc-4.2 unconditionally; that will probably cause problems for Tiger and Leopard users. Read wiki:PortfileRecipes#compiler for the correct incantation. -- Ticket URL: <https://trac.macports.org/ticket/31748#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o -----------------------------------+---------------------------------------- Reporter: Torsten.Maehne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: gtkwave -----------------------------------+---------------------------------------- Comment(by Torsten.Maehne@…): @ryandesign: Thank you for your remark, I have updated the Portfile so that llvm-gcc-4.2 is only selected if clang has been chosen as compiler. This is reflected in the updated patch. -- Ticket URL: <https://trac.macports.org/ticket/31748#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o -----------------------------------+---------------------------------------- Reporter: Torsten.Maehne@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: gtkwave -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * cc: gwright@… (removed) * cc: ryandesign@… (added) * owner: macports-tickets@… => gwright@… Comment: #32631 claims to supersede this ticket, that 3.3.28 will build with clang. -- Ticket URL: <https://trac.macports.org/ticket/31748#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o -----------------------------------+---------------------------------------- Reporter: Torsten.Maehne@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: gtkwave -----------------------------------+---------------------------------------- Comment(by Torsten.Maehne@…): I can confirm that #32631 supersedes this ticket and gtkwave 3.3.28 compiled with clang works fine for me. -- Ticket URL: <https://trac.macports.org/ticket/31748#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31748: gtkwave @ 3.3.15: fails to build on Mac OS X Lion with Xcode 4.2 (clang) due to references to undefined symbols by lxtminer.o and lxt2vcd.o ------------------------------------+--------------------------------------- Reporter: Torsten.Maehne@… | Owner: gwright@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: haspatch Port: gtkwave | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <https://trac.macports.org/ticket/31748#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts