[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#43438: marked as done (libieee.a and libm.so shared problem.)



Your message dated Sun, 29 Aug 1999 07:57:03 -0700
with message-id <v0420552ab3eef9f42088@[206.163.71.146]>
and subject line Bug#43438: libieee.a and libm.so shared problem.
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 24 Aug 1999 17:37:43 +0000
Received: (qmail 25687 invoked from network); 24 Aug 1999 17:37:42 -0000
Received: from adsl-216-103-8-60.dsl.sndg02.pacbell.net (HELO opus.davidb.org) (root@216.103.8.60)
  by master.debian.org with SMTP; 24 Aug 1999 17:37:42 -0000
Received: (from davidb@localhost)
	by opus.davidb.org (8.9.3/8.9.3/Debian/GNU) id KAA32596;
	Tue, 24 Aug 1999 10:37:41 -0700
Date: Tue, 24 Aug 1999 10:37:41 -0700
Message-Id: <[🔎] 199908241737.KAA32596@opus.davidb.org>
To: submit@bugs.debian.org
Subject: libieee.a and libm.so shared problem.
From: David Brown <ug-debianbug@davidb.org>

Package: libc6
Version: 2.1.2-0pre10

I discovered this while trying to build the TK library for Erlang.

If when making a shared library, -lm is referenced before -lieee, a
strange error occurs.

--t1.c----------------------------------------------------------------------
/* A very small shared library. */

nothing ()
{
}
--build------------------------------------------------------------
gcc -c -o t1.o t1.c -fPIC
gcc -shared -o mylib.so t1.o -lm -lieee
----------------------------------------------------------------------

Running build on the given file produces the following error:
----------------------------------------------------------------------
+ gcc -c -o t1.o t1.c -fPIC
+ gcc -shared -o mylib.so t1.o -lm -lieee
/usr/bin/ld: mylib.so: undefined versioned symbol name _LIB_VERSION@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
----------------------------------------------------------------------

If I swap -lieee and -lm, then it builds fine.

David Brown
ug-debianbug@davidb.org


Reply to: