This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Compiling ld.so depends on distros?
- From: Florian Weimer <fweimer at redhat dot com>
- To: Jason Yang <jasonyangshadow at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 20 Jan 2020 08:49:46 +0100
- Subject: Re: Compiling ld.so depends on distros?
- References: <c92c93eb-f810-4a28-41c6-1872bf655e55@gmail.com>
* Jason Yang:
> I patched ld.so myself, and compiled entire glibc against specific
> distros(ubuntu 18.04 with glibc 2.27). Then what if I use all compiled
> libraries on another distros with the same glibc version 2.27? Such as
> Arch Linux with glibc 2.27, can I directly use all compiled libraries?
> Or have I to recompile same glibc source code again?
Distributions sometimes rebuild glibc with backported patches that
change the internal ABI between libc.so and libdl.so. In these cases,
both parts of glibc need to come from the same distribution.
Thanks,
Florian