Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
-9 build failure
A macppc build of today's netbsd-9 on amd64 fails with
[...]
dependall ===> lib/../sys/rump/net/lib/libvlan
# compile libvlan/if_vlan.o
/u3/netbsd-builds/9/macppc/tools/bin/powerpc--netbsd-gcc -O2
-fno-delete-null-pointer-checks -ffreestanding -fno-strict-aliasing
-std=gnu99 -Wa
ll -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wsystem-headers -Wno-traditional
-Wa,--fatal-warnings -Wreturn-ty
pe -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -Wno-sign-compare -Werror -Wno-format-zero-length
-Wno-pointer-sign
-I/export/netbsd-9/sys/rump/net/lib/libvlan/../../../include
--sysroot=/u3/netbsd-builds/9/macppc/destdir -D_RUMPKERNEL
-I/export/netbsd-9/sys/rump/
net/lib/libvlan/../../../librump/rumpkern -DCOMPAT_50 -DCOMPAT_60
-DCOMPAT_70 -DCOMPAT_80 -nostdinc -imacros
/export/netbsd-9/sys/rump/net/lib/libvlan
/../../../include/opt/opt_rumpkernel.h
-I/export/netbsd-9/sys/rump/net/lib/libvlan -I.
-I/export/netbsd-9/sys/rump/net/lib/libvlan/../../../../../comm
on/include -I/export/netbsd-9/sys/rump/net/lib/libvlan/../../../include
-I/export/netbsd-9/sys/rump/net/lib/libvlan/../../../include/opt
-I/export/net
bsd-9/sys/rump/net/lib/libvlan/../../../../arch
-I/export/netbsd-9/sys/rump/net/lib/libvlan/../../../.. -DDIAGNOSTIC
-DKTRACE -c /export/netbsd-9
/sys/rump/net/lib/libvlan/../../../../net/if_vlan.c -o if_vlan.o
/export/netbsd-9/sys/rump/net/lib/libvlan/../../../../net/if_vlan.c: In
function 'vlan_ether_addmulti':
/export/netbsd-9/sys/rump/net/lib/libvlan/../../../../net/if_vlan.c:1211:78:
error: format '%ld' expects argument of type 'long int', but argument 4
has type 'unsigned int' [-Werror=format=]
printf("%s: sa->sa_len (%d) larger than sizeof(struct
sockaddr_storage) (%ld)\n",
~~^
%d
cc1: all warnings being treated as errors
*** Failed target: if_vlan.o
[...]
Cheerio,
Hauke
--
Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany
Home |
Main Index |
Thread Index |
Old Index