* [Bug ada/37799] SIGBUS compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
@ 2008-10-11 20:57 ` ebotcazou at gcc dot gnu dot org
2008-10-12 19:48 ` [Bug ada/37799] SEGV " ebotcazou at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-10-11 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ebotcazou at gcc dot gnu dot org 2008-10-11 20:56 -------
This works for me with GCC 4.4.0 20081011 + GAS 2.18.92 + Sun ld on Solaris 9.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
GCC build triplet|sparcv9-sun-solaris2.11 |sparc64-sun-solaris2.11
GCC host triplet|sparcv9-sun-solaris2.11 |sparc64-sun-solaris2.11
GCC target triplet|sparcv9-sun-solaris2.11 |sparc64-sun-solaris2.11
Summary|SEGV compiling ada/ada.ads |SIGBUS compiling ada/ada.ads
|in stage2 |in stage2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37799
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
2008-10-11 20:57 ` [Bug ada/37799] SIGBUS " ebotcazou at gcc dot gnu dot org
@ 2008-10-12 19:48 ` ebotcazou at gcc dot gnu dot org
2008-11-30 9:29 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-10-12 19:48 UTC (permalink / raw)
To: gcc-bugs
------- 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.
(botcazou@nile) ~ $ 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)
(botcazou@nile) ~ $ gnatmake -f -q ma
(botcazou@nile) ~ $ file ma
ma: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically
linked, not stripped
(botcazou@nile) ~ $ gnatmake -f -q ma -m32 --RTS=sparcv7
(botcazou@nile) ~ $ 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
2008-10-11 20:57 ` [Bug ada/37799] SIGBUS " ebotcazou at gcc dot gnu dot org
2008-10-12 19:48 ` [Bug ada/37799] SEGV " ebotcazou at gcc dot gnu dot org
@ 2008-11-30 9:29 ` ebotcazou at gcc dot gnu dot org
2008-12-02 21:39 ` ro at techfak dot uni-bielefeld dot de
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-11-30 9:29 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-11-30 9:29 ` ebotcazou at gcc dot gnu dot org
@ 2008-12-02 21:39 ` ro at techfak dot uni-bielefeld dot de
2008-12-02 21:42 ` ro at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-12-02 21:39 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-12-02 21:39 ` ro at techfak dot uni-bielefeld dot de
@ 2008-12-02 21:42 ` ro at gcc dot gnu dot org
2008-12-02 22:30 ` ro at techfak dot uni-bielefeld dot de
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-12-02 21:42 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-12-02 21:42 ` ro at gcc dot gnu dot org
@ 2008-12-02 22:30 ` ro at techfak dot uni-bielefeld dot de
2008-12-03 8:59 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-12-02 22:30 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-12-02 22:30 ` ro at techfak dot uni-bielefeld dot de
@ 2008-12-03 8:59 ` ebotcazou at gcc dot gnu dot org
2008-12-03 14:33 ` ro at techfak dot uni-bielefeld dot de
2008-12-03 17:44 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-12-03 8:59 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-12-03 8:59 ` ebotcazou at gcc dot gnu dot org
@ 2008-12-03 14:33 ` ro at techfak dot uni-bielefeld dot de
2008-12-03 17:44 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-12-03 14:33 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/37799] SEGV compiling ada/ada.ads in stage2
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-12-03 14:33 ` ro at techfak dot uni-bielefeld dot de
@ 2008-12-03 17:44 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-12-03 17:44 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread