[Bug debuginfod/29714] New: debuginfod rely on gcc being configured with --enable-linker-build-i

mliska at suse dot cz sourceware-bugzilla@sourceware.org
Fri Oct 21 15:16:15 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29714

            Bug ID: 29714
           Summary: debuginfod rely on gcc being configured with
                    --enable-linker-build-i
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

FAIL: run-debuginfod-federation-sqlite.sh
...
++ ... /home/marxin/Programming/elfutils/tests/../src/readelf -a L/foo
++ grep 'Build ID'
++ cut -d ' ' -f 7
+ BUILDID=

where L/foo is symlink to

+ ln -s /home/marxin/Programming/elfutils/tests/dwfllines L/foo

and this file is not explicitly linked with -Wl,--build-id:

rm dwfllines ; make V=1 dwfllines
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra
-Wstack-usage=262144   -D_FORTIFY_SOURCE=3 -g -O2
-Wl,-rpath-link,../libasm:../libdw:../libelf   -o dwfllines dwfllines.o
../lib/libeu.a ../libdw/libdw.so ../libelf/libelf.so

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list