[LLVMbugs] Compile error on 64-bit x86 Solaris
sabre at nondot.org
Thu Oct 25 12:18:35 PDT 2007
On Thu, 25 Oct 2007, Zeljko Vrba wrote:
> The following in Makefile.rules seems to work on x86 Solaris 10:
> CPP.BaseFlags += -D_XPG6 -D_STDC_C99 -U__EXTENSIONS__ -D__STDC_LIMIT_MACROS
> However, the final link fails.
Ok, when you get the link to succeed, please prepare a patch for
makefile.rules that handles this.
> Additional fixes: the ARM target needs to #include <strings.h> in
> order to be able to use strncasecmp function.
Dale, can you please change the ARM target to not use strncasecmp? It is
a non-standard function that hurts portability.
> BTW, another problem: make fails when running bison with:
> /home/zvrba/llvm-2.1/lib/AsmParser/llvmAsmParser.y: conflicts: 4 shift/reduce
> make: *** [/home/zvrba/llvm-2.1/lib/AsmParser/llvmAsmParser.h] Broken Pipe
> I have handled the problem by deleting .y files and taking .cpp.cvs files.
> Manually running bison _works_, so something else is going on.
No idea :)
More information about the llvm-bugs