Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319049 - sys-libs/glibc-2.11.1 fails to build -- undefined reference to `ps_pdread' when LDFLAGS=-Wl,--no-undefined
Summary: sys-libs/glibc-2.11.1 fails to build -- undefined reference to `ps_pdread' wh...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 11:23 UTC by Justin Lecher (RETIRED)
Modified: 2010-05-11 17:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-05-09 11:23:22 UTC
x86_64-pc-linux-gnu-gcc -Wl,-O1,--hash-style=gnu,--sort-common,--as-needed,--no-undefined  -shared -static-libgcc -Wl,-O1   -Wl,-dynamic-linker=/lib32/ld-linux.so.2  -B/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/  -Wl,--version-script=/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/libthread_db.map -Wl,-soname=libthread_db.so.1 -Wl,-z,relro -Wl,--hash-style=both  -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/math -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nss -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nis -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/rt -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt -L/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -o /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db.so -T /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/shlib.lds /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/abi-note.o -Wl,--whole-archive /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a -Wl,--no-whole-archive /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/interp.os /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so /var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a 
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_ta_new.os): In function `td_ta_new':
td_ta_new.c:(.text+0x84): undefined reference to `ps_pdread'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_ta_map_lwp2thr.os): In function `__td_ta_lookup_th_unique':
td_ta_map_lwp2thr.c:(.text+0x91): undefined reference to `ps_pdread'
td_ta_map_lwp2thr.c:(.text+0xe7): undefined reference to `ps_lgetregs'
td_ta_map_lwp2thr.c:(.text+0x129): undefined reference to `ps_lgetregs'
td_ta_map_lwp2thr.c:(.text+0x261): undefined reference to `ps_pdread'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_ta_map_lwp2thr.os): In function `td_ta_map_lwp2thr':
td_ta_map_lwp2thr.c:(.text+0x3f2): undefined reference to `ps_getpid'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_ta_thr_iter.os): In function `iterate_thread_list':
td_ta_thr_iter.c:(.text+0x15b): undefined reference to `ps_pdread'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_ta_thr_iter.os): In function `td_ta_thr_iter':
td_ta_thr_iter.c:(.text+0x38d): undefined reference to `ps_getpid'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_ta_tsd_iter.os): In function `td_ta_tsd_iter':
td_ta_tsd_iter.c:(.text+0xdc): undefined reference to `ps_pdread'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_thr_get_info.os): In function `td_thr_get_info':
td_thr_get_info.c:(.text+0x6b): undefined reference to `ps_pdread'
td_thr_get_info.c:(.text+0x463): undefined reference to `ps_getpid'
/var/tmp/portage/sys-libs/glibc-2.11.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/libthread_db_pic.a(td_thr_getfpregs.os): In function `td_thr_getfpregs':
td_thr_getfpregs.c:(.text+0xbe): undefined reference to `ps_getpid'
td_thr_getfpregs.c:(.text+0x117): undefined reference to `ps_lgetfpregs'
Comment 1 SpanKY gentoo-dev 2010-05-10 02:04:29 UTC
you know you cant just post a snippet.  post all the standard info/full logs.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-05-10 06:02:04 UTC
(In reply to comment #1)
> you know you cant just post a snippet.  post all the standard info/full logs.
> 

I was sure I added the build.log. But as I forgot to remove --no-undefined from LDFLAGS, I blame that one first. So in case of a psotiv test w/o I will reopen the bug.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-05-11 07:56:44 UTC
reopn to close correctly
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-05-11 07:56:58 UTC
no-undefiened sucks