[LLVMbugs] [Bug 567] NEW: wrong sdtlib.h on MacOSX Tiger 10.4(.1)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 20 06:38:37 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=567

           Summary: wrong sdtlib.h on MacOSX Tiger 10.4(.1)
           Product: Build scripts
           Version: 1.5
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hp48gx at gmail.com


\cfrontend\ppc\llvm-gcc\lib\gcc\powerpc-apple-darwin7.8.0\3.4-llvm\include

file stdlib.h defines:

#ifndef _STDLIB_H_
#define _STDLIB_H_
#include <machine/ansi.h>


however the fixheaders procedure does NOT produce file machine/ansi.h and build
stops. It looks like stdlib.h from llvm-gcc comes from Apple SDK for 10.3, but
in 10.4 it has changed.

llvm[3]: Compiling crtend.c for Release build (bytecode)
In file included from crtend.c:20:
/llvm/llvm-gcc/bin/../lib/gcc/powerpc-apple-darwin7.8.0/3.4-llvm/include/stdlib.h:70:26:
machine/ansi.h: No such file or directory
In file included from crtend.c:20:
/llvm/llvm-gcc/bin/../lib/gcc/powerpc-apple-darwin7.8.0/3.4-llvm/include/stdlib.h:88:
error: parse error before "ct_rune_t"
/llvm/llvm-gcc/bin/../lib/gcc/powerpc-apple-darwin7.8.0/3.4-llvm/include/stdlib.h:93:
error: parse error before "rune_t"
/llvm/llvm-gcc/bin/../lib/gcc/powerpc-apple-darwin7.8.0/3.4-llvm/include/stdlib.h:118:
error: parse error before "wint_t"
make[3]: *** [/llvm/llvm/runtime/GCCLibraries/crtend/Release/crtend.bc] Error 1
make[2]: *** [crtend/.makeinstall] Error 2
make[1]: *** [GCCLibraries/.makeinstall] Error 2
make: *** [install] Error 1



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list