On 4/18/21 8:02 AM, L A Walsh wrote:
Just to be sure I wasn't misremembering, I installed glibc to a non-global location, and set my LD_LIBRARY_PATH to the new location. In the lib-root, I found: etc/ lib64/ sbin/ usr/ var/ under lib64, I find (among others): ├── lib64 │ ├── ld-2.33.so │ ├── ld-linux-x86-64.so.2 -> ld-2.33.so │ ├── ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2 │ ├── libc-2.33.so │ ├── libc.so.6 -> libc-2.33.so --- I'm glad I installed this under a non-root location, since it shows the same error as before -- all programs except statically linked ones disabled:
ls ls: relocation error: /tmp/glibc/root/glibc-2.33/lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
I'm not sure what you are trying to prove here. You are partially overwriting the shared library search path on your system causing it to use a mishmash of two different glibc versions which were also probably built with different options and local patches, and then you're complaining that this hack causes problems. How is that surprising? And what does that prove? And why do you complain that a rolling release distribution such as Tumbleweed is receiving large updates regularly? The whole point of Tumbleweed is to provide a testbed for the people who develop the whole distribution and naturally, this includes full archive rebuilds when a new version of the toolchain or GLIBC are uploaded. Both Debian and Fedora also have mass rebuilds in their unstable and rawhide distributions, although Debian does not rebuild the whole archive when switching to a new version GCC. We just perform a mass rebuild in AWS on arm64, x86_64 and ppc64el to see that there are no new build regressions with the new GCC version. The mass rebuilds allow the use of new optimizations and they help finding toolchain bugs and regressions when updating the toolchain and related components. That's why these are performed. If you don't want to experience such mass rebuilds, simply use a stable distribution such as openSUSE Leap or Debian stable. Adrian