public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* libc divdi3 and libgcc
@ 2003-05-02 10:12 Alan Modra
  2003-05-02 14:39 ` H. J. Lu
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Modra @ 2003-05-02 10:12 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils

HJ,
  I think your 2003-04-27 change broke ld.

Configuring gcc with
/src/gcc-3.3/configure --prefix=/usr/local --build=i686-linux \
 --host=i686-linux --target=i686-linux --disable-nls --enable-shared \
 --enable-languages=c,c++

I see

stage1/xgcc -Bstage1/ -B/usr/local/i686-linux/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a  main.o libbackend.a   ../libiberty/libiberty.a
/lib/libc.so.6(*IND*+0x0): multiple definition of `__divdi3'
stage1/libgcc.a(_divdi3.oS)(.text+0x0):/src/gcc-3.3/gcc/libgcc2.c:737: first defined here

__divdi3 in libc is FUNC GLOBAL DEFAULT,
in _divdi3.oS it is FUNC GLOBAL HIDDEN

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

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

end of thread, other threads:[~2003-05-05  0:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-02 10:12 libc divdi3 and libgcc Alan Modra
2003-05-02 14:39 ` H. J. Lu
2003-05-02 15:44   ` H. J. Lu
2003-05-03  1:52     ` Alan Modra
2003-05-03  2:30       ` H. J. Lu
2003-05-03  7:06       ` H. J. Lu
2003-05-05  0:30         ` Alan Modra
2003-05-05  0:55           ` H. J. Lu
2003-05-03 16:54       ` H. J. Lu

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