#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