Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2017 17:19:42 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   build error at db_trace.c
Message-ID:  <486688.73503.qm@web101714.mail.ssk.yahoo.co.jp>

next in thread | raw e-mail | index | archive | help
Hi=0A=0AI have build error on mips today. I think db_printsym() change side=
 efect. I think the cause=0Aby gcc and=A0clang difference.=0A=0Acc -isystem=
 /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mips=0A/st=
orage/home/hiroki/freebsd/tmp/usr/include -L/storage/home/hiroki/obj//stora=
ge=0A/home/hiroki/zrouter/tmp//mips.mips/storage/home/hiroki/freebsd/tmp/us=
r/lib -B/s=0Atorage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.=
mips/storage/home/=0Ahiroki/freebsd/tmp/usr/lib --sysroot=3D/storage/home/h=
iroki/obj//storage/home/hiro=0Aki/zrouter/tmp//mips.mips/storage/home/hirok=
i/freebsd/tmp -B/storage/home/hiroki=0A/obj//storage/home/hiroki/zrouter/tm=
p//mips.mips/storage/home/hiroki/freebsd/tmp=0A/usr/bin -c -O2 -pipe -fno-s=
trict-aliasing =A0 -nostdinc=A0 -I. -I/storage/home/hiro=0Aki/freebsd/sys -=
I/storage/home/hiroki/freebsd/sys/contrib/libfdt -D_KERNEL -DHAV=0AE_KERNEL=
_OPTION_HEADERS -include opt_global.h=A0 -fno-pic -mno-abicalls -G0 -DKERN=
=0ALOADADDR=3D0x80050000 -march=3Dmips32 -MD=A0 -MF.depend.db_trace.o -MTdb=
_trace.o -msof=0At-float -ffreestanding -fwrapv -Wall -Wredundant-decls -Wn=
ested-externs -Wstrict=0A-prototypes -Wmissing-prototypes -Wpointer-arith -=
Winline -Wcast-qual -Wundef -W=0Ano-pointer-sign -fformat-extensions -Wmiss=
ing-include-dirs -fdiagnostics-show-op=0Ation -Wno-unknown-pragmas -Wno-uni=
nitialized=A0 -fno-common -fms-extensions -finli=0Ane-limit=3D768 --param i=
nline-unit-growth=3D100 --param large-function-growth=3D1000 -=0A-param max=
-inline-insns-single=3D1000 -DMACHINE_ARCH=3D'"mips"'=A0 -std=3Diso9899:199=
9 -=0AWerror=A0 /storage/home/hiroki/freebsd/sys/mips/mips/db_trace.c=0Acc1=
: warnings being treated as errors=0A/storage/home/hiroki/freebsd/sys/mips/=
mips/db_trace.c: In function 'stacktrace_s=0Aubr':=0A/storage/home/hiroki/f=
reebsd/sys/mips/mips/db_trace.c:120: warning: format '%jx'=0A=A0expects typ=
e 'uintmax_t', but argument 2 has type 'register_t' [-Wformat]=0A/storage/h=
ome/hiroki/freebsd/sys/mips/mips/db_trace.c:165: warning: format '%jx'=0A=
=A0expects type 'uintmax_t', but argument 2 has type 'register_t' [-Wformat=
]=0A*** Error code 1=0A=0AHiroki Mori



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