Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406217 - cross-i686-pc-linux-gnu/gcc-4.5.3-r2 configure: error: cannot compute suffix of object files: cannot compile
Summary: cross-i686-pc-linux-gnu/gcc-4.5.3-r2 configure: error: cannot compute suffix ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 20:59 UTC by David Flogeras
Modified: 2012-03-01 21:37 UTC (History)
0 users

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


Attachments
config.log with error (config.log.xz,3.73 KB, application/x-xz)
2012-02-28 21:01 UTC, David Flogeras
Details
emerge --info (emerge.info.xz,2.30 KB, application/x-xz)
2012-02-28 21:01 UTC, David Flogeras
Details
build.log.xz (build.log.xz,28.97 KB, application/x-xz)
2012-02-29 04:26 UTC, David Flogeras
Details
Requested logfile (cross-i686-pc-linux-gnu-info.log.xz,4.36 KB, application/octet-stream)
2012-02-29 18:35 UTC, David Flogeras
Details
requested config.log tarball (logs.tar.xz,37.18 KB, application/octet-stream)
2012-02-29 18:35 UTC, David Flogeras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2012-02-28 20:59:15 UTC
Since the jump from -r1 to -r2 on Feb 25, I cannot update my cross compilers.

It fails with:

checking for suffix of object files... configure: error: in `/var/tmp/portage/cross-i686-pc-linux-gnu/gcc-4.5.3-r2/work/build/i686-pc-linux-gnu/64/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

I'll attach the build.log in question.  may be related to #394345

Reproducible: Always
Comment 1 David Flogeras 2012-02-28 21:01:05 UTC
Created attachment 303637 [details]
config.log with error
Comment 2 David Flogeras 2012-02-28 21:01:18 UTC
Created attachment 303639 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-29 01:16:38 UTC
Comment on attachment 303637 [details]
config.log with error

That's the wrong config.log. Please attach the entire build log to this bug report.
Comment 4 David Flogeras 2012-02-29 04:26:28 UTC
Created attachment 303671 [details]
build.log.xz
Comment 5 David Flogeras 2012-02-29 04:27:36 UTC
I apologize, I mis-classified this as text/plain, and cannot seem to change it.
Comment 6 SpanKY gentoo-dev 2012-02-29 17:18:55 UTC
please post the cross-i686-pc-linux-gnu-info.log from your logdir, and post *all* the config.log files from gcc.  we need those to find out what failed.

you can make a tarball like:
cd /var/tmp/portage/cross-i686-pc-linux-gnu/gcc-4.5.3-r2/work
find -name config.log | tar cf - --files-from=- | xz > logs.tar.xz
Comment 7 David Flogeras 2012-02-29 18:35:08 UTC
Created attachment 303759 [details]
Requested logfile
Comment 8 David Flogeras 2012-02-29 18:35:41 UTC
Created attachment 303763 [details]
requested config.log tarball
Comment 9 SpanKY gentoo-dev 2012-02-29 20:30:10 UTC
should be fixed by using a newer version of crossdev.  your build allowed gcc to be built with USE=multilib and that failed since you don't have a 64bit glibc.

can probably also fix by doing:
sed -i '/gcc/s:$: -multilib:' /etc/portage/package.use/cross-i686-pc-linux-gnu
Comment 10 David Flogeras 2012-02-29 21:12:16 UTC
The sed trick does not work for me here, and if I do

emerge -pv cross-i686-pc-linux-gnu/gcc

I get:

[ebuild     U  ] cross-i686-pc-linux-gnu/gcc-4.5.3-r2 [4.5.3-r1] USE="cxx fortran (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk -hardened -libffi -libssp -lto -mudflap -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla"

So does that mean it already knows that it cannot use multilib for that ebuild?


Do I need to rebuild the whole toolchain with the more recent crossdev?  I have crossdev-20111221 (current stable) installed, but I probably used an older version to generate the original cross-i686-pc-linux-gnu/ family ebuilds.

Is there a procedure to get crossdev to "freshen" the ebuilds without going through the whole process of removing and reinstalling the whole toolchain?
Comment 11 SpanKY gentoo-dev 2012-03-01 04:31:39 UTC
probably need to remove it from portage.use.mask too which crossdev would handle for you

you don't need to re-install the toolchain.  running `crossdev` on an installed target should be safe.
Comment 12 David Flogeras 2012-03-01 17:43:15 UTC
Good to know for next time (I just brute force clean/installed my crossdev toolchains last nite, those machines are fast enough it doesn't matter)

In any case, problem solved, and I'll know next time what to try first before filing a bug.  I really appreciate the help/patience :)
Comment 13 SpanKY gentoo-dev 2012-03-01 18:45:29 UTC
actually, i don't even know why you're on 20110310.  latest stable is 20111221.
Comment 14 David Flogeras 2012-03-01 21:37:35 UTC
No no, I do have 20111221 installed currently, but when I first installed my cross-toolchains (and thus created the /etc/portage entries) it was about a year ago, so I was then running the 20110310 version...