Can someone remind me why we keep /usr/lib/libc.a around?
I was rebuilding grep-3.4 with pcre and it was segfaulting. Upon
investigation I find I had:
[ /build/grep/grep-3.4 ]$ ldd src/grep
linux-vdso.so.1 (0x00007ffded180000)
libpcre.so.1 => /lib/libpcre.so.1 (0x00007f38dd95e000)
libsigsegv.so.2 => /usr/lib/libsigsegv.so.2 (0x00007f38dd958000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f38dd93e000)
libc.so.6 => /lib/libc.so.6 (0x00007f38dd77b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f38dd9d4000)
I wondered why the heck libgcc_s.so.1 was there so I found that the
build was linking in /usr/lib/libc.a. Removing that fixed things up.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page