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 bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc



------- Comment #4 from mikpe at it dot uu dot se  2010-07-24 19:36 -------
Attempting to bootstrap 4.5.1-RC on powerpc-linux with --enable-target-optspace
fails near the end of stage1 while configuring libgomp:

configure:3658: checking for C compiler default output file name
configure:3680: /home/mikpe/objdir/./gcc/xgcc -B/home/mikpe/objdir/./gcc/
-B/tmp/install/powerpc-unknown-linux-gnu/bin/
-B/tmp/install/powerpc-unknown-linux-gnu/lib/ -isystem
/tmp/install/powerpc-unknown-linux-gnu/include -isystem
/tmp/install/powerpc-unknown-linux-gnu/sys-include    -g -Os   conftest.c  >&5
/home/mikpe/objdir/./gcc/crtend.o: In function `__do_global_ctors_aux':
crtstuff.c:(.text+0xc): undefined reference to `_savegpr_31'
collect2: ld returned 1 exit status

libgcc.a was built and does define _savegpr_31, and libgcc_s.so is the expected
linker script, and both files are available in the build directory.

So yes, --enable-target-optspace appears broken.


-- 


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


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