Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 12:35:14 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Mori Hiroki <yamori813@yahoo.co.jp>
Cc:        "jhb@freebsd.org" <jhb@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: build error on mips by gcc
Message-ID:  <20180425103513.GA85060@cicely7.cicely.de>
In-Reply-To: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp>
References:  <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 25, 2018 at 03:01:58PM +0900, Mori Hiroki wrote:
> 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

Same for me, must have happened somewhere between r332885 and 332970.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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