[MacPorts] #40090: ros-log4cxx Configure error - build failure
#40090: ros-log4cxx Configure error - build failure ----------------------------------+-------------------------------- Reporter: peterhansgoldstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ros-log4cxx ----------------------------------+-------------------------------- OS 10.6.8, XCode 3.2.6 Build fails, kicking out "Undefined local symbol L318" Log file attached, but it's highly inscrutable to me. -- Ticket URL: <https://trac.macports.org/ticket/40090> MacPorts <http://www.macports.org/> Ports system for OS X
#40090: ros-log4cxx: Undefined local symbol L318 -----------------------------------+-------------------------------- Reporter: peterhansgoldstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ros-log4cxx | -----------------------------------+-------------------------------- Comment (by ryandesign@…): I don't believe we have a port called "ros-log4cxx" in the official MacPorts repository... Did you perhaps get this Portfile from somewhere else? -- Ticket URL: <https://trac.macports.org/ticket/40090#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40090: ros-log4cxx: Undefined local symbol L318 -----------------------------------+-------------------------------- Reporter: peterhansgoldstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ros-log4cxx | -----------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:1 ryandesign@…]:
Did you perhaps get this Portfile from somewhere else?
Maybe from http://ros.org/ a few years ago? -- Ticket URL: <https://trac.macports.org/ticket/40090#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40090: ros-log4cxx: Undefined local symbol L318 -----------------------------------+-------------------------------- Reporter: peterhansgoldstein@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: ros-log4cxx | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid Comment: Or in fact recently. I've now found the [http://www.ros.org/wiki/groovy/Installation/OSX/MacPorts/Repository ROS OS X MacPorts installation page], the [https://github.com/kyonifer/ros- macports ros-macports github repository], and the [https://github.com/kyonifer/ros-macports/tree/master/devel/ros-log4cxx ros-log4cxx port] inside it. This is not our bug, because this is not our port. Please report the problem to the ROS people. -- Ticket URL: <https://trac.macports.org/ticket/40090#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40090: log4cxx @0.10.0: Undefined local symbol L318 -----------------------------------+---------------------------------- Reporter: peterhansgoldstein@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: snowleopard haspatch Port: log4cxx | -----------------------------------+---------------------------------- Changes (by ryandesign@…): * status: closed => reopened * cc: mail@… (added) * keywords: => snowleopard haspatch * resolution: invalid => * port: ros-log4cxx => log4cxx Comment: As it happens, I see the same problem with the log4cxx port that we do have. It happens on our Snow Leopard buildbot only, not on the newer buildbots. The Snow Leopard buildbot is the only one that uses gcc-4.2 as its default compiler, and I'm able to reproduce the problem on Mavericks if I use `configure.compiler=apple-gcc-4.2` so it's some problem with old GCC. After some trial and error, I found that switching the optimization flags from `-Os` (the default as of MacPorts 2.2) back to `-O2` (the default in previous versions of MacPorts) fixes it, so that seems the simplest fix. -- Ticket URL: <https://trac.macports.org/ticket/40090#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40090: log4cxx @0.10.0: Undefined local symbol L318 -----------------------------------+---------------------------------- Reporter: peterhansgoldstein@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: snowleopard haspatch Port: log4cxx | -----------------------------------+---------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mail@… * cc: mail@… (removed) * status: reopened => new Comment: There are no occurrences of the string "L318" in the source code. My thought is that perhaps this is a compiler-generated symbol name; the name makes me think it might be this file's 318th compiler-generated label, such as might be needed for a `switch` statement, of which there are many in the last file mentioned in the log, properties.cpp. Perhaps there is something unusual about the `switch` statements in properties.cpp that makes gcc-4.2's optimizer unhappy; some qualities that come to mind are that there are multiple nested `switch` statements, and that one of them has `case` statements after the `default` case (usually the `default` case is the last one). I did find an old [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636 gcc bug when compiling a large switch statement]; the error message is different, but it wasn't solved until gcc 4.3. -- Ticket URL: <https://trac.macports.org/ticket/40090#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40090: log4cxx @0.10.0: Undefined local symbol L318 -----------------------------------+---------------------------------- Reporter: peterhansgoldstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: snowleopard haspatch Port: log4cxx | -----------------------------------+---------------------------------- Changes (by mf2k@…): * owner: mail@… => macports-tickets@… Comment: Port abandoned. See #43811. -- Ticket URL: <https://trac.macports.org/ticket/40090#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts