Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360025 - cross-i686-pc-linux-gnu/glibc-2.13-r2 build fails on amd64
Summary: cross-i686-pc-linux-gnu/glibc-2.13-r2 build fails on amd64
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2011-03-22 23:15 UTC by Michal Petrucha
Modified: 2011-03-23 17:22 UTC (History)
0 users

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

output of emerge --info =cross-i686-pc-linux-gnu/glibc-2.13-r2 (emerge-info.log,5.67 KB, text/plain)
2011-03-22 23:16 UTC, Michal Petrucha
config.log of the failed configure run (config.log,11.52 KB, text/plain)
2011-03-22 23:17 UTC, Michal Petrucha
full build log (build.log.xz,142.45 KB, application/octet-stream)
2011-03-22 23:18 UTC, Michal Petrucha

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Petrucha 2011-03-22 23:15:29 UTC
When trying to build the multilib i686 glibc on amd64, the second phase (when building the amd64 ABI) fails due to incorrect CFLAGS.

According to the attached logs, namely lines 14412-14420 of build.log, the i686-pc-linux-gnu-gcc compiler is passed -march=x86_64 which is obvious nonsense. The failure manifests when the configure script tries to invoke CC for the first time passing this parameter.

Reproducible: Always

Steps to Reproduce:
1. crossdev -t i686
Comment 1 Michal Petrucha 2011-03-22 23:16:32 UTC
Created attachment 266937 [details]
output of emerge --info =cross-i686-pc-linux-gnu/glibc-2.13-r2
Comment 2 Michal Petrucha 2011-03-22 23:17:13 UTC
Created attachment 266939 [details]
config.log of the failed configure run
Comment 3 Michal Petrucha 2011-03-22 23:18:55 UTC
Created attachment 266941 [details]
full build log
Comment 4 SpanKY gentoo-dev 2011-03-23 04:27:20 UTC
already fixed by doing fresh cross-compiler install with crossdev-20110310
Comment 5 Michal Petrucha 2011-03-23 17:22:04 UTC
Sorry about the noise, it does work with the new version indeed.