Subject: strange ld behavior (bad argv passing?) while building Mozilla 1.0-RC
To: None <>
From: =?iso-8859-2?Q?Micha=B3?= Pasternak <>
List: current-users
Date: 04/20/2002 10:51:32
mozilla 1.0-RC seems to patch with patches from 0.9.9 pkgsrc.

======= making ./
/usr/bin/ld -shared -Wl,-soname, -Wl,-R/usr/X11R6/lib/mozilla
-o ./abandon.o ./add.o ./bind.o ./cache.o ./charray.o
[bunch of .o files]
/usr/bin/ld: unrecognized option '-shared'

doc@pr93 {90} ::> ld --help|grep shared
  -shared, -Bshareable        Create a shared library
doc@pr93 {91} ::> ld --version
GNU ld 2.11.2

And, when I tried to run ld without that -shared option:

pr93# /usr/bin/ld -Wl,-soname, -Wl,-R/usr/X11R6/lib/mozilla -o libld
/usr/bin/ld: unrecognized option '/usr/bin/ld'
/usr/bin/ld: use the --help option for usage information

It seems like a bug in ld to me. I'll cvsup to the today's -current now, but
please, have a look at it.
/* Micha³ Pasternak,, +48606570000 */