public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* FAIL: bootstrap with --static on sparc-linux : multiple definition of `strrchr' ??
@ 2005-05-05  9:11 Christian Joensson
  2005-05-05 16:02 ` H. J. Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Joensson @ 2005-05-05  9:11 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FAIL: bootstrap with --static on sparc-linux : multiple definition of `strrchr' ??
  2005-05-05  9:11 FAIL: bootstrap with --static on sparc-linux : multiple definition of `strrchr' ?? Christian Joensson
@ 2005-05-05 16:02 ` H. J. Lu
  2005-05-05 17:49   ` Christian Joensson
  0 siblings, 1 reply; 3+ messages in thread
From: H. J. Lu @ 2005-05-05 16:02 UTC (permalink / raw)
  To: Christian Joensson; +Cc: binutils

On Thu, May 05, 2005 at 09:47:37AM +0200, Christian Joensson wrote:
> Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u:
> 
> /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
> 

My systems, ia32, ia64 and x86_64, don't have strrchr.o in ibiberty.a.


H.J.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FAIL: bootstrap with --static on sparc-linux : multiple definition of `strrchr' ??
  2005-05-05 16:02 ` H. J. Lu
@ 2005-05-05 17:49   ` Christian Joensson
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Joensson @ 2005-05-05 17:49 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils

On 5/5/05, H. J. Lu <hjl@lucon.org> wrote:
> On Thu, May 05, 2005 at 09:47:37AM +0200, Christian Joensson wrote:

> > FAIL: bootstrap with --static

false alarm.. doesn't show up now...

-- 
Cheers,

/ChJ

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-05 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-05  9:11 FAIL: bootstrap with --static on sparc-linux : multiple definition of `strrchr' ?? Christian Joensson
2005-05-05 16:02 ` H. J. Lu
2005-05-05 17:49   ` Christian Joensson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).