Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build break on ixgbe



With src/ updated on 2014-03-26 and kernel config

ixg*     at pci? dev ? function ?        # Intel 82599 10GbE

#   compile  GENERIC/ixgbe.o
/usr/src/obj/tooldir.NetBSD-6.99.31-amd64/bin/x86_64--netbsd-gcc -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -mno-avx -msoft-float -ffreestanding -fno-zero-initialized-in-bss -O2 -fno-omit-frame-pointer -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare --sysroot=/usr/src/obj/destdir.amd64 -Damd64 -Dx86_64 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string -D_FORTIFY_SOURCE=2 -I/usr/src/sys/external/bsd/ipf -I/usr/src/sys/external/isc/atheros_hal/dist -I/usr/src/sys/external/isc/atheros_hal/ic -I/usr/src/sys/external/bsd/drm/dist/bsd-core -I/usr/src/sys/external/bsd/drm/dist/shared-core -I/usr/src/sys/../common/include -I/usr/src/sys/external/bsd/acpica/dist/include -c /usr/src/sys/dev/pci/ixgbe/ixgbe.c
/usr/src/sys/dev/pci/ixgbe/ixgbe.c: In function 'ixgbe_xmit':
/usr/src/sys/dev/pci/ixgbe/ixgbe.c:1767:31: error: variable 'txbuf_mapped' set but not used [-Werror=unused-but-set-variable]
  struct ixgbe_tx_buf *txbuf, *txbuf_mapped;
                               ^
/usr/src/sys/dev/pci/ixgbe/ixgbe.c: In function 'ixgbe_allocate_legacy':
/usr/src/sys/dev/pci/ixgbe/ixgbe.c:2264:6: error: variable 'rid' set but not used [-Werror=unused-but-set-variable]
  int rid = 0;
      ^
/usr/src/sys/dev/pci/ixgbe/ixgbe.c: In function 'ixgbe_free_pci_resources': /usr/src/sys/dev/pci/ixgbe/ixgbe.c:2552:12: error: variable 'memrid' set but not used [-Werror=unused-but-set-variable]
  int  rid, memrid;
            ^
/usr/src/sys/dev/pci/ixgbe/ixgbe.c: In function 'ixgbe_setup_receive_ring': /usr/src/sys/dev/pci/ixgbe/ixgbe.c:3912:12: error: variable 'dev' set but not used [-Werror=unused-but-set-variable]
  device_t  dev;
            ^
/usr/src/sys/dev/pci/ixgbe/ixgbe.c: In function 'ixgbe_rx_input':
/usr/src/sys/dev/pci/ixgbe/ixgbe.c:4292:19: error: variable 'ec' set but not used [-Werror=unused-but-set-variable]
  struct ethercom *ec;
                   ^
                   ^
/usr/src/sys/dev/pci/ixgbe/ixgbe.c: In function 'ixgbe_rx_checksum':
/usr/src/sys/dev/pci/ixgbe/ixgbe.c:4671:7: error: variable 'sctp' set but not used [-Werror=unused-but-set-variable]
  bool sctp = FALSE;
       ^
cc1: all warnings being treated as errors
*** [ixgbe.o] Error code 1




Home | Main Index | Thread Index | Old Index