This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
- From: "haubi at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2007 20:40:44 -0000
- Subject: [Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
- References: <bug-33637-9385@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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