-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Description
Hello,
This has been discovered in 2021 when running dwz, the debug info compressor, see: https://sourceware.org/bugzilla/show_bug.cgi?id=27588.
When attempting to process a NASM-produced ELF binary, dwz reports errors such as in the following case (ffmpeg makes use of nasm):
/tmp/guix-build-ffmpeg-8.0.drv-0/install/lib$ find -type f -executable -exec dwz {} +
dwz: ./libswresample.so.6.1.100: loclistptr attribute, yet no .debug_loc section
dwz: ./libswscale.so.9.1.100: loclistptr attribute, yet no .debug_loc section
dwz: ./libavutil.so.60.8.100: loclistptr attribute, yet no .debug_loc section
dwz: ./libavfilter.so.11.4.100: loclistptr attribute, yet no .debug_loc section
dwz: ./libavcodec.so.62.11.100: loclistptr attribute, yet no .debug_loc section
A development option was added which can be used as a workaround for now ("--devel-skip-producer=NASM"), but it'd be nicer if NASM could produce correct ELF files :-).
Metadata
Metadata
Assignees
Labels
No labels