This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ check-abi not selfcontained


 On Mon, Jun 30, Phil Edwards wrote:

> On Sat, Jun 21, 2003 at 08:39:16PM +0200, Olaf Hering wrote:
> > Hi,
> > 
> > should this test define LD_LIBRARY_PATH? Or must I run make install
> > without DESTDIR before running make check?
> [...]
> > ./abi_check: /lib64/libgcc_s.so.1: version `GCC_3.3' not found (required by /var/lib/nobody/obj-gcc-head/powerpc64-suse-linux/libstdc++-v3/src/.libs/libstdc++.so.6)
> 
> Actually, we solve this by setting LD_RUN_PATH while abi_check is built.
> However, it isn't picking up enough directories.

This is what I would need with the current CVS:

olh@mandarine:~/obj-gcc> find -name abi_check
./powerpc64-unknown-linux-gnu/libstdc++-v3/testsuite/abi_check
olh@mandarine:~/obj-gcc> ldd `find -name abi_check`
./powerpc64-unknown-linux-gnu/libstdc++-v3/testsuite/abi_check: /lib64/libgcc_s.so.1: version `GCC_3.3' not found (required by /home/olh/obj-gcc/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6)
        libstdc++.so.6 => /home/olh/obj-gcc/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6 (0x0000007fe0031000)
        libm.so.6 => /lib64/libm.so.6 (0x0000007fe0167000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000007fe01f0000)
        libc.so.6 => /lib64/libc.so.6 (0x0000007fe0211000)
        /lib64/ld64.so.1 => /lib64/ld64.so.1 (0x0000007fe0000000)
olh@mandarine:~/obj-gcc> find -name libgcc_s.so.1
./gcc/32/libgcc_s.so.1
./gcc/libgcc_s.so.1
olh@mandarine:~/obj-gcc> LD_LIBRARY_PATH=`pwd`/gcc ldd `find -name abi_check`
        libstdc++.so.6 => /home/olh/obj-gcc/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6 (0x0000007fe0031000)
        libm.so.6 => /lib64/libm.so.6 (0x0000007fe0167000)
        libgcc_s.so.1 => /home/olh/obj-gcc/gcc/libgcc_s.so.1 (0x0000007fe01f0000)
        libc.so.6 => /lib64/libc.so.6 (0x0000007fe0210000)
        /lib64/ld64.so.1 => /lib64/ld64.so.1 (0x0000007fe0000000)

 0x000000000000000f (RPATH)              Library rpath: [/home/olh/obj-gcc/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs]


How can we put $objdir/libgcc_s.so.1 in the rpath?

-- 
USB is for mice, FireWire is for men!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]