public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/41500]  New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
@ 2009-09-29 13:10 armin76 at gentoo dot org
  2009-09-30  1:27 ` [Bug bootstrap/41500] " mikpe at it dot uu dot se
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-09-29 13:10 UTC (permalink / raw)
  To: gcc-bugs

Since 4.4 i'm unable to rebuild gcc, check downstream bug:
http://bugs.gentoo.org/286251

Steps to reproduce:
- extract gcc-4.4.1 tarball
-./configure
-make LDFLAGS=-Wl,-O1 STAGE1_CFLAGS=-O
LIBPATH=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.1 'BOOT_CFLAGS=
-march=armv5te -pipe -O2' bootstrap-lean
-segfaults

The failing part is as follows:
hecking for armv5tel-softfloat-linux-gnueabi-ar...
/usr/armv5tel-softfloat-linux-gnueabi/bin/ar
checking for armv5tel-softfloat-linux-gnueabi-lipo... lipo
checking for armv5tel-softfloat-linux-gnueabi-nm...
/var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/nm
checking for armv5tel-softfloat-linux-gnueabi-ranlib...
/usr/armv5tel-softfloat-linux-gnueabi/bin/ranlib
checking for armv5tel-softfloat-linux-gnueabi-strip...
/usr/armv5tel-softfloat-linux-gnueabi/bin/strip
checking whether ln -s works... yes
checking for armv5tel-softfloat-linux-gnueabi-gcc...
/var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/
-B/usr/armv5tel-softfloat-linux-gnueabi/bin/
-B/usr/armv5tel-softfloat-linux-gnueabi/lib/ -isystem
/usr/armv5tel-softfloat-linux-gnueabi/include -isystem
/usr/armv5tel-softfloat-linux-gnueabi/sys-include
checking for suffix of object files... configure: error: in
`/var/tmp/portage/sys-devel/gcc-4.4.1/work/build/armv5tel-softfloat-linux-gnueabi/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.1/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.1/work/build'

config.log contains:
configure:2415: /var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/
-B/usr/armv5tel-softfloat-linux-gnueabi/bin/
-B/usr/armv5tel-softfloat-linux-gnueabi/lib/ -isystem
/usr/armv5tel-softfloat-linux-gnueabi/include -isystem
/usr/armv5tel-softfloat-linux-gnueabi/sys-include -o conftest -g -march=armv5te
-pipe -O2     conftest.c  >&5
conftest.c: In function 'main':
conftest.c:15: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
configure:2418: $? = 1
configure:2590: checking for suffix of object files
configure:2611: /var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.4.1/work/build/./gcc/
-B/usr/armv5tel-softfloat-linux-gnueabi/bin/
-B/usr/armv5tel-softfloat-linux-gnueabi/lib/ -isystem
/usr/armv5tel-softfloat-linux-gnueabi/include -isystem
/usr/armv5tel-softfloat-linux-gnueabi/sys-include -c -g -march=armv5te -pipe
-O2    conftest.c >&5
conftest.c: In function 'main':
conftest.c:15: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
configure:2614: $? = 1

It works when using -O2 in STAGE1_CFLAGS instead of -O. This doesn't occur on
4.3, 4.3 is able to compile 4.4, but 4.4 is unable to compile itself or
gcc-4.3.

Not sure if its related, but i filed bug 40105 for SH some time ago, and using
-O2 in STAGE1_CFLAGS made it work.

Thanks, let me know if you need more info.


-- 
           Summary: [4.4 Regression] ARM: 4.4 compiler segfault when
                    compiling gcc
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: armin76 at gentoo dot org
  GCC host triplet: armv5tel-softfloat-linux-gnueabi


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
@ 2009-09-30  1:27 ` mikpe at it dot uu dot se
  2009-09-30  5:35 ` armin76 at gentoo dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mikpe at it dot uu dot se @ 2009-09-30  1:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mikpe at it dot uu dot se  2009-09-30 01:27 -------
