Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84618 - cannot compile c++ programmes because of an error in libstdc++
Summary: cannot compile c++ programmes because of an error in libstdc++
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 04:48 UTC by Steffen Schwientek
Modified: 2005-03-09 08:10 UTC (History)
1 user (show)

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 Steffen Schwientek 2005-03-09 04:48:03 UTC
I can
Comment 1 Steffen Schwientek 2005-03-09 04:48:03 UTC
I can´t compile c++ programmes any more. There is an problem in the libstdc++ package and via-c3 processors.
I can of course compile the compilers (gcc and also libstdc++), but I cannot use them properly.

ncurses fails with the following:

make[1]: Entering directory `/mnt/hda9/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
cd ../obj_s;  i586-pc-linux-gnu-g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=c3 mcpu=c3 -O3 -pipe -fomit-frame-pointer -fPIC -fPIC -c ../c++/cursesf.cc
cd ../obj_s;  i586-pc-linux-gnu-g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=c3 mcpu=c3 -O3 -pipe -fomit-frame-pointer -fPIC -fPIC -c ../c++/cursesm.cc
i586-pc-linux-gnu-g++: mcpu=c3: Datei oder Verzeichnis nicht gefunden
i586-pc-linux-gnu-g++: mcpu=c3: Datei oder Verzeichnis nicht gefunden
make[1]: *** [../obj_s/cursesm.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...

and kde related programs, the configure-script tells the following
checking if Qt compiles without flags... no
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similiar to libstd++-dev.





Reproducible: Always
Steps to Reproduce:
Comment 2 Peter Jensen 2005-03-09 07:50:44 UTC
Looks like an invalid bug, since you appear to have a typo in your CFLAGS or CXXFLAGS.
Notice that it says mcpu=c3, and not -mcpu=c3 like it should.
Besides, it's redundant because -march implies -mcpu.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-09 08:10:11 UTC
yep, like ^^