This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

NM and AR not being used?


I am trying to compile gcc 3.4.0 on mips-sgi-irix5.3, configuring it to
use GNU binutils 2.15, e.g.

env AR=/usr/local/mips-sgi-irix5.3/bin/AR
NM=/usr/local/mips-sgi-irix5.3/bin/nm
RANLIB=/usr/local/mips-sgi-irix5.3/bin/ranlib CONFIG_SHELL=/bin/ksh
/usr/people/schwarz/gcc-3.4.0/configure --prefix=/usr/local
--with-gnu-as --with-gnu-ld --with-as=/usr/local/mips-sgi-irix5.3/bin/as
--with-ld=/usr/local/mips-sgi-irix5.3/bin/ld
--enable-languages=c,c++,ada

then doing a gmake bootstrap.
Although I specified NM and AR I still get things like the following:

( ` if [ -f ./nm ] ; then echo ./nm ; elif [ -f
/usr/people/schwarz/gcc/gcc/../binutils/nm-new ] ; then echo
/usr/people/schwarz/gcc/gcc/../binutils/nm-new ; else if [
"mips-sgi-irix5.3" = "mips-sgi-irix5.3" ] ; then echo nm; else
t='s,y,y,'; echo nm | sed -e  ; fi; fi` -pg libgcc/./_muldi3.o | nawk
'NF == 3 && $2 !~ /^[UN]$/ { print "       .hidden", $3 }'; cat
libgcc//stacknote.s ) |  ./xgcc -B./ -B/usr/local/mips-sgi-irix5.3/bin/
-isystem /usr/local/mips-sgi-irix5.3/include -isystem
/usr/local/mips-sgi-irix5.3/sys-include
-L/usr/people/schwarz/gcc/gcc/../ld -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_
FLOAT_NOT_NEEDED   -r -nostdinc -nostdlib -o
libgcc/./_muldi3.oSlibgcc/./_muldi3.o -xassembler -
/usr/lib/nm: Error: no symbol table in libgcc/./_muldi3.o

or

...
    |  ./xgcc -B./ -B/usr/local/mips-sgi-irix5.3/bin/ -isystem
/usr/local/mips-sgi-irix5.3/include -isystem
/usr/local/mips-sgi-irix5.3/sys-include
-L/usr/people/schwarz/gcc/gcc/../ld -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/usr/people/schwarz/gcc-3.4.0/gcc
-I/usr/people/schwarz/gcc-3.4.0/gcc/.
-I/usr/people/schwarz/gcc-3.4.0/gcc/../include -I../intl  -E
-xassembler-with-cpp -; \} | nawk -f
/usr/people/schwarz/gcc-3.4.0/gcc/mkmap-flat.awk  > libgcc/./tmp-lib
gcc.map
/usr/lib/nm: Error: no symbol table in libgcc/./_muldi3.o
/usr/lib/nm: Error: no symbol table in libgcc/./_negdi2.o
/usr/lib/nm: Error: no symbol table in libgcc/./_lshrdi3.o
/usr/lib/nm: Error: no symbol table in libgcc/./_ashldi3.o
/usr/lib/nm: Error: no symbol table in libgcc/./_ashrdi3.o
...

or

