Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2016 02:09:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215034] ioat: doesn't compile on i386; probably should be blacklisted on !amd64 architectures
Message-ID:  <bug-215034-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215034

            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@FreeBSD.org
          Reporter: ngie@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-flo=
at
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr=
intf__
-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=
=20
-std=3Diso9899: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_MAXADD=
R,
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/svn/sys/modules/ioat/../../dev/ioat/ioat.c:63:33: note: expanded f=
rom
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=20=20=20=20
ngie@fbsd11-i386.local:/usr/obj/usr/src/svn/sys/GENERIC-NODEBUG  i386

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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