I just rebuilt a vanilla gcc-4.4.1 with itself on armv5tel-linux-gnueabi, and
as usual there were no problems. I even used your LDFLAGS=-Wl,-O1 and
STAGE1_CFLAGS=-O settings.

A few notes:
- you seem to be building in the source dir; I don't think that's supported, I
haven't done that in a decade or so
- in the gentoo bug entry there is an indication that you're using
binutils-2.18, I'm using binutils-2.19.1; normally I wouldn't worry but you're
passing -O1 to ld so who knows?
- in the gentoo bug entry there is some speculation that gcc runs out of memory
on 512MB RAM machines; I've rebuilt 4.4.1 with itself on arm boxes with as
little as 64MB without much problems (as long as java is disabled); of course
you need ample swap, at least temporarily
- I don't think "-pipe" is a good idea on small memory machines
- I do use --enable-checking=release to avoid gcc growing too large and slow,
that may be a factor given the size-related post-4.3 bootstrap failure PR

I'm not convinced this is a gcc-4.4.1 bug.


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
  2009-09-30  1:27 ` [Bug bootstrap/41500] " mikpe at it dot uu dot se
@ 2009-09-30  5:35 ` armin76 at gentoo dot org
  2009-09-30  7:39 ` ramana at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-09-30  5:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from armin76 at gentoo dot org  2009-09-30 05:34 -------
(In reply to comment #1)
> I just rebuilt a vanilla gcc-4.4.1 with itself on armv5tel-linux-gnueabi, and
> as usual there were no problems. I even used your LDFLAGS=-Wl,-O1 and
> STAGE1_CFLAGS=-O settings.
>
Weird, guess i'll try with a debian chroot...

> A few notes:
> - you seem to be building in the source dir; I don't think that's supported, I
> haven't done that in a decade or so
No, ls -l /var/tmp/portage/sys-devel/gcc-4.4.1/work/
total 16
drwxr-xr-x  9 root root 4096 Sep 28 11:19 build
drwxr-xr-x 26 root root 4096 Sep 28 11:13 gcc-4.4.1
drwxr-xr-x  3 root root 4096 Jul 23 00:34 patch
drwxr-xr-x  2 root root 4096 Jul 23 06:00 uclibc


> - in the gentoo bug entry there is an indication that you're using
> binutils-2.18, I'm using binutils-2.19.1; normally I wouldn't worry but you're
> passing -O1 to ld so who knows?
Now i'm running 2.19.1 and i've tried 2.20.51.0.1, same result.

> - in the gentoo bug entry there is some speculation that gcc runs out of memory
> on 512MB RAM machines; I've rebuilt 4.4.1 with itself on arm boxes with as
> little as 64MB without much problems (as long as java is disabled); of course
> you need ample swap, at least temporarily
It's not the case, the user that said so posted his log error on IRC and he
clearly got a killed cc1, not a segfault. Anyway i have 3G of ram.

> - I don't think "-pipe" is a good idea on small memory machines
> - I do use --enable-checking=release to avoid gcc growing too large and slow,
> that may be a factor given the size-related post-4.3 bootstrap failure PR
> 
> I'm not convinced this is a gcc-4.4.1 bug.
> 

I'm thinking this happens when you build gcc-4.4.1 with that make line, and
then you build a gcc with it...i'll try.


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
  2009-09-30  1:27 ` [Bug bootstrap/41500] " mikpe at it dot uu dot se
  2009-09-30  5:35 ` armin76 at gentoo dot org
@ 2009-09-30  7:39 ` ramana at gcc dot gnu dot org
  2009-09-30 13:49 ` armin76 at gentoo dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-09-30  7:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ramana at gcc dot gnu dot org  2009-09-30 07:38 -------
Can you see what a backtrace gives you in a gdb session ? It sounds like you
are out of memory. I'll second what Mikael said in Comment #2 with respect to
being able to bootstrap .

The other question which I have to ask is what was your configure line to
configure the compiler. I've not been able to find that in your bug report here
and taking a cursory look at the strace output - it appears as though it might
be something to do with your environment. 


wait4(17376, In file included from /usr/include/stdio.h:903,
                 from test.c:1:
/usr/include/bits/stdio.h: In function 'getchar':
/usr/include/bits/stdio.h:47: internal compiler error: Segmentation fault
Please submit a full bug report,

I've got access to a Marvell board so if you give your configure line , I can
try bootstrapping gcc to confirm what you are saying as well as take a look at
it.

I usually bootstrap with --enable-languages=c,c++,fortran and disabling stage1
checking because on some distros , the versions of binutils aren't upto scratch
with creating huge ARM binaries.


cheers
Ramana



Ramana


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (2 preceding siblings ...)
  2009-09-30  7:39 ` ramana at gcc dot gnu dot org
