[Bug general/27366] New: 0.183: test suite is failing on linking dwfl-proc-attach

kloczko.tomasz at gmail dot com sourceware-bugzilla@sourceware.org
Sun Feb 7 22:02:03 GMT 2021


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

            Bug ID: 27366
           Summary: 0.183: test suite is failing on linking
                    dwfl-proc-attach
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: kloczko.tomasz at gmail dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

[tkloczko@barrel tests]$ make dwfl-proc-attach
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   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Wformat
-Wno-error=stack-usage= -pthread -Wl,-rpath-link,../libasm:../libdw:../libelf 
-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none
-fuse-linker-plugin -Wl,--gc-sections -o dwfl-proc-attach dwfl-proc-attach.o
../libdw/libdw.so
/usr/bin/ld: dwfl-proc-attach.o (symbol from plugin): undefined reference to
symbol 'dlopen@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib64/libdl.so.2: error adding symbols: DSO missing from
command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:1940: dwfl-proc-attach] Error 1

On first look it looks like missing -ldl on linking.

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


More information about the Elfutils-devel mailing list