[issue524] Making world with gcc41?

walt wa1ter at myrealbox.com
Sat Jan 20 13:29:06 PST 2007


On Sat, 20 Jan 2007, Simon 'corecode' Schubert wrote:

>
> Simon 'corecode' Schubert <corecode at fs.ei.tum.de> added the comment:
>
> fixed

Thanks, Simon.  Buildworld works fine now, and even my custom kernel
builds -- but there is one sound module which fails with gcc41:

/usr/src/sys/dev/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:255:
error: static declaration of 'M_HDAC' follows non-static declaration
@/dev/sound/pci/hda/hdac_private.h:90: error: previous declaration of 'M_HDAC'
was here

BTW, the stripped kernel is actually smaller using gcc41:
3065336 --> 2991515.  (The debug kernel is a bit larger with gcc41, but
I don't think that is anything to criticize.)

Is there any reason to stay with gcc34 as the default any longer?






More information about the Bugs mailing list