Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394665 - stabilize =sys-devel/crossdev-20111118 to meet changed cxx/nocxx toolchain.eclass behavior
Summary: stabilize =sys-devel/crossdev-20111118 to meet changed cxx/nocxx toolchain.ec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2011-12-14 10:34 UTC by Andrey
Modified: 2011-12-21 22:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2011-12-14 10:34:29 UTC
Please, stabilize =sys-devel/crossdev-20111118 to allow building cross-toolchains.

Running =sys-devel/crossdev-20110819 like
USE="-* nptl" crossdev -v -t powerpc-unknown-linux-gnu
gives
USE='cxx nocxx' and USE='-cxx -nocxx' make no sense

Reproducible: Always

Steps to Reproduce:
USE="-* nptl" crossdev -v -t powerpc-unknown-linux-gnu
Actual Results:  
Compilation of cross-gcc fails with

 * We are migrating USE=nocxx to USE=cxx, but your USE settings do not make
 * sense.  Please make sure these two flags line up logically in your setup.
 * ERROR: cross-powerpc-unknown-linux-gnu/gcc-4.5.3-r1 failed (compile phase):
 *   USE='cxx nocxx' and USE='-cxx -nocxx' make no sense
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4298:  Called toolchain_src_compile
 *   environment, line 4992:  Called gcc_do_configure
 *   environment, line 2354:  Called die
 * The specific snippet of code:
 *               die "USE='cxx nocxx' and USE='-cxx -nocxx' make no sense";

Expected Results:  
Crossdev successfully builds toolchain.
Comment 1 Andrey 2011-12-14 10:43:58 UTC
Well, running `USE="-* cxx nptl" crossdev -v -t powerpc-unknown-linux-gnu` (with USE=cxx added) works with old crossdev too.

Then, crossdev should explicitly add USE=cxx while building stage4 toolchain.
Comment 2 Andrey 2011-12-16 14:41:51 UTC
(In reply to comment #1)
> Well, running `USE="-* cxx nptl" crossdev -v -t powerpc-unknown-linux-gnu`
> (with USE=cxx added) works with old crossdev too.
> 
> Then, crossdev should explicitly add USE=cxx while building stage4 toolchain.

More specifically, with old crossdev version:
1) crossdev -t powerpc-unknown-linux-gnu
2) die at gcc-stage2
3) USE="cxx" crossdev -t powerpc-unknown-linux-gnu
4) toolchain is ready
Comment 3 SpanKY gentoo-dev 2011-12-21 21:04:36 UTC
all marked stable now
Comment 4 Andrey 2011-12-21 22:03:03 UTC
(In reply to comment #3)
> all marked stable now
Thank you!