public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/50589] New: [4.7] Ada bootstrap failure on sparc-linux
@ 2011-10-02 12:40 mikpe at it dot uu.se
  2011-10-13 10:54 ` [Bug ada/50589] " ebotcazou at gcc dot gnu.org
  2011-10-13 10:57 ` ebotcazou at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: mikpe at it dot uu.se @ 2011-10-02 12:40 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50589
           Summary: [4.7] Ada bootstrap failure on sparc-linux
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


I'm attempting to bootstrap a plain sparc-linux gcc on sparc64-linux, by
passing --build=sparc-unknown-linux --host=sparc-unknown-linux
--target=sparc-unknown-linux --enable-targets=all --with-cpu=v8
--enable-multilib to configure.  The build fails however in Ada:

/mnt/scratch/objdir47/./gcc/xgcc -B/mnt/scratch/objdir47/./gcc/
-B/mnt/scratch/install47/sparc-unknown-linux/bin/
-B/mnt/scratch/install47/sparc-unknown-linux/lib/ -isystem
/mnt/scratch/install47/sparc-unknown-linux/include -isystem
/mnt/scratch/install47/sparc-unknown-linux/sys-include    -c -g -O2  -fPIC  -W
-Wall -gnatpg   s-linux.ads -o s-linux.o
s-linux.ads:38:16: warning: unit "C" is not referenced
make[7]: *** [s-linux.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: Leaving directory `/mnt/scratch/objdir47/gcc/ada/rts'
make[6]: *** [gnatlib] Error 2
make[6]: Leaving directory `/mnt/scratch/objdir47/gcc/ada'
make[5]: *** [gnatlib-shared-default] Error 2
make[5]: Leaving directory `/mnt/scratch/objdir47/gcc/ada'
make[4]: *** [gnatlib-shared-dual] Error 2
make[4]: Leaving directory `/mnt/scratch/objdir47/gcc/ada'
make[3]: *** [gnatlib-shared] Error 2
make[3]: Leaving directory `/mnt/scratch/objdir47/gcc/ada'
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir47/sparc-unknown-linux/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir47'
make: *** [bootstrap] Error 2

The complete configuration is:
/mnt/scratch/gcc-4.7-20111001/configure --prefix=/mnt/scratch/install47
--with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-5.0.2
--with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-3.0.1
--with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-0.9 --disable-plugin
--disable-lto --disable-nls --enable-threads=posix --enable-checking=release
--disable-libmudflap --enable-languages=c,ada
--disable-build-poststage1-with-cxx --build=sparc-unknown-linux
--host=sparc-unknown-linux --target=sparc-unknown-linux --enable-targets=all
--with-cpu=v8 --enable-multilib

The reason I'm overriding build/host/target is that a recent change on trunk
broke the ability to build a sparc64-linux gcc that defaults to -m32, see
PR50354.


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

* [Bug ada/50589] [4.7] Ada bootstrap failure on sparc-linux
  2011-10-02 12:40 [Bug ada/50589] New: [4.7] Ada bootstrap failure on sparc-linux mikpe at it dot uu.se
@ 2011-10-13 10:54 ` ebotcazou at gcc dot gnu.org
  2011-10-13 10:57 ` ebotcazou at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-13 10:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-13 10:54:23 UTC ---
Author: ebotcazou
Date: Thu Oct 13 10:54:19 2011
New Revision: 179911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179911
Log:
    PR ada/50589
    * s-linux-alpha.ads: Do not "with" Interfaces.C.
    * s-linux-sparc.ads: Likewise.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/s-linux-alpha.ads
    trunk/gcc/ada/s-linux-sparc.ads


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

* [Bug ada/50589] [4.7] Ada bootstrap failure on sparc-linux
  2011-10-02 12:40 [Bug ada/50589] New: [4.7] Ada bootstrap failure on sparc-linux mikpe at it dot uu.se
  2011-10-13 10:54 ` [Bug ada/50589] " ebotcazou at gcc dot gnu.org
@ 2011-10-13 10:57 ` ebotcazou at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-13 10:57 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         Resolution|                            |FIXED
         AssignedTo|unassigned at gcc dot       |ebotcazou at gcc dot
                   |gnu.org                     |gnu.org
   Target Milestone|---                         |4.7.0

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-13 10:57:26 UTC ---
Thanks for reporting the problem.


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

end of thread, other threads:[~2011-10-13 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-02 12:40 [Bug ada/50589] New: [4.7] Ada bootstrap failure on sparc-linux mikpe at it dot uu.se
2011-10-13 10:54 ` [Bug ada/50589] " ebotcazou at gcc dot gnu.org
2011-10-13 10:57 ` ebotcazou at gcc dot gnu.org

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).