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

Re: Dynamic linker support for FPC.



On Sun, May 28, 2023 at 08:27:16PM +0200, Ansgar wrote:
> I think this entry from the changelog is meant:
> 
> +---
> | 2020-02-15  Florian Weimer  <fweimer@redhat.com>
> |
> |         COMMIT: 3a0ecccb599a6b1ad4b149dc569c0080e92d057b
> |         ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486]
> +---
> 
> Which is an incompatible ABI change.

ld.so is not a library.  For various reasons it technically is a shared
object and also can export symbols (which is used to share stuff between
glibc and it's interpreter).  But it is not a library and you need
to properly link with libc.so for any implementation stuff.

ld.so contains it's own minimal malloc and friends implementation, which
is now incompatible with the one in libc.so itself.  In the end this a
bug in FPC, which tries to link to ld.so, which is broken.  See
https://sourceware.org/bugzilla/show_bug.cgi?id=25486 for the glory
details.

And also there is no way to do a transition for it without moving every
binary built on Debian on a private ABI.

Bastian

-- 
Killing is stupid; useless!
		-- McCoy, "A Private Little War", stardate 4211.8


Reply to: