public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables
@ 2013-03-06 23:14 dougmencken at gmail dot com
  2013-03-06 23:16 ` [Bug bootstrap/56554] " dougmencken at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dougmencken at gmail dot com @ 2013-03-06 23:14 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56554
           Summary: stage2 ./intl: error: C compiler cannot create
                    executables
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dougmencken@gmail.com


I built standard C Library with TLS support, and now I cannot bootstrap GCC. On
stage2, I got (from ./intl/config.log):

----------------------------------------
configure:2978: checking for C compiler default output file name
configure:3000:  /root/build-farm/_gcc_bootstrap/./prev-gcc/xgcc
-B/root/build-farm/_gcc_bootstrap/./prev-gcc/
-B/usr/powerpc32-gnu-linux-uclibc/bin/ -B/usr/powerpc32-gnu-linux-uclibc/bin/
-B/usr/powerpc32-gnu-linux-uclibc/lib/ -isystem
/usr/powerpc32-gnu-linux-uclibc/include -isystem
/usr/powerpc32-gnu-linux-uclibc/sys-include    -O3 -gtoggle  -static-libstdc++
-static-libgcc  conftest.c  >&5
/usr/powerpc32-gnu-linux-uclibc/bin/ld:
/root/build-farm/_gcc_bootstrap/./prev-gcc/crtbegin.o: undefined reference to
symbol '__deregister_frame_info@@GLIBC_2.0'
/usr/powerpc32-gnu-linux-uclibc/bin/ld: note:
'__deregister_frame_info@@GLIBC_2.0' is defined in DSO
/root/build-farm/_gcc_bootstrap/./prev-gcc/libgcc_s.so.1 so try adding it to
the linker command line
----------------------------------------

I did suspect my Std C Lib, but after I did successful build of everything but
GCC, I suspect it is really GCC's fault.

All I can add is that "stage0" libgcc_s.so has " 0x00000001 (NEEDED) Shared
library: [ld-uClibc.so.0]" which is missed in stage1 libgcc_s.so. readelf
outputs are attached.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/56554] stage2 ./intl: error: C compiler cannot create executables
  2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
  2013-03-06 23:16 ` [Bug bootstrap/56554] " dougmencken at gmail dot com
@ 2013-03-06 23:16 ` dougmencken at gmail dot com
  2013-03-06 23:21 ` dougmencken at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dougmencken at gmail dot com @ 2013-03-06 23:16 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Douglas Mencken <dougmencken at gmail dot com> 2013-03-06 23:16:36 UTC ---
Created attachment 29603
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29603
readelf of _gcc_bootstrap/./prev-gcc/libgcc_s.so.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/56554] stage2 ./intl: error: C compiler cannot create executables
  2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
@ 2013-03-06 23:16 ` dougmencken at gmail dot com
  2013-03-06 23:16 ` dougmencken at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dougmencken at gmail dot com @ 2013-03-06 23:16 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Douglas Mencken <dougmencken at gmail dot com> 2013-03-06 23:15:46 UTC ---
Created attachment 29602
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29602
readelf of /usr/lib/libgcc_s.so.0.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/56554] stage2 ./intl: error: C compiler cannot create executables
  2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
  2013-03-06 23:16 ` [Bug bootstrap/56554] " dougmencken at gmail dot com
  2013-03-06 23:16 ` dougmencken at gmail dot com
@ 2013-03-06 23:21 ` dougmencken at gmail dot com
  2013-03-06 23:27 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dougmencken at gmail dot com @ 2013-03-06 23:21 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Douglas Mencken <dougmencken at gmail dot com> 2013-03-06 23:20:51 UTC ---
Created attachment 29604
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29604
Attaching intl/config.log


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/56554] stage2 ./intl: error: C compiler cannot create executables
  2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
                   ` (2 preceding siblings ...)
  2013-03-06 23:21 ` dougmencken at gmail dot com
@ 2013-03-06 23:27 ` pinskia at gcc dot gnu.org
  2013-03-06 23:28 ` pinskia at gcc dot gnu.org
  2013-05-14  7:16 ` dougmencken at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-03-06 23:27 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-06 23:26:58 UTC ---
What binutils version are you using?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/56554] stage2 ./intl: error: C compiler cannot create executables
  2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
                   ` (3 preceding siblings ...)
  2013-03-06 23:27 ` pinskia at gcc dot gnu.org
@ 2013-03-06 23:28 ` pinskia at gcc dot gnu.org
  2013-05-14  7:16 ` dougmencken at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-03-06 23:28 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-06 23:28:19 UTC ---
Did you rebuild a candian cross to the target first before updating your libc? 
I think you broke your system by changing your libc without first building a
full cross build to the new target first.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/56554] stage2 ./intl: error: C compiler cannot create executables
  2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
                   ` (4 preceding siblings ...)
  2013-03-06 23:28 ` pinskia at gcc dot gnu.org
@ 2013-05-14  7:16 ` dougmencken at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: dougmencken at gmail dot com @ 2013-05-14  7:16 UTC (permalink / raw)
  To: gcc-bugs

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

Douglas Mencken <dougmencken at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #6 from Douglas Mencken <dougmencken at gmail dot com> ---
As for 4.8.0 release and current 4.9.0-pre, there are no issues with linking to
libgcc_s on bootstrap stages 1-3 on my side.
Problem is gone.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-14  7:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-06 23:14 [Bug bootstrap/56554] New: stage2 ./intl: error: C compiler cannot create executables dougmencken at gmail dot com
2013-03-06 23:16 ` [Bug bootstrap/56554] " dougmencken at gmail dot com
2013-03-06 23:16 ` dougmencken at gmail dot com
2013-03-06 23:21 ` dougmencken at gmail dot com
2013-03-06 23:27 ` pinskia at gcc dot gnu.org
2013-03-06 23:28 ` pinskia at gcc dot gnu.org
2013-05-14  7:16 ` dougmencken at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).