* [Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
@ 2007-10-03 15:38 ` pinskia at gcc dot gnu dot org
2007-10-08 14:17 ` haubi at gentoo dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-03 15:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-03 15:38 -------
One should note the gnu binutils does not support the newer features in aix so
it is really not supported with gcc on aix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
2007-10-03 15:38 ` [Bug regression/33637] " pinskia at gcc dot gnu dot org
@ 2007-10-08 14:17 ` haubi at gentoo dot org
2007-10-10 20:40 ` haubi at gentoo dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: haubi at gentoo dot org @ 2007-10-08 14:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from haubi at gentoo dot org 2007-10-08 14:17 -------
No - I do not use GNU binutils on aix, but symlinks and wrappers to native
binutils, much like:
powerpc-ibm-aix5.3.0.0-nm -> /usr/ccs/bin/nm
or
$ cat powerpc-ibm-aix5.3.0.0
#! /bin/sh
exec /usr/ccs/bin/ld "$@"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
2007-10-03 15:38 ` [Bug regression/33637] " pinskia at gcc dot gnu dot org
2007-10-08 14:17 ` haubi at gentoo dot org
@ 2007-10-10 20:40 ` haubi at gentoo dot org
2007-10-31 18:21 ` dje at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: haubi at gentoo dot org @ 2007-10-10 20:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from haubi at gentoo dot org 2007-10-10 20:40 -------
Have restarted with gcc-4.2.1 now.
There is a second location where arguments to nm causes build error, after
gcc-4.2.1/gcc/configure being hacked to "test -x" only the first word of
$NM_FOR_TARGET.
In gcc-4.2.1/gcc/Makefile, there is a definition
ORIGINAL_NM_FOR_TARGET = /path/to/nm -B -X32_64
This breaks
stamp-nm: $(ORIGINAL_NM_FOR_TARGET)
because gmake doesn't know how to build `-B' now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (2 preceding siblings ...)
2007-10-10 20:40 ` haubi at gentoo dot org
@ 2007-10-31 18:21 ` dje at gcc dot gnu dot org
2007-11-01 20:19 ` haubi at gentoo dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dje at gcc dot gnu dot org @ 2007-10-31 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dje at gcc dot gnu dot org 2007-10-31 18:20 -------
If the "nm found only is a wrapper passing through the arguments, the -B
-X32_64, should not cause an error.
--
dje at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (3 preceding siblings ...)
2007-10-31 18:21 ` dje at gcc dot gnu dot org
@ 2007-11-01 20:19 ` haubi at gentoo dot org
2008-07-04 23:51 ` [Bug target/33637] [4.2/4.3/4.4 Regression] " jsm28 at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: haubi at gentoo dot org @ 2007-11-01 20:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from haubi at gentoo dot org 2007-11-01 20:19 -------
Created an attachment (id=14458)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14458&action=view)
A workaround (probably not the right fix) for this problem
Using this patch I was able to build a working gcc-4.2.1 for aix having a
symlink "${prefix}/powerpc-ibm-aix5.3.0.0/bin/nm -> /usr/ccs/bin/nm"
Did not call autoconf - thus the patch modifies configure - so the part for
configure.ac is untested (just guessed the escapements), sorry.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.2/4.3/4.4 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (4 preceding siblings ...)
2007-11-01 20:19 ` haubi at gentoo dot org
@ 2008-07-04 23:51 ` jsm28 at gcc dot gnu dot org
2008-07-10 14:33 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 23:51 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|regression |target
Summary|"checking for nm: test: too |[4.2/4.3/4.4 Regression]
|many arguments" causes |"checking for nm: test: too
|"Undefined symbol: |many arguments" causes
|__gxx_personality_v0" |"Undefined symbol:
| |__gxx_personality_v0"
Target Milestone|--- |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.2/4.3/4.4 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (5 preceding siblings ...)
2008-07-04 23:51 ` [Bug target/33637] [4.2/4.3/4.4 Regression] " jsm28 at gcc dot gnu dot org
@ 2008-07-10 14:33 ` rguenth at gcc dot gnu dot org
2008-12-31 22:18 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-07-10 14:33 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.2/4.3/4.4 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (6 preceding siblings ...)
2008-07-10 14:33 ` rguenth at gcc dot gnu dot org
@ 2008-12-31 22:18 ` pinskia at gcc dot gnu dot org
2009-03-31 20:12 ` [Bug target/33637] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-31 22:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-31 22:17 -------
> stamp-nm: $(ORIGINAL_NM_FOR_TARGET)
This is no longer there.
And was removed via:
2007-04-12 Paolo Bonzini <bonzini@gnu.org>
Charles Wilson <libtool@cwilson.fastmail.fm>
* Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove.
(libgcc.mvars): Don't depend on them.
* configure.ac (as, collect-ld, nm): Create from exec-tool.in.
* exec-tool.in: New.
Though we have:
exec "$original" ${1+"$@"}
I don't know much about shell to say if this does the correct thing.
Can you try GCC 4.3.2 and see if that fails for you?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.3/4.4/4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (7 preceding siblings ...)
2008-12-31 22:18 ` pinskia at gcc dot gnu dot org
@ 2009-03-31 20:12 ` jsm28 at gcc dot gnu dot org
2009-08-04 12:37 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jsm28 at gcc dot gnu dot org 2009-03-31 20:12 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
|"checking for nm: test: too |"checking for nm: test: too
|many arguments" causes |many arguments" causes
|"Undefined symbol: |"Undefined symbol:
|__gxx_personality_v0" |__gxx_personality_v0"
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.3/4.4/4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (8 preceding siblings ...)
2009-03-31 20:12 ` [Bug target/33637] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:37 ` rguenth at gcc dot gnu dot org
2009-09-29 8:09 ` michael dot haubenwallner at salomon dot at
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-08-04 12:28 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.3/4.4/4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (9 preceding siblings ...)
2009-08-04 12:37 ` rguenth at gcc dot gnu dot org
@ 2009-09-29 8:09 ` michael dot haubenwallner at salomon dot at
2010-05-04 11:41 ` [Bug target/33637] [4.3/4.4/4.5/4.6 " dje at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: michael dot haubenwallner at salomon dot at @ 2009-09-29 8:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from michael dot haubenwallner at salomon dot at 2009-09-29 08:09 -------
(In reply to comment #6)
> Can you try GCC 4.3.2 and see if that fails for you?
Still failing with gcc-4.3.3 and gcc-4.4.1: The stage1 xgcc starts doing ICE
once its libgcc_s.a is built, because libgcc_s.a(shr.o) does not export any
symbols due to broken nm, and preinstalled libgmp.a and libmpfr.a find the
local libgcc_s.a when they were built with another gcc.
The configure{,.ac} part of the patch still applies unmodified.
> > stamp-nm: $(ORIGINAL_NM_FOR_TARGET)
>
> This is no longer there.
Yep, the Makefile now doesn't have this problem any more.
> Though we have:
> exec "$original" ${1+"$@"}
This is problematic, as $original is "/path/to/nm -B -X32_64".
It works when the quotes are dropped:
- exec "$original" ${1+"$@"}
+ exec $original ${1+"$@"}
Patch working for both 4.3.3 and 4.4.1 now is:
http://overlays.gentoo.org/proj/alt/export/51702/trunk/prefix-overlay/sys-devel/gcc/files/4.3.0/targettools-checks.patch
--
michael dot haubenwallner at salomon dot at changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (10 preceding siblings ...)
2009-09-29 8:09 ` michael dot haubenwallner at salomon dot at
@ 2010-05-04 11:41 ` dje at gcc dot gnu dot org
2010-07-22 9:42 ` rguenth at gcc dot gnu dot org
2010-07-22 9:42 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: dje at gcc dot gnu dot org @ 2010-05-04 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from dje at gcc dot gnu dot org 2010-05-04 11:41 -------
Binutils now fully supports AIX.
--
dje at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Priority|P4 |P1
Last reconfirmed|0000-00-00 00:00:00 |2010-05-04 11:41:11
date| |
Target Milestone|4.3.5 |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (11 preceding siblings ...)
2010-05-04 11:41 ` [Bug target/33637] [4.3/4.4/4.5/4.6 " dje at gcc dot gnu dot org
@ 2010-07-22 9:42 ` rguenth at gcc dot gnu dot org
2010-07-22 9:42 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-22 9:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rguenth at gcc dot gnu dot org 2010-07-22 09:41 -------
Can't be P1. We shipped it.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
2007-10-03 12:42 [Bug regression/33637] New: "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" haubi at gentoo dot org
` (12 preceding siblings ...)
2010-07-22 9:42 ` rguenth at gcc dot gnu dot org
@ 2010-07-22 9:42 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-22 9:42 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.1 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637
^ permalink raw reply [flat|nested] 15+ messages in thread