` if [ -f /usr/people/schwarz/gcc/gcc/../binutils/ar ] ; then echo
/usr/people/schwarz/gcc/gcc/../binutils/ar ; else if [
"mips-sgi-irix5.3" = "mips-sgi-irix5.3" ] ; then echo ar; else
t='s,y,y,'; echo ar | sed -e  ; fi; fi`  rc ./libgcc.a 
libgcc/./_muldi3.oS libgcc/./_negdi2.oS libgcc/./_lshrdi3.oS
libgcc/./_ashldi3.oS libgcc/./_ashrdi3.oS libgcc/./_cmpdi2.oS
libgcc/./_ucmpdi2.oS libgcc/./_floatdidf.oS libgcc/./_floatdisf.oS
libgcc/./_fixunsdfsi.oS libgcc/./_fixunssfsi.oS libgcc/./_fixunsdfdi.oS
libgcc/./_fixdfdi.oS libgcc/./_fixunssfdi.oS libgcc/./_fixsfdi.oS
libgcc/./_fixxfdi.oS libgcc/./_fixunsxfdi.oS libgcc/./_floatdixf.oS
libgcc/./_fixunsxfsi.oS libgcc/./_fixtfdi.oS libgcc/./_fixunstfdi.oS
libgcc/./_floatditf.oS libgcc/./_clear_cache.oS libgcc/./_trampoline.oS
libgcc/./__main.oS libgcc/./_absvsi2.oS libgcc/./_absvdi2.oS
libgcc/./_addvsi3.oS libgcc/./_addvdi3.oS libgcc/./_subvsi3.oS
libgcc/./_subvdi3.oS libgcc/./_mulvsi3.oS libgcc/./_mulvdi3.oS
libgcc/./_negvsi2.oS libgcc/./_negvdi2.oS libgcc/./_ctors.oS
libgcc/./_ffssi2.oS libgcc/./_ffsdi2.oS libgcc/./_clz.oS
libgcc/./_clzsi2.oS libgcc/./_clzdi2.oS libgcc/./_ctzsi2.oS
libgcc/./_ctzdi2.oS libgcc/./_popcount_tab.oS libgcc/./_popcountsi2.oS
libgcc/./_popcountdi2.oS libgcc/./_paritysi2.oS libgcc/./_paritydi2.oS
libgcc/./_divdi3.oS libgcc/./_moddi3.oS libgcc/./_udivdi3.oS
libgcc/./_umoddi3.oS libgcc/./_udiv_w_sdiv.oS libgcc/./_udivmoddi4.oS
libgcc/./_pack_sf.oS libgcc/./_unpack_sf.oS libgcc/./_addsub_sf.oS
libgcc/./_mul_sf.oS libgcc/./_div_sf.oS libgcc/./_fpcmp_parts_sf.oS
libgcc/./_compare_sf.oS libgcc/./_eq_sf.oS libgcc/./_ne_sf.oS
libgcc/./_gt_sf.oS libgcc/./_ge_sf.oS libgcc/./_lt_sf.oS
libgcc/./_le_sf.oS libgcc/./_unord_sf.oS libgcc/./_si_to_sf.oS
libgcc/./_sf_to_si.oS libgcc/./_negate_sf.oS libgcc/./_make_sf.oS
libgcc/./_sf_to_df.oS libgcc/./_sf_to_tf.oS libgcc/./_thenan_sf.oS
libgcc/./_sf_to_usi.oS libgcc/./_usi_to_sf.oS libgcc/./_pack_df.oS
libgcc/./_unpack_df.oS libgcc/./_addsub_df.oS libgcc/./_mul_df.oS
libgcc/./_div_df.oS libgcc/./_fpcmp_parts_df.oS libgcc/./_compare_df.oS
libgcc/./_eq_df.oS libgcc/./_ne_df.oS libgcc/./_gt_df.oS
libgcc/./_ge_df.oS libgcc/./_lt_df.oS libgcc/./_le_df.oS
libgcc/./_unord_df.oS libgcc/./_si_to_df.oS libgcc/./_df
_to_si.oS libgcc/./_negate_df.oS libgcc/./_make_df.oS
libgcc/./_df_to_sf.oS libgcc/./_df_to_tf.oS libgcc/./_thenan_df.oS
libgcc/./_df_to_usi.oS libgcc/./_usi_to_df.oS libgcc/./_eprintf.oS
libgcc/./__gcc_bcmp.oS
/usr/lib/ar: Warning:couldn't find .mdebug section in ELF binary --
maybe bad object, NO archive symbol table will be created
/usr/lib/ar: Warning:couldn't find .mdebug section in ELF binary --
maybe bad object, NO archive symbol table will be created
/usr/lib/ar: Warning:couldn't find .mdebug section in ELF binary --
maybe bad object, NO archive symbol table will be created
/usr/lib/ar: Warning:couldn't find .mdebug section in ELF binary --
maybe bad object, NO archive symbol table will be created
...


are /usr/lib/nm and /usr/lib/ar called directly by cc, or is the gcc
build process ignoring the NM and AR settings here?
Things seem to compile fine nonetheless, BTW. Is this merely a cosmetic
issue? If so, it might be mentioned as a remark in the doumentation. 


-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]