This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/48120] libpwl test must use g++
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Mar 2011 20:52:33 +0000
- Subject: [Bug bootstrap/48120] libpwl test must use g++
- Auto-submitted: auto-generated
- References: <bug-48120-4@http.gcc.gnu.org/bugzilla/>
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