This is the mail archive of the gcc-bugs@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]

[Bug target/43727] undefined reference to `_restgpr_30_x'



------- Comment #9 from rguenth at gcc dot gnu dot org  2010-04-13 14:10 -------
(In reply to comment #7)
> Is the libgcc_s.so the link finds a linker script?
> You can use -Wl,-M,--verbose to see what is going on.

No, it doesn't seem to.

START GROUP
LOAD /lib/libc.so.6
LOAD /usr/lib/libc_nonshared.a
LOAD /lib/ld.so.1
END GROUP
LOAD /usr/lib/gcc/powerpc64-suse-linux/4.5/libgcc_s.so
LOAD /usr/lib/gcc/powerpc64-suse-linux/4.5/crtendS.o
LOAD /usr/lib/gcc/powerpc64-suse-linux/4.5/../../../../lib/crtn.o

/tmp> ls -l /usr/lib/gcc/powerpc64-suse-linux/4.5/libgcc_s.so
lrwxrwxrwx 1 root root 18 2010-04-07 18:18
/usr/lib/gcc/powerpc64-suse-linux/4.5/libgcc_s.so -> /lib/libgcc_s.so.1

do we now install linker-scripts for libgcc_s.so?  If so I have to fixup our
install procedure as I am simply doing

# Move libgcc_s around
rm -f $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so
ln -sf
/%{_lib}/libgcc_s.so.%{libgcc_s}$RPM_BUILD_ROOT{versmainlibdir}/libgcc_s.so


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43727


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