[Bug bootstrap/48120] libpwl test must use g++
ro at CeBiTec dot Uni-Bielefeld.DE
gcc-bugzilla@gcc.gnu.org
Mon Mar 14 20:52:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48120
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-14 20:51:54 UTC ---
> --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-14 20:43:47 UTC ---
> I don't think this is a bug unless --with-host-libstdcxx= option is being
> ignored.
I've configured with
--with-ppl=/vol/gcc --with-cloog=/vol/gcc --enable-cloog-backend=ppl \
--with-host-libstdcxx='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm' \
--with-boot-ldflags=-L/vol/gcc-4.5/lib
Not exactly as in install.texi, but except for the -lpwl issue, it
worked fine.
Apart from this bug, I consider the need for such a
--with-host-libstdcxx an abomination: this should work out of the box,
since it is obvious that with ppl/cloog, libstdc++ is needed, and
preferably the static one to avoid runpath issues. An excellent example
of how to do this right is the Go case: --enable-languages=go
automatically links with the static libstdc++, no contortions required.
Rainer
More information about the Gcc-bugs
mailing list