This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2010 19:36:40 -0000
- Subject: [Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
- References: <bug-45053-3249@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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