https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pydevd-2.7.0 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 750120 [details] build.log build log and emerge --info
Possible context of error(s): attach.cpp:(.text+0x1054): undefined reference to `dlopen' attach.cpp:(.text+0x1237): undefined reference to `dlopen' attach.cpp:(.text+0x6c8): undefined reference to `dlsym' attach.cpp:(.text+0xa9): undefined reference to `dlsym' attach.cpp:(.text+0xfd5): undefined reference to `dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x1062): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x1080): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x10a1): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x10cd): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x10f3): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x6f9): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x717): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x735): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0xfe7): undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000000010a0 collect2: error: ld returned 1 exit status
Created attachment 750144 [details, diff] Position `-ldl` at the end of arguments Does this work?
(In reply to Tee KOBAYASHI from comment #3) > Created attachment 750144 [details, diff] [details, diff] > Position `-ldl` at the end of arguments > > Does this work? Yes, it fixed the problem for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c190bbffd67450140a310a1cc1b1c438aac4fbf commit 1c190bbffd67450140a310a1cc1b1c438aac4fbf Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-10 18:04:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-10 18:05:10 +0000 dev-python/pydevd: shift -ldl again Closes: https://bugs.gentoo.org/822861 See: f0747e05cbde06b1a2b1c0448a4897723b61dd6b Signed-off-by: Sam James <sam@gentoo.org> dev-python/pydevd/pydevd-2.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)