[LLVMbugs] [Bug 12136] New: [REGRESSION] compiler-rt does not build on Leopard (-Werror)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 29 09:27:03 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12136

             Bug #: 12136
           Summary: [REGRESSION] compiler-rt does not build on Leopard
                    (-Werror)
           Product: compiler-rt
           Version: unspecified
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jeremyhu at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


This was reported to me on MacPorts trac:
https://trac.macports.org/ticket/33412

compiler-rt r151504 is failing to build on Leopard because -Werror is
complaining about mi_zone_locked being unused.  mi_zone_locked is only used if
SL or later, so you should put its declaration inside of a similar block to
prevent this -Werror:

#if defined(MAC_OS_X_VERSION_10_6) && \
    MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
...
#endif

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list