[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-12-03 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2008-12-03 08:58 
---
 The compilers were configured as follows:
 
 Target: sparc-sun-solaris2.11
 Configured with: /vol/gcc/src/gcc-dist/configure
 CC=/vol/gcc/obj/gcc-4.4.0-20081202/11-gcc-v9/gccv9
 --with-gmp-include=/vol/gcc/obj/gmp-4.2.1-v9
 --with-gmp-lib=/vol/gcc/obj/gmp-4.2.1-v9/.libs
 --with-mpfr-include=/vol/gcc/obj/mpfr-2.3.2-v9
 --with-mpfr-lib=/vol/gcc/obj/mpfr-2.3.2-v9/.libs --with-gnu-as
 --with-as=/vol/gcc/lib/gas-2.19 --enable-languages=c,ada --prefix=/vol/gcc
 --with-local-prefix=/vol/gcc --disable-nls
 Thread model: posix
 gcc version 4.4.0 20081202 (experimental) [trunk revision 142371] (GCC) 
 
 resp.
 
 Target: sparc-sun-solaris2.11
 Configured with: /vol/gcc/src/gcc-dist/configure
 CC=/vol/gcc/obj/gcc-4.4.0-20081202/11-gcc-v9/gccv9
 --with-gmp-include=/vol/gcc/obj/gmp-4.2.1-v9
 --with-gmp-lib=/vol/gcc/obj/gmp-4.2.1-v9/.libs
 --with-mpfr-include=/vol/gcc/obj/mpfr-2.3.2-v9
 --with-mpfr-lib=/vol/gcc/obj/mpfr-2.3.2-v9/.libs --enable-languages=c,ada
 --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls
 Thread model: posix
 gcc version 4.4.0 20081202 (experimental) [trunk revision 142371] (GCC) 

But these are not 64-bit compilers, see the target triplet.  You need to pass
--build=sparc64-sun-solaris2.11 and start with a 64-bit compiler.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-12-03 Thread ro at techfak dot uni-bielefeld dot de


--- Comment #8 from ro at techfak dot uni-bielefeld dot de  2008-12-03 
14:31 ---
Subject: Re:  SEGV compiling ada/ada.ads in stage2

ebotcazou at gcc dot gnu dot org writes:

 But these are not 64-bit compilers, see the target triplet.  You need to pass
 --build=sparc64-sun-solaris2.11 and start with a 64-bit compiler.

I fear you're right: it occured to me that the GCC 3.4.3 I started with
didn't have proper multilib support.  I had started with gcc3.4.3 -m64
(which would have been a 64-bit compiler), but forgot to specify the
correct target triplet, though I'm pretty sure I did so when I first
reported the bug.

I've now used a 32-bit gcc 4.4.0 with -m64 as bootstrap compiler and
specified --build=sparcv9-sun-solaris2.10.  This time, the bootstrap
finished, so this has been pilot error ;-(

Rainer


-- 


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-12-03 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2008-12-03 17:42 
---
 I've now used a 32-bit gcc 4.4.0 with -m64 as bootstrap compiler and
 specified --build=sparcv9-sun-solaris2.10.  This time, the bootstrap
 finished, so this has been pilot error ;-(

Thanks for investigating on your side.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||WORKSFORME


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-12-02 Thread ro at techfak dot uni-bielefeld dot de


--- Comment #4 from ro at techfak dot uni-bielefeld dot de  2008-12-02 
21:38 ---
Subject: Re:  SEGV compiling ada/ada.ads in stage2

ebotcazou at gcc dot gnu dot org writes:

 Works for me on Solaris 10 as well.

I've just tried again on current mainline (trunk revision 142371) on
Solaris 11 (snv_103), both with Sun as and GNU as 2.19, and get the same
error in both cases.

The compilers were configured as follows:

Target: sparc-sun-solaris2.11
Configured with: /vol/gcc/src/gcc-dist/configure
CC=/vol/gcc/obj/gcc-4.4.0-20081202/11-gcc-v9/gccv9
--with-gmp-include=/vol/gcc/obj/gmp-4.2.1-v9
--with-gmp-lib=/vol/gcc/obj/gmp-4.2.1-v9/.libs
--with-mpfr-include=/vol/gcc/obj/mpfr-2.3.2-v9
--with-mpfr-lib=/vol/gcc/obj/mpfr-2.3.2-v9/.libs --with-gnu-as
--with-as=/vol/gcc/lib/gas-2.19 --enable-languages=c,ada --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls
Thread model: posix
gcc version 4.4.0 20081202 (experimental) [trunk revision 142371] (GCC) 

resp.

Target: sparc-sun-solaris2.11
Configured with: /vol/gcc/src/gcc-dist/configure
CC=/vol/gcc/obj/gcc-4.4.0-20081202/11-gcc-v9/gccv9
--with-gmp-include=/vol/gcc/obj/gmp-4.2.1-v9
--with-gmp-lib=/vol/gcc/obj/gmp-4.2.1-v9/.libs
--with-mpfr-include=/vol/gcc/obj/mpfr-2.3.2-v9
--with-mpfr-lib=/vol/gcc/obj/mpfr-2.3.2-v9/.libs --enable-languages=c,ada
--prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls
Thread model: posix
gcc version 4.4.0 20081202 (experimental) [trunk revision 142371] (GCC) 

I'm currently running bootstraps on Solaris 10 (both with Sun as and GNU as
2.19) to verify if this makes a difference.

Rainer


-- 


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-12-02 Thread ro at gcc dot gnu dot org


--- Comment #5 from ro at gcc dot gnu dot org  2008-12-02 21:39 ---
Still crashes for me.


-- 

ro at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|WORKSFORME  |


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-12-02 Thread ro at techfak dot uni-bielefeld dot de


--- Comment #6 from ro at techfak dot uni-bielefeld dot de  2008-12-02 
22:28 ---
Subject: Re:  SEGV compiling ada/ada.ads in stage2

ro at techfak dot uni-bielefeld dot de writes:

 I'm currently running bootstraps on Solaris 10 (both with Sun as and GNU as
 2.19) to verify if this makes a difference.

It doesn't: I get exactly the same error.

Rainer


-- 


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-11-30 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2008-11-30 09:27 
---
Works for me on Solaris 10 as well.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||WORKSFORME


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



[Bug ada/37799] SEGV compiling ada/ada.ads in stage2

2008-10-12 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2008-10-12 19:47 
---
 This works for me with GCC 4.4.0 20081011 + GAS 2.18.92 + Sun ld on Solaris 9.

([EMAIL PROTECTED]) ~ $ gcc -v
Using built-in specs.
Target: sparc64-sun-solaris2.9
Configured with: /nile.build/botcazou/gcc-head/src/configure
--build=sparc64-sun-solaris2.9
--prefix=/nile.build/botcazou/gcc-head/install_sparc64
--with-as=/nile.build/botcazou/gcc-head/install_sparc64/bin/as
--with-gmp=/nile.build/botcazou/gcc-head/install_sparc64
--with-gmp-lib=/nile.build/botcazou/gcc-head/install_sparc64/lib/sparcv9
--with-mpfr=/nile.build/botcazou/gcc-head/install_sparc64
--with-mpfr-lib=/nile.build/botcazou/gcc-head/install_sparc64/lib/sparcv9
--enable-languages=c,ada --disable-nls
Thread model: posix
gcc version 4.4.0 20081011 for GNAT Pro 6.2.0w (20081010) (GCC)
([EMAIL PROTECTED]) ~ $ gnatmake -f -q ma
([EMAIL PROTECTED]) ~ $ file ma
ma: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically
linked, not stripped
([EMAIL PROTECTED]) ~ $ gnatmake -f -q ma -m32 --RTS=sparcv7
([EMAIL PROTECTED]) ~ $ file ma
ma: ELF 32-bit MSB executable SPARC Version 1, dynamically linked,
not stripped


-- 


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