This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] top-level for libvtv: use normal (not raw_cxx) target exports
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Michael Haubenwallner <michael dot haubenwallner at ssi-schaefer dot com>
- Cc: Jeff Law <law at redhat dot com>, Paolo Bonzini <bonzini at gnu dot org>, DJ Delorie <dj at redhat dot com>, Nathanael Nerode <neroden at gcc dot gnu dot org>, Alexandre Oliva <aoliva at redhat dot com>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Caroline Tice <cmtice at google dot com>
- Date: Tue, 30 Jun 2015 13:54:46 +0100
- Subject: Re: [PATCH] top-level for libvtv: use normal (not raw_cxx) target exports
- Authentication-results: sourceware.org; auth=none
- References: <5576F69F dot 3090205 at ssi-schaefer dot com> <558C5338 dot 9040906 at redhat dot com> <559178F0 dot 4070407 at ssi-schaefer dot com>
On 29/06/15 18:57 +0200, Michael Haubenwallner wrote:
Actually, an unexpected libstdc++-v3/configure change is introduced by some
inconsistency in https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=223196
where acinclude.m4 contains different code than the recreated configure:
acinclude.m4-3973: case "${target_os}" in
acinclude.m4#3974: gnu* | linux* | solaris*)
acinclude.m4-3975: GCC_TRY_COMPILE_OR_LINK(
configure-79218: case "${target_os}" in
configure#79219: gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | solaris*)
configure-79220: if test x$gcc_no_link = xyes; then
Not sure how to handle such kind of inconsistencies though...
That's just a bug, there should be no inconsistency.
Now fixed by this patch.
commit bba7f350afcdf6bda0fa88bd421c46e1943db16f
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jun 30 13:52:50 2015 +0100
* configure: Regenerate.
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 3654b68..1b99c06 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -79216,7 +79216,7 @@ $as_echo_n "checking for sendfile that can copy files... " >&6; }
$as_echo_n "(cached) " >&6
else
case "${target_os}" in
- gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | solaris*)
+ gnu* | linux* | solaris*)
if test x$gcc_no_link = xyes; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */