Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282442 - cross-*/glibc-headers for any target on IA64 host fails at linker checking
Summary: cross-*/glibc-headers for any target on IA64 host fails at linker checking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: IA64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 14:55 UTC by Justus Ranvier
Modified: 2009-09-05 15:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info.log (cross-i686-pc-linux-gnu-info.log,10.04 KB, text/plain)
2009-08-23 14:55 UTC, Justus Ranvier
Details
i686 build log (cross-i686-pc-linux-gnu-glibc-headers.log,15.33 KB, text/plain)
2009-08-23 14:55 UTC, Justus Ranvier
Details
x86_64 build log (cross-x86_64-pc-linux-gnu-glibc-headers.log,15.50 KB, text/plain)
2009-08-23 14:56 UTC, Justus Ranvier
Details
sparc build log (cross-sparc-unknown-linux-gnu-glibc-headers.log,15.28 KB, text/plain)
2009-08-23 14:56 UTC, Justus Ranvier
Details
sparc64 build log (cross-sparc64-unknown-linux-gnu-glibc-headers.log,15.33 KB, text/plain)
2009-08-23 14:56 UTC, Justus Ranvier
Details
i686 config.log (i686-config.log,23.09 KB, text/plain)
2009-08-26 20:57 UTC, Justus Ranvier
Details
x86_64 config.log (x86_64-config.log,23.01 KB, text/plain)
2009-08-26 20:58 UTC, Justus Ranvier
Details
sparc config.log (sparc-config.log,23.59 KB, text/plain)
2009-08-26 20:58 UTC, Justus Ranvier
Details
sparc64 config.log (sparc64-config.log,23.59 KB, text/plain)
2009-08-26 20:58 UTC, Justus Ranvier
Details
gcc -v --help (gcc.help,93.38 KB, text/plain)
2009-08-27 02:17 UTC, Justus Ranvier
Details

Note You need to log in before you can comment on or make changes to this bug.
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.