@ 2009-09-30 13:49 ` armin76 at gentoo dot org
  2009-10-01 16:22 ` armin76 at gentoo dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-09-30 13:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from armin76 at gentoo dot org  2009-09-30 13:49 -------
(In reply to comment #3)
> Can you see what a backtrace gives you in a gdb session ? It sounds like you
> are out of memory. I'll second what Mikael said in Comment #2 with respect to
> being able to bootstrap .
Hrm...well, thats weird. I have 3G of RAM, and with gcc-4.3 i don't have any
problem. Also gcc-4.4 builds fine with -O2 as STAGE1_CFLAGS.
Besides this should show up on dmesg, and i don't have anything regarding that.
IOW, the kernel didn't kill the compile process

> 
> The other question which I have to ask is what was your configure line to
> configure the compiler. I've not been able to find that in your bug report here
> and taking a cursory look at the strace output - it appears as though it might
> be something to do with your environment. 
Sure, sorry i didn't post it.
Here it is:

/var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/configure --prefix=/usr
--bindir=/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.4.1
--includedir=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.1/include
--datadir=/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.4.1
--mandir=/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.4.1/man
--infodir=/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.4.1/info
--with-gxx-include-dir=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.1/include/g++-v4
--host=armv5tel-softfloat-linux-gnueabi
--build=armv5tel-softfloat-linux-gnueabi --disable-altivec
--disable-fixed-point --without-ppl --without-cloog --with-float=soft
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --enable-secureplt --disable-multilib --enable-libmudflap
--disable-libssp --enable-libgomp --enable-cld
--with-python-dir=/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.4.1/python
--disable-libgcj --enable-languages=c,c++,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion="Gentoo 4.4.1 p1.0"


> 
> 
> wait4(17376, In file included from /usr/include/stdio.h:903,
>                  from test.c:1:
> /usr/include/bits/stdio.h: In function 'getchar':
> /usr/include/bits/stdio.h:47: internal compiler error: Segmentation fault
> Please submit a full bug report,
> 
> I've got access to a Marvell board so if you give your configure line , I can
> try bootstrapping gcc to confirm what you are saying as well as take a look at
> it.
> 
> I usually bootstrap with --enable-languages=c,c++,fortran and disabling stage1
> checking because on some distros , the versions of binutils aren't upto scratch
> with creating huge ARM binaries.
> 
> 
> cheers
> Ramana
> 
> 
> 
> Ramana
> 

This is what i've done as of now:
-build gcc-4.4 using STAGE1_CFLAGS=-O2 with gcc-4.3, then build gcc-4.4 with 
newly-built gcc-4.4 with STAGE1_CFLAGS=-O <---------- segfault
-build gcc-4.4 using STAGE1_CFLAGS=-O with gcc-4.3, then build gcc-4.4 with
newly-built gcc-4.4 with STAGE1_CFLAGS=-O2 <---------- works

ATM i'm trying this:
-build gcc-4.4 using STAGE1_CFLAGS=-O2 with gcc-4.3, then build gcc-4.4 with
newly-built gcc-4.4 with STAGE1_CFLAGS=-O

Will let you know, i'll attach the full build log meanwhile


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (3 preceding siblings ...)
  2009-09-30 13:49 ` armin76 at gentoo dot org
@ 2009-10-01 16:22 ` armin76 at gentoo dot org
  2009-10-01 16:27 ` armin76 at gentoo dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-10-01 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from armin76 at gentoo dot org  2009-10-01 16:22 -------
(In reply to comment #4)
> ATM i'm trying this:
> -build gcc-4.4 using STAGE1_CFLAGS=-O2 with gcc-4.3, then build gcc-4.4 with
> newly-built gcc-4.4 with STAGE1_CFLAGS=-O
> 
> Will let you know, i'll attach the full build log meanwhile
> 

Same result, will attach the build log now


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (4 preceding siblings ...)
  2009-10-01 16:22 ` armin76 at gentoo dot org
@ 2009-10-01 16:27 ` armin76 at gentoo dot org
  2009-10-01 16:28 ` armin76 at gentoo dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-10-01 16:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from armin76 at gentoo dot org  2009-10-01 16:26 -------
Created an attachment (id=18688)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18688&action=view)
config.log

config.log from build/armv5tel-unknown-linux-gnueabi/libgcc


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (5 preceding siblings ...)
  2009-10-01 16:27 ` armin76 at gentoo dot org
@ 2009-10-01 16:28 ` armin76 at gentoo dot org
  2009-10-01 16:33 ` armin76 at gentoo dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-10-01 16:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from armin76 at gentoo dot org  2009-10-01 16:28 -------
Created an attachment (id=18689)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18689&action=view)
config.log from buildir


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (6 preceding siblings ...)
  2009-10-01 16:28 ` armin76 at gentoo dot org
@ 2009-10-01 16:33 ` armin76 at gentoo dot org
  2009-10-01 18:01 ` armin76 at gentoo dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-10-01 16:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from armin76 at gentoo dot org  2009-10-01 16:33 -------
Created an attachment (id=18690)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18690&action=view)
build.log

