Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433698 - =sys-libs/glibc-2.15-r2 fails to configure on s390x
Summary: =sys-libs/glibc-2.15-r2 fails to configure on s390x
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: s390 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-02 18:16 UTC by Raúl Porcel (RETIRED)
Modified: 2012-09-09 15:57 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,19.01 KB, text/plain)
2012-09-02 18:16 UTC, Raúl Porcel (RETIRED)
Details
config.log (config.log,60.70 KB, text/plain)
2012-09-02 18:16 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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