Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297344 - cross-compiling <=sys-libs/glibc-2.9_p20081201-r2 fails glibc-headers when host binutils are >=2.20
Summary: cross-compiling <=sys-libs/glibc-2.9_p20081201-r2 fails glibc-headers when ho...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 21:49 UTC by Jouni Rinne
Modified: 2010-01-08 10:20 UTC (History)
1 user (show)

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


Attachments
cross-i486-pc-linux-gnu-info.log (cross-i486-pc-linux-gnu-info.log,13.32 KB, text/plain)
2009-12-17 21:50 UTC, Jouni Rinne
Details
cross-i486-pc-linux-gnu-glibc-headers.log (cross-i486-pc-linux-gnu-glibc-headers.log,10.42 KB, text/plain)
2009-12-17 21:51 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2009-12-17 21:49:30 UTC
Due to some strange errors with distcc I decided to remove & re-install my cross-compiling toolchains. i686-pc-linux-gnu (for laptop) compiled fine, and the distcc errors went away, but re-install of i486-pc-linux-gnu toolchain (for fileserver) failed on glibc-headers.
Error logs are attached.
Comment 1 Jouni Rinne 2009-12-17 21:50:32 UTC
Created attachment 213343 [details]
cross-i486-pc-linux-gnu-info.log
Comment 2 Jouni Rinne 2009-12-17 21:51:09 UTC
Created attachment 213345 [details]
cross-i486-pc-linux-gnu-glibc-headers.log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-18 13:57:44 UTC
Does it work with binutils-2.18-r3? You can set the versions of the relevant packages to use through *VER environment variables[1] as well as through the options to crossdev. Right now it appears to pick up the latest ~arch versions instead.

[1] Which you can also set up in /etc/portage/crossdev/<tuple>/[BGKL]VER for convenience.
Comment 4 Jouni Rinne 2009-12-18 16:19:05 UTC
No. it fails with exactly the same error, even if I explicitly specify all the versions instead of using crossdev --stable
Comment 5 Jouni Rinne 2009-12-19 17:29:11 UTC
Well, this is strange... I tried to downgrade crossdev, but it fails in the same way with all crossdev versions currently in portage
Comment 6 Jouni Rinne 2009-12-19 18:15:54 UTC
Ok, now I finally figured out what you asked originally, sorry for being so slow :) : yes, temporarily downgrading the *system* binutils to 2.18-r3 allows i468-pc-linux-gnu toolchain to compile. Crossdev really seems to pick up wrong version of binutils
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-29 13:55:52 UTC
Downgrading crossdev won't help if it launches the emerge runs correctly.

What's more, the problem has nothing to do with crossdev - it's the emerge that fails. So the real nature of this bug report is more along the lines of "i486-pc-linux-gnu-glibc-headers fails with sys-devel/binutils". Which version of binutils did it try? And did you switch to the *VER environment variables solution I suggested?
Comment 8 SpanKY gentoo-dev 2010-01-08 10:20:53 UTC
use glibc-2.9_p20081201-r3+