produces broken binary: Inconsistency detected by ld.so [regression gcc-7 7.3.0-15ubuntu2 => 7.3.0-16ubuntu2]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-7 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
The adequate test suite fails because one of the test binaries built cannot be read by ld.so:
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
Test case is to go into tests/testpkg, run
$PWD/debian/rules clean build
which runs:
cc -shared -Wl,--soname=
ln -sf libadequate-
cc undef.c -Ldebian/tmp -o debian/
cc -shared -Wl,--soname=
and then
LD_LIBRARY_
fails with the error. Using gcc-7 7.3.0-15ubuntu2 works, but -16ubuntu2 fails. It's only the library that fails (adequate-test-msvi from 16u2 works fine with LD_LIBRARY_PATH set to 15u2 build, fails with 16u2 LD_LIBRARY_PATH).
Running diffoscope on the libraries (https:/
Changed in gcc-7 (Ubuntu): | |
importance: | Undecided → High |
summary: |
- Regression gcc-7 7.3.0-15ubuntu2 => 7.3.0-16ubuntu2 + produces broken binary: Inconsistency detected by ld.so [regression + gcc-7 7.3.0-15ubuntu2 => 7.3.0-16ubuntu2] |
Note that Debian's 7.3.0-16 works fine too.