And the build log.

So, i ran this:
../gcc-4.4.1/configure --enable-languages=c,c++,fortran --with-float=soft
make LDFLAGS=-Wl,-O1 STAGE1_CFLAGS=-O
LIBPATH=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.1 'BOOT_CFLAGS=
-march=armv5te -pipe -O2' bootstrap-lean

Next: Try with debian


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (7 preceding siblings ...)
  2009-10-01 16:33 ` armin76 at gentoo dot org
@ 2009-10-01 18:01 ` armin76 at gentoo dot org
  2009-10-01 19:38 ` laurent at guerby dot net
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-10-01 18:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from armin76 at gentoo dot org  2009-10-01 18:01 -------
(In reply to comment #8)
> Next: Try with debian
> 
Ok, installed a squeeze chroot, installed gcc-4.4 with apt-get install gcc-4.4,
built gcc-4.4.1 with the same configure line and stuff, and it also fails.

Tell me if you need more info, i'll try to debug it.


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (8 preceding siblings ...)
  2009-10-01 18:01 ` armin76 at gentoo dot org
@ 2009-10-01 19:38 ` laurent at guerby dot net
  2009-10-02 17:08 ` armin76 at gentoo dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: laurent at guerby dot net @ 2009-10-01 19:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from laurent at guerby dot net  2009-10-01 19:37 -------
Starting with

$ /tmp/gcc-4.4.1-install/bin/gcc -v
Using built-in specs.
Target: armv5tel-unknown-linux-gnueabi
Configured with: /home/mikpe/gcc-4.4.1/configure
--prefix=/tmp/gcc-4.4.1-install --with-arch=armv5te --with-tune=xscale
--disable-nls --disable-shared --disable-libmudflap --enable-threads=posix
--enable-checking=release --enable-languages=c,ada
Thread model: posix
gcc version 4.4.1 (GCC) 

