public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/12189] New: abi_check fails to build
@ 2003-09-06  5:06 drow at gcc dot gnu dot org
  2003-09-06 16:56 ` [Bug libstdc++/12189] " aj at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: drow at gcc dot gnu dot org @ 2003-09-06  5:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189

           Summary: abi_check fails to build
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: aj at gcc dot gnu dot org
        ReportedBy: drow at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-linux-gnu
  GCC host triplet: mipsel-unknown-linux-gnu
GCC target triplet: mipsel-unknown-linux-gnu

Abi_check used to be disabled when build != host or with-cross-host.  It was
re-enabled, but it doesn't seem to work for --with-cross-host; at that point
CXX has to be a _C_ compiler, and nothing links in libstdc++.  If CXX is a C++
compiler it will try to link to the system libstdc++ instead of the just-built
one, anyway.

How is this supposed to work?

Regression from 3.3 to 3.3.1.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
@ 2003-09-06 16:56 ` aj at gcc dot gnu dot org
  2003-09-06 16:56 ` aj at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-06 16:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-06 16:56 -------
Created an attachment (id=4710)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4710&action=view)
Proposed patch for 3.3

Here's a untested patch for 3.3.  Can you test this one for me and tell whether

it works?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
  2003-09-06 16:56 ` [Bug libstdc++/12189] " aj at gcc dot gnu dot org
@ 2003-09-06 16:56 ` aj at gcc dot gnu dot org
  2003-09-06 16:57 ` aj at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-06 16:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-06 16:56 -------
Does this work with 3.4 mainline?  I merely backported the patch from mainline
for this and like to know whether it's a generic bug or a bug in the backport.

I'm looking further into this now.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
  2003-09-06 16:56 ` [Bug libstdc++/12189] " aj at gcc dot gnu dot org
  2003-09-06 16:56 ` aj at gcc dot gnu dot org
@ 2003-09-06 16:57 ` aj at gcc dot gnu dot org
  2003-09-06 16:58 ` aj at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-06 16:57 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-06 16:57 -------
Created an attachment (id=4711)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4711&action=view)
Proposed patch for 3.4

And here's the same patch for 3.4.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-09-06 16:57 ` aj at gcc dot gnu dot org
@ 2003-09-06 16:58 ` aj at gcc dot gnu dot org
  2003-09-06 17:47 ` aj at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-06 16:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189


aj at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-06 16:58:54
               date|                            |


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-09-06 16:58 ` aj at gcc dot gnu dot org
@ 2003-09-06 17:47 ` aj at gcc dot gnu dot org
  2003-09-06 18:34 ` drow at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-06 17:47 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-06 17:47 -------
Please remember to run aclocal/automake after applying the patch.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2003-09-06 17:47 ` aj at gcc dot gnu dot org
@ 2003-09-06 18:34 ` drow at gcc dot gnu dot org
  2003-09-07  6:26 ` aj at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: drow at gcc dot gnu dot org @ 2003-09-06 18:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From drow at gcc dot gnu dot org  2003-09-06 18:34 -------
I haven't tested the patch yet, but it looks backwards to me?  You added
&& conditions to the test which disables abi_check.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2003-09-06 18:34 ` drow at gcc dot gnu dot org
@ 2003-09-07  6:26 ` aj at gcc dot gnu dot org
  2003-09-08 19:11 ` aj at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-07  6:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-07 06:26 -------
You're right, they're both backward :-(

The 3.3 one should be:
============================================================
Index: libstdc++-v3/acinclude.m4
--- libstdc++-v3/acinclude.m4	1 Jul 2003 21:14:44 -0000	1.223.2.9
+++ libstdc++-v3/acinclude.m4	6 Sep 2003 16:55:22 -0000
@@ -2132,7 +2132,7 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [
   AC_SUBST(baseline_dir)
 
   # Determine if checking the ABI is desirable.
-  if test x$enable_symvers = xno; then
+  if test  x"$GLIBCPP_IS_CROSS_COMPILING" = xtrue && test x$enable_symvers =
xno; then
     enable_abi_check=no
   else
     case "$host" in

For 3.4 the line should be:
  if test $GLIBCXX_IS_NATIVE = false && (test $enable_symvers = no || test
$is_hosted = no); then

I'll test more on monday.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2003-09-07  6:26 ` aj at gcc dot gnu dot org
@ 2003-09-08 19:11 ` aj at gcc dot gnu dot org
  2003-09-08 20:00 ` drow at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-09-08 19:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-08 19:11 -------
