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

Bug 464642

Summary: sys-libs/glibc-2.17: headers-only cross-compile fails for MIPS: could not determine floating point ABI
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: embedded, mips
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Bertrand Jacquin 2013-04-04 20:15:02 UTC
Trying to build a mips-softfloat-linux-gnu cross toolchain using crossdev failed at glibc-2.17 compilation with the given error :

configure: error: could not determine if compiler is using hard or soft floating point ABI

Full log attached

Reproducible: Always

Steps to Reproduce:
1. crossdev -t mips-softfloat-linux-gnu
Comment 1 Bertrand Jacquin 2013-04-04 20:15:48 UTC
Created attachment 344444 [details]
build.log
Comment 2 Bertrand Jacquin 2013-04-04 20:17:08 UTC
Also, it work like a charm with glibc-2.16.0
Comment 3 SpanKY gentoo-dev 2013-04-05 00:36:28 UTC
what version of gcc are you using ?

post as an attachment the output of:
  mips-softfloat-linux-gnu-gcc -E -dD </dev/null - -P
Comment 4 Bertrand Jacquin 2013-04-05 14:10:14 UTC
(In reply to comment #3)
> what version of gcc are you using ?

the HOST is using x86_64-pc-linux-gnu-4.6.3 (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.11, pie-0.5.2))

> post as an attachment the output of:
>   mips-softfloat-linux-gnu-gcc -E -dD </dev/null - -P

I have no mips-softfloat-linux-gnu-gcc yet as gcc-stage1 is building after glibc-headers. Yeah, the bug subject is wrong
Comment 5 SpanKY gentoo-dev 2013-04-05 16:21:35 UTC
(In reply to comment #4)

ok, that is a very different situation
Comment 6 SpanKY gentoo-dev 2013-04-05 18:25:29 UTC
should be all set now in the tree; thanks for the report!

Commit message: Force mips float/abi cached vars
http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.34&r2=1.35