Re: gcc-4.6.3, was Re: Debian on mac68k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 9, 2016 at 8:08 AM, Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> wrote:
On Wed, 9 Nov 2016, Michael Schmitz wrote:
Not for Mac, but Geert usually boots kernels using ARAnyM. Pretty basic,
for sure, but it's been good enough so have something to work from.

I thought Geert still used gcc-4.1 (?)

Indeed.

Gcc-4.1 has issues with some bitfields, e.g. to compile gfs2 I need
workarounds like:

-       struct gfs2_rbm rbm = { .rgd = rgd, .bii = 0, .offset = 0 };
+       // FIXME Avoid gcc 4.1.2 20061115 (prerelease) (Ubuntu 4.1.1-21) ICE
+       // struct gfs2_rbm rbm = { .rgd = rgd, .bii = 0, .offset = 0 };
+       struct gfs2_rbm rbm = { .bii = 0, .offset = 0 };
+       rbm.rgd = rgd;

I also have a 4.9.0 from kernel.org, if needed.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux