Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391119 - USE="-cxx nocxx" emerge -1v sys-devel/gcc break system
Summary: USE="-cxx nocxx" emerge -1v sys-devel/gcc break system
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-20 14:08 UTC by Sergiy Borodych
Modified: 2013-04-08 12:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,154.20 KB, text/plain)
2011-11-20 14:09 UTC, Sergiy Borodych
Details
config.log (config.log,37.30 KB, text/plain)
2011-11-20 14:10 UTC, Sergiy Borodych
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiy Borodych 2011-11-20 14:08:38 UTC
I'm not sure where I can post it

After doing
USE="-cxx nocxx" emerge -1v gcc
I break my system
Now I cant re-emerge gcc with any flags :(
(Also a lot of programs do not work without libstdc++.so.6)

[ebuild   R    ] sys-devel/gcc-4.5.3-r1  USE="gtk mudflap (multilib) nls nocxx nptl openmp (-altivec) -bootstrap -build -cxx -doc (-fixed-point) -fortran -gcj -graphite (-hardened) (-libffi) -lto -multislot -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB


Reproducible: Didn't try

Steps to Reproduce:
1. USE="-cxx nocxx" emerge -1v sys-devel/gcc
2. emerge -1v sys-devel/gcc
Comment 1 Sergiy Borodych 2011-11-20 14:09:05 UTC
Created attachment 293211 [details]
build.log
Comment 2 Sergiy Borodych 2011-11-20 14:10:01 UTC
Created attachment 293213 [details]
config.log
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-11-20 15:06:01 UTC
Support requests belong to the forums, not bugzilla. Try
> PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/amd64/" emerge --oneshot --getbinpkgonly gcc
Comment 4 Sergiy Borodych 2011-11-20 21:34:08 UTC
Thanks, those pkg'es helped me
Comment 5 Roman Žilka 2013-04-08 12:26:37 UTC
Recently I actually set "-cxx" in make.conf, reasoning that I don't code in C++, so I don't need the flag. I've always had "-python -perl -ruby -..." too and all has been well. I let gcc re-merge with [-cxx]. Turned out to be a game over henceforth. Since every user of Gentoo needs the C++ compiler (while not necessarily a lot of other C++-related pkg-specific stuff), please consider making the cxx flag enforced for gcc for all profiles (or just removing it altogether, making g++ mandatory). So as to prevent unfortunate ends. I did have a backup, but else...