* [Bug debuginfod/29714] New: debuginfod rely on gcc being configured with --enable-linker-build-i @ 2022-10-21 15:16 mliska at suse dot cz 2022-10-21 15:45 ` [Bug debuginfod/29714] " mark at klomp dot org 2022-10-21 17:18 ` mliska at suse dot cz 0 siblings, 2 replies; 3+ messages in thread From: mliska at suse dot cz @ 2022-10-21 15:16 UTC (permalink / raw) To: elfutils-devel 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debuginfod/29714] debuginfod rely on gcc being configured with --enable-linker-build-i 2022-10-21 15:16 [Bug debuginfod/29714] New: debuginfod rely on gcc being configured with --enable-linker-build-i mliska at suse dot cz @ 2022-10-21 15:45 ` mark at klomp dot org 2022-10-21 17:18 ` mliska at suse dot cz 1 sibling, 0 replies; 3+ messages in thread From: mark at klomp dot org @ 2022-10-21 15:45 UTC (permalink / raw) To: elfutils-devel https://sourceware.org/bugzilla/show_bug.cgi?id=29714 Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #1 from Mark Wielaard <mark at klomp dot org> --- That is odd, this configure.ac snippet should for build-ids on: # We really want build-ids. Warn and force generating them if gcc was # configure without --enable-linker-build-id AC_CACHE_CHECK([whether the compiler generates build-ids], ac_cv_buildid, [dnl AC_LINK_IFELSE([AC_LANG_PROGRAM()],[ac_cv_buildid=yes; $READELF -n conftest$EXEEXT | grep -q NT_GNU_BUILD_ID || ac_cv_buildid=no],AC_MSG_FAILURE([unexpected compile failure]))]) if test "$ac_cv_buildid" = "no"; then AC_MSG_WARN([compiler doesn't generate build-id by default]) LDFLAGS="$LDFLAGS -Wl,--build-id" fi -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debuginfod/29714] debuginfod rely on gcc being configured with --enable-linker-build-i 2022-10-21 15:16 [Bug debuginfod/29714] New: debuginfod rely on gcc being configured with --enable-linker-build-i mliska at suse dot cz 2022-10-21 15:45 ` [Bug debuginfod/29714] " mark at klomp dot org @ 2022-10-21 17:18 ` mliska at suse dot cz 1 sibling, 0 replies; 3+ messages in thread From: mliska at suse dot cz @ 2022-10-21 17:18 UTC (permalink / raw) To: elfutils-devel https://sourceware.org/bugzilla/show_bug.cgi?id=29714 Martin Liska <mliska at suse dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Martin Liska <mliska at suse dot cz> --- You are correct, fixed after running ./configure with the changed PATH where I have the latest GCC compiler. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-21 17:18 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-10-21 15:16 [Bug debuginfod/29714] New: debuginfod rely on gcc being configured with --enable-linker-build-i mliska at suse dot cz 2022-10-21 15:45 ` [Bug debuginfod/29714] " mark at klomp dot org 2022-10-21 17:18 ` mliska at suse dot cz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).