[MacPorts] #33412: clang-3.1 build fails due to unused function in Leopard
#33412: clang-3.1 build fails due to unused function in Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: --------------------------------+------------------------------------------- {{{clang-3.1 @3.1-r151504}}} {{{mi_zone_locked}}} is not used on Mac OS X < 10.6. With {{{-Werror}}}, this aborts the build on Leopard. The definition at l.301 of {{{projects/compiler- rt/lib/asan/asan_malloc_mac.cc}}} needs to be wrapped in {{{ #if defined(MAC_OS_X_VERSION_10_6) && \ MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 // definition #endif }}} With this change the build succeeds. -- Ticket URL: <https://trac.macports.org/ticket/33412> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33412: clang-3.1 build fails due to unused function in Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: clang-3.1 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * port: => clang-3.1 Comment: Please remember to fill in the Port field and to Cc the maintainer of that port. -- Ticket URL: <https://trac.macports.org/ticket/33412#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33412: clang-3.1 build fails due to unused function in Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: clang-3.1 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Can you please post your full build log. Also, you have a suggested fix, so please post your patch. -- Ticket URL: <https://trac.macports.org/ticket/33412#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33412: clang-3.1 build fails due to unused function in Leopard --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: clang-3.1 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Ok, I think I see what you're saying. It's unfortunate that it's built with -Werror... -- Ticket URL: <https://trac.macports.org/ticket/33412#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33412: clang-3.1 build fails due to unused function in Leopard ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: clang-3.1 | ---------------------------------+------------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: Filed upstream: http://llvm.org/bugs/show_bug.cgi?id=12136 Marking as "duplicate" since we don't have an "upstream to fix" resolution. -- Ticket URL: <https://trac.macports.org/ticket/33412#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts