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

Bug 360025

Summary: cross-i686-pc-linux-gnu/glibc-2.13-r2 build fails on amd64
Product: Gentoo Linux Reporter: Michal Petrucha <michal.petrucha>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of emerge --info =cross-i686-pc-linux-gnu/glibc-2.13-r2
config.log of the failed configure run
full build log

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.