svn commit: r308434 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/mips/beri/loader sys/boot/ofw/libofw sys...

Cy Schubert Cy.Schubert at komquats.com
Sun Nov 13 22:56:27 UTC 2016


In message <CADSgWNG=xoi7PApur5s-UkbWVB=xZo0AK2xWapo3FwCZQ=vUOg at mail.gmail.c
om>
, Kamil Czekirda writes:
> --089e01493e848991660540f9cc32
> Content-Type: text/plain; charset=UTF-8
> 
> Hi,
> 
> I got the following:
> 
> root at current:/usr/src # svnlite up -r r308434
> Updating '.':
> U    lib/libstand/stand.h
> U    sys/boot/common/dev_net.c
> U    sys/boot/common/module.c
> U    sys/boot/common/part.c
> U    sys/boot/common/util.c
> U    sys/boot/common/util.h
> U    sys/boot/efi/libefi/efinet.c
> U    sys/boot/efi/libefi/efipart.c
> U    sys/boot/efi/loader/main.c
> U    sys/boot/i386/libfirewire/firewire.c
> U    sys/boot/i386/libi386/bioscd.c
> U    sys/boot/i386/libi386/biosdisk.c
> U    sys/boot/mips/beri/loader/beri_disk_cfi.c
> U    sys/boot/mips/beri/loader/beri_disk_sdcard.c
> U    sys/boot/ofw/libofw/ofw_disk.c
> U    sys/boot/pc98/libpc98/bioscd.c
> U    sys/boot/pc98/libpc98/biosdisk.c
> U    sys/boot/powerpc/kboot/hostdisk.c
> U    sys/boot/powerpc/ps3/ps3cdrom.c
> U    sys/boot/powerpc/ps3/ps3disk.c
> U    sys/boot/uboot/lib/disk.c
> U    sys/boot/usb/storage/umass_loader.c
> U    sys/boot/userboot/userboot/host.c
> U    sys/boot/userboot/userboot/userboot_disk.c
> U    sys/boot/zfs/zfs.c
> U    sys/boot/zfs/zfsimpl.c
> U    sys/boot/i386/libi386/pxe.c
> Updated to revision 308434.
> root at current:/usr/src # cd sys/boot/
> root at current:/usr/src/sys/boot # make clean
> (...)
> root at current:/usr/src/sys/boot # make obj
> (...)
> root at current:/usr/src/sys/boot # make
> (...)
> cc  -O2 -pipe   -DSKEIN_LOOP=111 -fPIC -I/usr/src/sys/boot/efi/loader
> -I/usr/src/sys/boot/efi/loader/arch/amd64
> -I/usr/src/sys/boot/efi/loader/../include
> -I/usr/src/sys/boot/efi/loader/../include/amd64
> -I/usr/src/sys/boot/efi/loader/../../../contrib/dev/acpica/include
> -I/usr/src/sys/boot/efi/loader/../../..
> -I/usr/src/sys/boot/efi/loader/../../i386/libi386
> -I/usr/src/sys/boot/efi/loader/../../zfs
> -I/usr/src/sys/boot/efi/loader/../../../cddl/boot/zfs
> -I/usr/src/sys/boot/efi/loader/../../../crypto/skein -DEFI_ZFS_BOOT
> -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS -DBOOT_FORTH
> -I/usr/src/sys/boot/efi/loader/../../ficl
> -I/usr/src/sys/boot/efi/loader/../../ficl/amd64
> -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT -fPIC
> -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/amd64
>  -I/usr/src/sys/boot/ficl/../common -I/usr/src/sys/boot/efi/loader/../../comm
> on
> -ffreestanding -Wformat -msoft-float -mno-mmx -mno-sse -mno-avx
> -fshort-wchar -mno-red-zone -mno-aes -g -MD  -MF.depend.vers.o -MTvers.o
> -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
> -Wno-enum-conversion -Wno-unused-local-typedef  -Qunused-arguments  -c
> vers.c -o vers.o
> cc  -O2 -pipe   -DSKEIN_LOOP=111 -fPIC -I/usr/src/sys/boot/efi/loader
> -I/usr/src/sys/boot/efi/loader/arch/amd64
> -I/usr/src/sys/boot/efi/loader/../include
> -I/usr/src/sys/boot/efi/loader/../include/amd64
> -I/usr/src/sys/boot/efi/loader/../../../contrib/dev/acpica/include
> -I/usr/src/sys/boot/efi/loader/../../..
> -I/usr/src/sys/boot/efi/loader/../../i386/libi386
> -I/usr/src/sys/boot/efi/loader/../../zfs
> -I/usr/src/sys/boot/efi/loader/../../../cddl/boot/zfs
> -I/usr/src/sys/boot/efi/loader/../../../crypto/skein -DEFI_ZFS_BOOT
> -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS -DBOOT_FORTH
> -I/usr/src/sys/boot/efi/loader/../../ficl
> -I/usr/src/sys/boot/efi/loader/../../ficl/amd64
> -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT -fPIC
> -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/amd64
>  -I/usr/src/sys/boot/ficl/../common -I/usr/src/sys/boot/efi/loader/../../comm
> on
> -ffreestanding -Wformat -msoft-float -mno-mmx -mno-sse -mno-avx
> -fshort-wchar -mno-red-zone -mno-aes -g -MD  -MF.depend.zfs.o -MTzfs.o
> -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
> -Wno-enum-conversion -Wno-unused-local-typedef -Wno-sign-compare
> -Wno-array-bounds -Wno-missing-prototypes -Qunused-arguments  -c
> /usr/src/sys/boot/efi/loader/../../zfs/zfs.c -o zfs.o
> /usr/src/sys/boot/efi/loader/../../zfs/zfs.c:599:14: error: incompatible
> pointer types initializing 'void (*)(int)' with an expression of type 'int
> (int)' [-Werror,-Wincompatible-pointer-types]
>         .dv_print = zfs_dev_print,
>                     ^~~~~~~~~~~~~
> 1 error generated.
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/src/sys/boot/efi/loader
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src/sys/boot/efi
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/sys/boot

