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

Bug 433698

Summary: =sys-libs/glibc-2.15-r2 fails to configure on s390x
Product: Gentoo Linux Reporter: Raúl Porcel (RETIRED) <armin76>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: s390
Priority: Normal    
Version: unspecified   
Hardware: s390   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
config.log

Description Raúl Porcel (RETIRED) gentoo-dev 2012-09-02 18:16:14 UTC
Created attachment 322762 [details]
build.log

The relevant part:

checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... no
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for __builtin_expect... no
configure: error: support for __builtin_expect needed
 * ERROR: sys-libs/glibc-2.15-r2 failed (compile phase):
 *   failed to configure glibc
 * 

I'm attaching both the build.log and config.log(why does it use -m31?)
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2012-09-02 18:16:30 UTC
Created attachment 322764 [details]
config.log
Comment 2 SpanKY gentoo-dev 2012-09-04 20:16:30 UTC
/usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/../../../../s390x-ibm-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/libgcc.a when searching for -lgcc

hmm, have you gone through the lib->lib64 transition yet ?
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2012-09-09 15:57:54 UTC
(In reply to comment #2)
> /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/../../../../s390x-ibm-linux-gnu/bin/
> ld: skipping incompatible /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/libgcc.a
> when searching for -lgcc
> 
> hmm, have you gone through the lib->lib64 transition yet ?

Nope i did not :)

With the new profile it works