This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

FAIL: bootstrap with --static on sparc-linux : multiple definition of `strrchr' ??


Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u:

binutils-2.16.90.0.2-1.sparc
bison-1.875c-2.sparc
dejagnu-1.4.4-2.noarch
expect-5.42.1-1.sparc
gcc-3.4.2-6.fc3.sparc
gcc4-4.0.0-0.8sparc.sparc
glibc-2.3.3-99.sparc64
glibc-2.3.3-99.sparcv9
glibc-devel-2.3.3-99.sparc
glibc-devel-2.3.3-99.sparc64
glibc-headers-2.3.3-99.sparc64
glibc-headers-2.3.3-99.sparc
glibc-kernheaders-2.6-20sparc.sparc
gmp-4.1.4-3sparc.sparc
gmp-4.1.4-3sparc.sparc64
gmp-devel-4.1.4-3sparc.sparc
gmp-devel-4.1.4-3sparc.sparc64
kernel-2.6.11-1.1166sp1.sparc64
package kernel-devel is not installed
package kernel-smp is not installed
libgcc-3.4.2-6.fc3.sparc
libgcc-3.4.2-6.fc3.sparc64
libstdc++-3.4.2-6.fc3.sparc64
libstdc++-3.4.2-6.fc3.sparc
libstdc++-devel-3.4.2-6.fc3.sparc64
libstdc++-devel-3.4.2-6.fc3.sparc
make-3.80-5.sparc
nptl-devel-2.3.3-99.sparcv9
tcl-8.4.7-2.sparc

LAST_UPDATED: Thu May  5 06:32:04 UTC 2005

Platform: sparc-unknown-linux-gnu
configure flags: sparc-linux --enable-__cxa_atexit --enable-shared
--enable-64-bit-bfd
Counting all warnings,
there are 31 warnings in stage0 of this bootstrap.

Number of warnings per file:
     10 /usr/local/src/trunk/src/binutils/bucomm.c
      8 libiberty/regex.c
      4 libiberty/pexecute.c
      4 libiberty/getpwd.c
      2 include/xregex2.h
      2 include/getopt.h
      1 /usr/local/src/trunk/src/ld/ldgram.y

Number of warning types:
     10 the use of \`???' is dangerous, better use \`???'
      6 signed and unsigned type in conditional expression
      6 function declaration isn't a prototype
      4 assignment discards qualifiers from pointer target type
      2 return discards qualifiers from pointer target type
      2 ISO C90 does not support \`???' or type qualifiers in
parameter array declarators
      1 \`???' defined but not used


Native configuration is sparc-unknown-linux-gnu


I get an ld test failure that I haven't seen before...


/usr/local/src/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o
tmpdir/ld-partial.o -r  ldgram.o ldlex.o lexsup.o ldlang.o mri.o
ldctor.o ldmain.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o
ldfile.o ldcref.o eelf32_sparc.o esparclinux.o eelf64_sparc.o esun4.o
/usr/local/src/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc  -o
tmpdir/ld1 -dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/../../../../lib/crt1.o
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/../../../../lib/crti.o
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/crtbegin.o --static
tmpdir/ld-partial.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a  
-L/usr/lib/gcc/sparc64-redhat-linux/4.0.0/../../../../lib
--start-group /usr/lib/gcc/sparc64-redhat-linux/4.0.0/libgcc.a
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/libgcc_eh.a -lc --end-group
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/crtend.o
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/../../../../lib/crtn.o
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/../../../../lib/libc.a(strchr.o):
In function `rindex':
: multiple definition of `strrchr'
../libiberty/libiberty.a(strrchr.o):/usr/local/src/trunk/src/libiberty/strrchr.c:20:
first defined here
lt-ld-new: Warning: size of symbol `strrchr' changed from 52 in
../libiberty/libiberty.a(strrchr.o) to 192 in
/usr/lib/gcc/sparc64-redhat-linux/4.0.0/../../../../lib/libc.a(strchr.o)
FAIL: bootstrap with --static

I don't get what's going on here... anyone else does here?

-- 
Cheers,

/ChJ


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