I am trying to build cross compilers on an IA-64 machine for sparc, sparc64, x86_64 and i686. No matter which architecture is selected crossdev fails at the cross-glibc-headers stage with the same error: checking for -z nodelete option... yes checking for -z nodlopen option... yes checking for -z initfirst option... yes checking for -z relro option... no configure: error: linker with -z relro support required Logs are atttached Reproducible: Always Steps to Reproduce:
Created attachment 202037 [details] info.log
Created attachment 202039 [details] i686 build log
Created attachment 202041 [details] x86_64 build log
Created attachment 202043 [details] sparc build log
Created attachment 202045 [details] sparc64 build log
the build logs are useless here. you need to post the config.logs too.
Created attachment 202347 [details] i686 config.log
Created attachment 202350 [details] x86_64 config.log
Created attachment 202352 [details] sparc config.log
Created attachment 202353 [details] sparc64 config.log
and i'm guessing that the command in question actually works when you run it manually ? gcc -v --help 2>&1 | grep 'z relro'
(In reply to comment #11) > and i'm guessing that the command in question actually works when you run it > manually ? > > gcc -v --help 2>&1 | grep 'z relro' > That command gives no output.
your host toolchain is screwed up then. post the output of `gcc -v --help`. relro support has been in the linker for a long time now.
Created attachment 202367 [details] gcc -v --help
oh right, your *build system* is an ia64 and that doesnt support relro if you export libc_cv_z_relro=yes, that should get you rolling
hopefully it should be fixed now http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.7&r2=1.8
(In reply to comment #16) > hopefully it should be fixed now > > http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.7&r2=1.8 > I still get the same error.
works fine for me on ia64
I don't know what changed in the last few days but it is working now. Thank you for looking into it.