#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