Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 17:41:08 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Steven Hartland <smh@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r293724 - in head/sys/boot: arm64/libarm64 common efi/boot1 efi/fdt efi/include efi/include/arm64 efi/libefi efi/loader efi/loader/arch/amd64 efi/loader/arch/arm efi/loader/arch/arm64 i...
Message-ID:  <1452645668.46848.34.camel@freebsd.org>
In-Reply-To: <201601120217.u0C2HdBC089684@repo.freebsd.org>
References:  <201601120217.u0C2HdBC089684@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2016-01-12 at 02:17 +0000, Steven Hartland wrote:
> Author: smh
> Date: Tue Jan 12 02:17:39 2016
> New Revision: 293724
> URL: https://svnweb.freebsd.org/changeset/base/293724
> 
> Log:
>   Enable warnings in EFI boot code
>   
>   Set WARNS if not set for EFI boot code and fix the issues
> highlighted by
>   setting it.
>   

This appears to break arm builds when gcc is the compiler:

cc1: warnings being treated as errors
In file included from /local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/../include/efi.h:52,
                 from /local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/efi_fdt.c:35:
/local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/../include/efiapi.h:535: warning: function declaration isn't a prototype
In file included from /local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/efi_fdt.c:39:
/local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/../../common/bootstrap.h:332: warning: redundant redeclaration of 'delay'
/local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/../include/efilib.h:53: warning: previous declaration of 'delay' was here
/local/build/staging/freebsd/rm92/src/sys/boot/efi/fdt/../../common/bootstrap.h:336: warning: redundant redeclaration of 'time'
/bsdstg/rm92/obj/arm.arm/local/build/staging/freebsd/rm92/src/tmp/usr/include/time.h:154: warning: previous declaration of 'time' was here

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1452645668.46848.34.camel>