build error on mips by gcc

Mori Hiroki yamori813 at yahoo.co.jp
Wed Apr 25 06:04:18 UTC 2018


Hi

I build today current. I have compile error at atheros by gcc.

cc -isystem /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s
torage/home/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/home/hiroki/zorg
/obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips.mips/
tmp/usr/lib -B/storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp
/storage/home/hiroki/freebsd/mips.mips/tmp/usr/lib --sysroot=/storage/home/hirok
i/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips
.mips/tmp -B/storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s
torage/home/hiroki/freebsd/mips.mips/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasi
ng   -nostdinc  -I. -I/storage/home/hiroki/freebsd/sys -I/storage/home/hiroki/fr
eebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_glo
bal.h  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80001000 -march=mips32 -MD  -
MF.depend.pm_machdep.o -MTpm_machdep.o -msoft-float -ffreestanding -fwrapv -Wall
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wp
ointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions 
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-unini
tialized  -fno-common -fms-extensions -finline-limit=768 --param inline-unit-gro
wth=100 --param large-function-growth=1000 --param max-inline-insns-single=1000 
-DMACHINE_ARCH='"mips"'  -std=iso9899:1999 -Werror  /storage/home/hiroki/freebsd
/sys/mips/mips/pm_machdep.c
cc1: warnings being treated as errors
/storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c: In function 'ptrace_sin
gle_step':
/storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l
x' expects type 'long unsigned int', but argument 4 has type 'uintptr_t' [-Wform
at]
/storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l
x' expects type 'long unsigned int', but argument 5 has type 'uintptr_t' [-Wform
at]
/storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c: In function 'ptrace_cle
ar_single_step':
/storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:505: warning: format '%l
x' expects type 'long unsigned int', but argument 5 has type 'uintptr_t' [-Wform
at]
*** Error code 1

Stop.
make[3]: stopped in /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRout
er/tmp/storage/home/hiroki/freebsd/mips.mips/sys/IOData_WN-G300R
*** Error code 1

Stop.
make[2]: stopped in /storage/home/hiroki/freebsd
*** Error code 1

Stop.
make[1]: stopped in /storage/home/hiroki/freebsd
*** Error code 1


More information about the freebsd-mips mailing list