While working on another issue I get something different. The following on 
mips/mips64 but not other targets/arches, just mips/mips64.

===> sys/boot/mips/beri/loader (all)
/home/cy/current/sys/boot/mips/beri/loader/devicename.c: In function 
'beri_arch_
parsedev':
/home/cy/current/sys/boot/mips/beri/loader/devicename.c:127: warning: 
passing ar
gument 2 of 'strtol' from incompatible pointer type
In file included from /home/cy/current/sys/boot/mips/beri/loader/exec.c:41:
/home/cy/current/sys/boot/mips/beri/loader/loader.h:44: warning: 'struct 
env_var
' declared inside parameter list
/home/cy/current/sys/boot/mips/beri/loader/loader.h:44: warning: its scope 
is on
ly this definition or declaration, which is probably not what you want
/home/cy/current/sys/boot/mips/beri/loader/exec.c: In function 
'beri_elf64_exec'
:
/home/cy/current/sys/boot/mips/beri/loader/exec.c:122: warning: passing 
argument
 4 of 'entry' makes integer from pointer without a cast
/home/cy/current/sys/boot/mips/beri/loader/beri_disk_sdcard.c:123: error: 
confli
cting types for 'beri_sdcard_disk_print'
/home/cy/current/sys/boot/mips/beri/loader/beri_disk_sdcard.c:50: error: 
previou
s declaration of 'beri_sdcard_disk_print' was here
/home/cy/current/sys/boot/mips/beri/loader/beri_disk_sdcard.c: In function 
'beri
_sdcard_disk_print':
/home/cy/current/sys/boot/mips/beri/loader/beri_disk_sdcard.c: In function 
'beri
_sdcard_disk_print':
/home/cy/current/sys/boot/mips/beri/loader/beri_disk_sdcard.c:131: warning: 
'ret
urn' with a value, in function returning void
/home/cy/current/sys/boot/mips/beri/loader/beri_disk_sdcard.c:142: warning: 
'ret
urn' with a value, in function returning void
--- beri_disk_sdcard.o ---
*** [beri_disk_sdcard.o] Error code 1

make[9]: stopped in /home/cy/current/sys/boot/mips/beri/loader


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the svn-src-head mailing list