Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 15:01:58 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        "jhb@freebsd.org" <jhb@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   build error on mips by gcc
Message-ID:  <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp>

next in thread | raw e-mail | index | archive | help

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



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