public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/27366] New: 0.183: test suite is failing on linking dwfl-proc-attach
@ 2021-02-07 22:02 kloczko.tomasz at gmail dot com
  2021-02-07 22:03 ` [Bug general/27366] " kloczko.tomasz at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kloczko.tomasz at gmail dot com @ 2021-02-07 22:02 UTC (permalink / raw)
  To: elfutils-devel

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-11 15:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 22:02 [Bug general/27366] New: 0.183: test suite is failing on linking dwfl-proc-attach kloczko.tomasz at gmail dot com
2021-02-07 22:03 ` [Bug general/27366] " kloczko.tomasz at gmail dot com
2021-02-07 22:26 ` mark at klomp dot org
2021-02-07 22:33 ` mark at klomp dot org
2021-02-07 22:33 ` [Bug general/27366] 0.183: test suite is failing on linking dwfl-proc-attach (with lto) mark at klomp dot org
2021-11-11 15:05 ` mark at klomp dot org
2021-11-11 15:22 ` kloczko.tomasz at gmail dot com
2021-11-11 15:28 ` kloczko.tomasz at gmail dot com

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).