Compiling kernel with gcc43

Garrett Cooper yanefbsd at gmail.com
Thu Mar 25 17:31:07 UTC 2010


On Thu, Mar 25, 2010 at 10:18 AM, Mario Lobo <lobo at bsd.com.br> wrote:
> 2010/3/25 Ryan Stone <rysto32 at gmail.com>
>
>> If you just want to try it out you could disable -Werror for your own
>> build.  The reason that gcc 4.3 fails where 4.2 works fine is that the
>> gcc developers are adding new warnings with every compiler release, so
>> until somebody takes the time to fix all of the new warnings you won't
>> be able to build the kernel with -Werror.
>>
>
> All right !! Thanks for replying !
>
> There are a lot of locations throughout the source code where -Werror is
> enabled
> How can I disable -Werror globally? via src.conf ? will it do it for
> world/kernel?
> will this "damage" the resulting kernel/world binaries?

-Wno-error .
-Garrett


More information about the freebsd-hackers mailing list