[Bug regression/33637] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"

haubi at gentoo dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 10 20:40:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list