I successfully bootstraped gcc-4.4.1:

../gcc-4.4.1/configure --prefix=/n/55/guerby/install-4.4.1 --enable-languages=c
-enable-__cxa_atexit --disable-nls --enable-threads=posix
--with-mpfr=/opt/cfarm/mpfr-2.4.1/ --disable-multilib --disable-libmudflap &&
nohup make

And with this new 4.4.1 installed in PATH, a new compilation of 4.4.1:

../gcc-4.4.1/configure --prefix=/n/55/guerby/install-4.4.1-bis
--enable-languages=c -enable-__cxa_atexit --disable-nls --enable-threads=posix
--with-mpfr=/opt/cfarm/mpfr-2.4.1/ --disable-multilib --disable-libmudflap &&
nohup make >& b.log &

is in stage3 so likely to succeed.

I use binutils GNU ld (GNU Binutils) 2.19.51.20090423 (from CVS at the time,
just after relax patches went in).


-- 


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


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

* [Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (9 preceding siblings ...)
  2009-10-01 19:38 ` laurent at guerby dot net
@ 2009-10-02 17:08 ` armin76 at gentoo dot org
  2009-10-24 12:08 ` [Bug target/41500] " rguenth at gcc dot gnu dot org
  2009-11-10 15:07 ` armin76 at gentoo dot org
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-10-02 17:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from armin76 at gentoo dot org  2009-10-02 17:08 -------
Created an attachment (id=18694)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18694&action=view)
backtrace.log

and the backtrace using gdb with the following command:
gdb --args /root/build/./gcc/cc1 conftest.c 

conftest.c being what attachment 18688 has as conftest.c


-- 


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


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

* [Bug target/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (10 preceding siblings ...)
  2009-10-02 17:08 ` armin76 at gentoo dot org
@ 2009-10-24 12:08 ` rguenth at gcc dot gnu dot org
  2009-11-10 15:07 ` armin76 at gentoo dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-24 12:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from rguenth at gcc dot gnu dot org  2009-10-24 12:08 -------
Does 4.5 work?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
 GCC target triplet|                            |armv5tel-softfloat-linux-
                   |                            |gnueabi
           Keywords|                            |build, wrong-code
   Target Milestone|---                         |4.4.3


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


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

* [Bug target/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc
  2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
                   ` (11 preceding siblings ...)
  2009-10-24 12:08 ` [Bug target/41500] " rguenth at gcc dot gnu dot org
@ 2009-11-10 15:07 ` armin76 at gentoo dot org
  12 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2009-11-10 15:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from armin76 at gentoo dot org  2009-11-10 15:06 -------
4.4.2 works fine, so i'll close this as fixed.


-- 

armin76 at gentoo dot org changed:

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


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


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

end of thread, other threads:[~2009-11-10 15:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-29 13:10 [Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc armin76 at gentoo dot org
2009-09-30  1:27 ` [Bug bootstrap/41500] " mikpe at it dot uu dot se
2009-09-30  5:35 ` armin76 at gentoo dot org
2009-09-30  7:39 ` ramana at gcc dot gnu dot org
2009-09-30 13:49 ` armin76 at gentoo dot org
2009-10-01 16:22 ` armin76 at gentoo dot org
2009-10-01 16:27 ` armin76 at gentoo dot org
2009-10-01 16:28 ` armin76 at gentoo dot org
2009-10-01 16:33 ` armin76 at gentoo dot org
2009-10-01 18:01 ` armin76 at gentoo dot org
2009-10-01 19:38 ` laurent at guerby dot net
2009-10-02 17:08 ` armin76 at gentoo dot org
2009-10-24 12:08 ` [Bug target/41500] " rguenth at gcc dot gnu dot org
2009-11-10 15:07 ` armin76 at gentoo dot 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).