]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Fix tst-origin make rules
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 18 Mar 2025 19:10:05 +0000 (16:10 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 18 Mar 2025 19:10:05 +0000 (16:10 -0300)
commit5291d9f1e274dd869bc0b3d044fd4cbae486893d
treed29bb83438e1984c7a84222b8a7a71903bfe11e3
parentcf56eb28fa277d9dbb301654682ca89f71c30a48
elf: Fix tst-origin make rules

The tst-origin build can fail with:

  /usr/bin/ld: [...]libc.so: undefined reference to `__tunable_is_initialized@GLIBC_PRIVATE'

Since the custom link invocation links against system glibc instead
of the built one.

The only requirement is to avoid liborigin.so linked with a full path,
which is the default for --enable-hardcoded-path-in-tests.  There
is no need to use a custom rule.

Checked on x86_64-linux-gnu.
elf/Makefile