public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* shared library creation using -Bsymbolic
@ 2003-09-12 22:45 Umut Aymakoglu
  2003-09-13  1:39 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Umut Aymakoglu @ 2003-09-12 22:45 UTC (permalink / raw)
  To: linux-ia64





Hi -
   I have gcc3(3.0.4) installed on my machine with the ld(2.11.90.0.8). The
following compile fails. Has anybody seen a similar thing?

thanks,
Umut

a.c:

a()
{
call_func();
}

void call_func()
{
b();
}

%gcc3 -fPIC -c a.c
%gcc3 -shared -o a.sl a.o   ---> works
%gcc3 -Wl,-Bsymbolic -shared -o a.sl a.o   ----> fails
a.o: In function 'call_func':
a.c:8 undefined reference to 'b'
collect2: ld returned 1 exit status


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

* Re: shared library creation using -Bsymbolic
  2003-09-12 22:45 shared library creation using -Bsymbolic Umut Aymakoglu
@ 2003-09-13  1:39 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2003-09-13  1:39 UTC (permalink / raw)
  To: linux-ia64

On Fri, 2003-09-12 at 15:45, Umut Aymakoglu wrote:
>    I have gcc3(3.0.4) installed on my machine with the ld(2.11.90.0.8). The
> following compile fails. Has anybody seen a similar thing?

This works with binutils-2.14, but fails with binutils-2.13.  I see the
same behaviour with both IA-32 and IPF.  So this is apparently a known
bug that has already been fixed.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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

end of thread, other threads:[~2003-09-13  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12 22:45 shared library creation using -Bsymbolic Umut Aymakoglu
2003-09-13  1:39 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox