Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282442

Summary: cross-*/glibc-headers for any target on IA64 host fails at linker checking
Product: Gentoo Linux Reporter: Justus Ranvier <gentoo>
Component: [OLD] UnspecifiedAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: IA64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info.log
i686 build log
x86_64 build log
sparc build log
sparc64 build log
i686 config.log
x86_64 config.log
sparc config.log
sparc64 config.log
gcc -v --help

Description Justus Ranvier 2009-08-23 14:55:01 UTC
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:
Comment 1 Justus Ranvier 2009-08-23 14:55:28 UTC
Created attachment 202037 [details]
info.log
Comment 2 Justus Ranvier 2009-08-23 14:55:50 UTC
Created attachment 202039 [details]
i686 build log
Comment 3 Justus Ranvier 2009-08-23 14:56:16 UTC
Created attachment 202041 [details]
x86_64 build log
Comment 4 Justus Ranvier 2009-08-23 14:56:32 UTC
Created attachment 202043 [details]
sparc build log
Comment 5 Justus Ranvier 2009-08-23 14:56:49 UTC
Created attachment 202045 [details]
sparc64 build log
Comment 6 SpanKY gentoo-dev 2009-08-26 20:31:28 UTC
the build logs are useless here.  you need to post the config.logs too.
Comment 7 Justus Ranvier 2009-08-26 20:57:36 UTC
Created attachment 202347 [details]
i686 config.log
Comment 8 Justus Ranvier 2009-08-26 20:58:07 UTC
Created attachment 202350 [details]
x86_64 config.log
Comment 9 Justus Ranvier 2009-08-26 20:58:23 UTC
Created attachment 202352 [details]
sparc config.log
Comment 10 Justus Ranvier 2009-08-26 20:58:46 UTC
Created attachment 202353 [details]
sparc64 config.log
Comment 11 SpanKY gentoo-dev 2009-08-26 22:50:24 UTC
and i'm guessing that the command in question actually works when you run it manually ?

gcc -v --help 2>&1 | grep 'z relro'
Comment 12 Justus Ranvier 2009-08-27 01:29:10 UTC
(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.
Comment 13 SpanKY gentoo-dev 2009-08-27 02:04:44 UTC
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.
Comment 14 Justus Ranvier 2009-08-27 02:17:19 UTC
Created attachment 202367 [details]
gcc -v --help
Comment 15 SpanKY gentoo-dev 2009-08-27 06:01:19 UTC
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
Comment 16 SpanKY gentoo-dev 2009-08-27 06:06:48 UTC
hopefully it should be fixed now

http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.7&r2=1.8
Comment 17 Justus Ranvier 2009-08-29 11:31:16 UTC
(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. 
Comment 18 SpanKY gentoo-dev 2009-09-04 07:17:30 UTC
works fine for me on ia64
Comment 19 Justus Ranvier 2009-09-05 15:27:30 UTC
I don't know what changed in the last few days but it is working now. Thank you for looking into it.