Ok, the test works on a native bootstrap with x86_64 (3.4 version).  Does
it work for you also?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2003-09-08 19:11 ` aj at gcc dot gnu dot org
@ 2003-09-08 20:00 ` drow at gcc dot gnu dot org
  2003-09-11  3:09 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: drow at gcc dot gnu dot org @ 2003-09-08 20:00 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From drow at gcc dot gnu dot org  2003-09-08 20:00 -------
Er, they're still backwards.  Should be an ||.  If we are cross-compiling,
or symvers is disabled.

Submitted patch to gcc-patches


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2003-09-08 20:00 ` drow at gcc dot gnu dot org
@ 2003-09-11  3:09 ` cvs-commit at gcc dot gnu dot org
  2003-09-11  3:11 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-11  3:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-11 03:09 -------
Subject: Bug 12189

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	drow@gcc.gnu.org	2003-09-11 03:09:03

Modified files:
	libstdc++-v3   : ChangeLog acinclude.m4 aclocal.m4 configure 

Log message:
	PR libstdc++/12189
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Don't build
	abi_check if cross compiling.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1464.2.145&r2=1.1464.2.146
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/acinclude.m4.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.223.2.9&r2=1.223.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/aclocal.m4.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.235.2.10&r2=1.235.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/configure.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.286.2.16&r2=1.286.2.17


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2003-09-11  3:09 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-11  3:11 ` cvs-commit at gcc dot gnu dot org
  2003-09-11 15:26 ` drow at gcc dot gnu dot org
  2003-12-09 18:22 ` dhazeghi at yahoo dot com
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-11  3:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-11 03:11 -------
Subject: Bug 12189

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	drow@gcc.gnu.org	2003-09-11 03:11:40

Modified files:
	libstdc++-v3   : ChangeLog acinclude.m4 aclocal.m4 configure 

Log message:
	PR libstdc++/12189
	* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
	abi_check if cross compiling.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1957&r2=1.1958
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/acinclude.m4.diff?cvsroot=gcc&r1=1.269&r2=1.270
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/aclocal.m4.diff?cvsroot=gcc&r1=1.282&r2=1.283
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/configure.diff?cvsroot=gcc&r1=1.353&r2=1.354


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2003-09-11  3:11 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-11 15:26 ` drow at gcc dot gnu dot org
  2003-12-09 18:22 ` dhazeghi at yahoo dot com
  12 siblings, 0 replies; 14+ messages in thread
From: drow at gcc dot gnu dot org @ 2003-09-11 15:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189


drow at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From drow at gcc dot gnu dot org  2003-09-11 03:14 -------
Patch checked in.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libstdc++/12189] abi_check fails to build
  2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2003-09-11 15:26 ` drow at gcc dot gnu dot org
@ 2003-12-09 18:22 ` dhazeghi at yahoo dot com
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 18:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.3.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-12-09 18:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-06  5:06 [Bug libstdc++/12189] New: abi_check fails to build drow at gcc dot gnu dot org
2003-09-06 16:56 ` [Bug libstdc++/12189] " aj at gcc dot gnu dot org
2003-09-06 16:56 ` aj at gcc dot gnu dot org
2003-09-06 16:57 ` aj at gcc dot gnu dot org
2003-09-06 16:58 ` aj at gcc dot gnu dot org
2003-09-06 17:47 ` aj at gcc dot gnu dot org
2003-09-06 18:34 ` drow at gcc dot gnu dot org
2003-09-07  6:26 ` aj at gcc dot gnu dot org
2003-09-08 19:11 ` aj at gcc dot gnu dot org
2003-09-08 20:00 ` drow at gcc dot gnu dot org
2003-09-11  3:09 ` cvs-commit at gcc dot gnu dot org
2003-09-11  3:11 ` cvs-commit at gcc dot gnu dot org
2003-09-11 15:26 ` drow at gcc dot gnu dot org
2003-12-09 18:22 ` dhazeghi at yahoo dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).