[Bug 215034] ioat: doesn't compile on i386; probably should be blacklisted on !amd64 architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 4 02:09:33 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215034
Bug ID: 215034
Summary: ioat: doesn't compile on i386; probably should be
blacklisted on !amd64 architectures
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
$ make all
cc -O2 -pipe -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc -I/usr/src/svn/sys/modules/ioat/../.. -I. -I/usr/src/svn/sys
-fno-common -MD -MF.depend.ioat.o -MTioat.o -mno-mmx -mno-sse -msoft-float
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-aes -mno-avx
-std=iso9899:1999 -c /usr/src/svn/sys/modules/ioat/../../dev/ioat/ioat.c -o
ioat.o
/usr/src/svn/sys/modules/ioat/../../dev/ioat/ioat.c:489:28: error: implicit
conversion from 'unsigned long long' to 'bus_addr_t' (aka 'unsigned int')
changes value from 1099511627775 to 4294967295
[-Werror,-Wconstant-conversion]
2 * 1024 * 1024, 0x0, BUS_SPACE_MAXADDR_40BIT, BUS_SPACE_MAXADDR,
^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/svn/sys/modules/ioat/../../dev/ioat/ioat.c:63:33: note: expanded from
macro 'BUS_SPACE_MAXADDR_40BIT'
#define BUS_SPACE_MAXADDR_40BIT 0xFFFFFFFFFFULL
^~~~~~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make: stopped in /usr/src/svn/sys/modules/ioat
$ uname -a
FreeBSD fbsd12-i386.local 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r305956: Sun Sep
18 21:45:24 PDT 2016
ngie at fbsd11-i386.local:/usr/obj/usr/src/svn/sys/GENERIC-NODEBUG i386
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list