Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The use of dwz breaks abi-dumper processing #35

Open
GvMariani opened this issue Feb 17, 2022 · 0 comments
Open

The use of dwz breaks abi-dumper processing #35

GvMariani opened this issue Feb 17, 2022 · 0 comments

Comments

@GvMariani
Copy link

Found while working on a package update for jack sound server on Rosa Fresh 2021.1 (x86_64).
In this distribution release, the build process make use of dwz to reduce the debugging info size; eg, for jack package, the build log contains the following line:
/usr/bin/find-debuginfo -j12 -m -i --build-id-seed 1.9.16-2 --unique-debug-suffix -1.9.16-2.x86_64 --unique-debug-src-base jack-1.9.16-2.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /tmp/abf/rpmbuild/BUILD/jack2-1.9.16

But this causes abi-build to fail:

$ abi-dumper libjack.so -o ABI-0.dump -lver 1.9.16
Found link to libjack.so.0.1.0-1.9.16-2.x86_64.debug (gnu_debuglink)
Reading debug-info file libjack.so.0.1.0-1.9.16-2.x86_64.debug linked from gnu_debuglink
WARNING: can't access '../../.dwz/jack-1.9.16-2.x86_64'
ERROR: can't read gnu_debugaltlink

There is a workaround, though, according to the Fedora docs (https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md): adding "%undefine _find_debuginfo_dwz_opts" to the spec file for the interested package, so disabling the use of dwz... but it would be better teach abi-dumper to deal with the presence of this program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant