public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* ICE
@ 2012-09-27 19:19 Geert Uytterhoeven
  2012-09-29 17:26 ` ICE Thorsten Glaser
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2012-09-27 19:19 UTC (permalink / raw)
  To: Linux/m68k

JFYI, I'm getting an ICE when doing a m68k allmodconfig on next-20120927:

fs/gfs2/rgrp.c: In function ‘try_rgrp_unlink’:
fs/gfs2/rgrp.c:1625: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccWSprPJ.out file, please attach
this to your bugreport.
make[2]: *** [fs/gfs2/rgrp.o] Error 1

The offending line has:

struct gfs2_rbm rbm = { .rgd = rgd, .bi = rgd->rd_bits, .offset = 0 };

Smaller failing case:

#include <linux/gfs2_ondisk.h>
#include "glock.h"

static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64
*last_unlinked, u64 skip)
{
        struct gfs2_rbm rbm = { .rgd = rgd, .bi = rgd->rd_bits, .offset = 0 };
        return;
}

Interestingly, it compiles fine if I replace "glock.h" by "incore.h"
(the former includes
the latter). If both are include (first incore.h), it also fails.

$ m68k-linux-gnu-gcc -
m68k-linux-gnu-gcc: -E or -x required when input is from standard input
ayla$ m68k-linux-gnu-gcc -v
Using built-in specs.
Target: m68k-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/m68k-linux-gnu/include/c++/4.1.2
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --disable-libssp --disable-werror
--enable-checking=release --program-prefix=m68k-linux-gnu-
--includedir=/usr/m68k-linux-gnu/include --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=m68k-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Ubuntu 4.1.1-21)

Yeah, I know it's an old compiler...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: ICE
  2012-09-27 19:19 ICE Geert Uytterhoeven
@ 2012-09-29 17:26 ` Thorsten Glaser
  2012-09-29 17:46   ` ICE Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Glaser @ 2012-09-29 17:26 UTC (permalink / raw)
  To: linux-m68k

Geert Uytterhoeven <geert <at> linux-m68k.org> writes:

> --includedir=/usr/m68k-linux-gnu/include --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=m68k-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20061115 (prerelease) (Ubuntu 4.1.1-21)

Ouch!

> Yeah, I know it's an old compiler...

Would it help were I to rebuild my gcc-4.6 cross-compiler for you
on/targetting… I guess Ubuntu lucid?

bye,
//mirabilos

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

* Re: ICE
  2012-09-29 17:26 ` ICE Thorsten Glaser
@ 2012-09-29 17:46   ` Geert Uytterhoeven
  0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2012-09-29 17:46 UTC (permalink / raw)
  To: Thorsten Glaser; +Cc: linux-m68k

On Sat, Sep 29, 2012 at 7:26 PM, Thorsten Glaser <tg@mirbsd.de> wrote:
>> Yeah, I know it's an old compiler...
>
> Would it help were I to rebuild my gcc-4.6 cross-compiler for you
> on/targetting… I guess Ubuntu lucid?

Thanks for the offer, but I also have a 4.6.3 from Tony's collection.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

end of thread, other threads:[~2012-09-29 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27 19:19 ICE Geert Uytterhoeven
2012-09-29 17:26 ` ICE Thorsten Glaser
2012-09-29 17:46   ` ICE Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox