Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366933 - cross-armv5tel-softfloat-linux-gnueabi/glibc-2.13-r2 fails to configure
Summary: cross-armv5tel-softfloat-linux-gnueabi/glibc-2.13-r2 fails to configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 367247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-11 22:51 UTC by Sven E.
Modified: 2011-06-07 03:36 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,4.08 KB, text/plain)
2011-05-13 15:50 UTC, Sven E.
Details
build log (build.log,10.76 KB, text/plain)
2011-05-13 15:58 UTC, Sven E.
Details
conflog (config.log,12.03 KB, text/plain)
2011-05-13 16:00 UTC, Sven E.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2011-05-11 22:51:28 UTC
When trying to configure glibc to build it for cross compilation, configure drops out with:
checking for suffix of object files... configure: error: in `/var/tmp/portage/cross-armv5tel-softfloat-linux-gnueabi/glibc-2.13-r2/work/build-x86-armv5tel-softfloat-linux-gnueabi-nptl':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

A look at config.log shows:
configure:2760: checking for suffix of object files
configure:2782: armv5tel-softfloat-linux-gnueabi-gcc -m32 -c  -O2 -fno-strict-aliasing -U_FORTIFY_SOURCE -DPIC -U_FORTIFY_SOURCE -DPIC -U_FORTIFY_SOURCE -DPIC conftest.c >&5
cc1: error: unrecognized command line option "-m32"
configure:2786: $? = 1


Reproducible: Always

Steps to Reproduce:
1. Just try emerging it

Actual Results:  
Fails to configure

Expected Results:  
Clean configure run
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-13 00:24:23 UTC
1) Please attach the entire build log.
2) Please post your `(cross-)emerge --info' output.
2) Please attach the relevant config.log.
Comment 2 Sven E. 2011-05-13 15:50:56 UTC
Created attachment 273087 [details]
emerge --info
Comment 3 Sven E. 2011-05-13 15:58:36 UTC
Created attachment 273089 [details]
build log
Comment 4 Sven E. 2011-05-13 16:00:02 UTC
Created attachment 273091 [details]
conflog
Comment 5 Sven E. 2011-05-13 16:01:08 UTC
Is there a tool to get those files into bugzilla from a headless machine easily?

Bugzilla seems to work pretty sh*tty with links
Comment 6 Mike Gilbert gentoo-dev 2011-05-15 04:45:25 UTC
(In reply to comment #5)
> Is there a tool to get those files into bugzilla from a headless machine
> easily?
> 
> Bugzilla seems to work pretty sh*tty with links

Try www-client/pybugz.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-17 10:20:49 UTC
*** Bug 367247 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2011-05-28 18:44:03 UTC
do `crossdev -C armv5tel-softfloat-linux-gnueabi` followed by `crossdev armv5tel-softfloat-linux-gnueabi` and see if it works
Comment 9 Sven E. 2011-05-29 21:28:19 UTC
A complete Toolchain rebuild as advised works.

But it's certainly not a real fix. A complete toolchain rebuild for upgrades in parts of the cross-toolchain should not be standard procedure.
Comment 10 SpanKY gentoo-dev 2011-06-07 03:36:24 UTC
you're probably interpreting things incorrectly.  crossdev has seen fixes that does not propagate to installed toolchains.