Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391453 - cross-i686-pc-linux-gnu/gcc-4.5.3-r1 failed (compile phase): * USE='cxx nocxx' and USE='-cxx -nocxx' make no sense
Summary: cross-i686-pc-linux-gnu/gcc-4.5.3-r1 failed (compile phase): * USE='cxx no...
Status: RESOLVED DUPLICATE of bug 390637
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: 2011-11-22 23:40 UTC by Juanlu Pérez
Modified: 2011-11-23 18:26 UTC (History)
0 users

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


Attachments
cross-i686-pc-linux-gnu-gcc-stage1.log (cross-i686-pc-linux-gnu-gcc-stage1.log,7.07 KB, text/plain)
2011-11-22 23:41 UTC, Juanlu Pérez
Details
cross-i686-pc-linux-gnu-info.log (cross-i686-pc-linux-gnu-info.log,15.62 KB, text/plain)
2011-11-22 23:41 UTC, Juanlu Pérez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juanlu Pérez 2011-11-22 23:40:38 UTC
Reproducible: Always

Steps to Reproduce:
1. crossdev -t i686-pc-linux-gnu --b 2.21.1-r1 --g 4.5.3-r1 --k 2.6.39 --l 2.12.2
2.
3.
Actual Results:  

 * Messages for package cross-i686-pc-linux-gnu/gcc-4.5.3-r1:
 * 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-i686-pc-linux-gnu/gcc-4.5.3-r1 failed (compile phase):
 *   USE='cxx nocxx' and USE='-cxx -nocxx' make no sense
Comment 1 Juanlu Pérez 2011-11-22 23:41:02 UTC
Created attachment 293453 [details]
cross-i686-pc-linux-gnu-gcc-stage1.log
Comment 2 Juanlu Pérez 2011-11-22 23:41:21 UTC
Created attachment 293455 [details]
cross-i686-pc-linux-gnu-info.log
Comment 3 Juanlu Pérez 2011-11-23 10:18:45 UTC
I modified line 454 in /usr/bin/crossdev from:

GUSE_DISABLE_STAGE_1="${GUSE_DISABLE} -fortran nocxx -openmp"

to:

GUSE_DISABLE_STAGE_1="${GUSE_DISABLE} -fortran -cxx nocxx -openmp"

And now it is working.

Also, I saw that in line 179 USE="nocxx" is in use for cross cygwin, it should be checked too:

*-cygwin)
      GUSE_DISABLE_STAGE_1=${GUSE_DISABLE_STAGE_1/nocxx};;
Comment 4 SpanKY gentoo-dev 2011-11-23 18:26:48 UTC

*** This bug has been marked as a duplicate of bug 390637 ***