[Bug bootstrap/56750] New: static -lstdc++ logic bleeds into all subdirs
vapier at gentoo dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 27 05:33:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56750
Bug #: 56750
Summary: static -lstdc++ logic bleeds into all subdirs
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vapier@gentoo.org
CC: ebotcazou@gcc.gnu.org
the recent PR54820 change that adds -static-libstdc++ -static-libgcc to the
bootstrap flags ends up putting the LDFLAGS into all subdirs even unrelated to
the stage1 bootstrapping
for example, if you get the latest sourceware.org tree and try to build gdb,
you'll find those flags now showing up in LDFLAGS
$ make all-gdb
...
gcc -g -O2 -static-libstdc++ \
-o gdb gdb.o ...
More information about the Gcc-bugs
mailing list