[LLVMdev] configure testing for linker flags using llvm-gcc
Török Edwin
edwintorok at gmail.com
Sun Mar 9 10:11:31 PDT 2008
Hi,
I tried to build glibc-2.7 with llvm-gcc4.2.
First problem I hit is that glibc tests for -z relro linker flag support
using this command:
${CC-cc} -v --help 2>&1|grep "z relro"
This test fails for llvm-gcc since it doesn't output linker's --help.
I bypassed this check temporarely by editing configure, but my question
is where does this bug belong to?
Is it an llvm-gcc bug, or is it glibc's configure bug?
FWIW I tried icc, and it doesn't output "z relro" either when passed "-v
--help".
Best regards,
--Edwin
More information about the llvm-dev
mailing list