Re: compile error

Justin Hibbits <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
Hi,

On Mon, 19 Nov 2018 14:24:49 +0900 (JST)
Mori Hiroki <[email protected]> wrote:

> Hi
> 
> I try to compile FreeBSD/ppc. I have error in kernel build.
> 
> I use 13-CURRENT code.
> 
> 
> cc
> --sysroot=/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/f
> reebsd/powerpc.powerpc/tmp
> -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/u
> sr/home/hiroki/freebsd/powerpc.powerpc/tmp/usr/bin -c -O -pipe
> -nostdinc  -I. -I/usr/home/hiroki/freebsd/sys
> -I/usr/home/hiroki/freebsd/sys/contrib/ck/include
> -I/usr/home/hiroki/freebsd/sys/contrib/libfdt -D_KERNEL
> -DHAVE_KERNEL_OPTION_HE ADERS -include opt_global.h   -msoft-float
> -fPIC -fno-omit-frame-pointer -MD  -M F.depend.pmap.o -MTpmap.o
> -mno-altivec -msoft-float -ffreestanding -fwrapv -fsta ck-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmiss
> ing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
> -fformat-ex tensions -Wmissing-include-dirs -fdiagnostics-show-option
> -Wno-unknown-pragmas - Wno-uninitialized  -fno-common -fms-extensions
> -finline-limit=15000 --param inli ne-unit-growth=100 --param
> large-function-growth=1000 -fms-extensions -Wa,-many
> -std=iso9899:1999
> -Werror  /usr/home/hiroki/freebsd/sys/powerpc/booke/pmap.c cc1:
> warnings being treated as
> errors /usr/home/hiroki/freebsd/sys/powerpc/booke/pmap.c: In function
> 'mmu_booke_mapdev
> _attr': /usr/home/hiroki/freebsd/sys/powerpc/booke/pmap.c:3620:
> warning: format '%lx' ex pects type 'long unsigned int', but argument
> 2 has type
> 'uintptr_t' [-Wformat] /usr/home/hiroki/freebsd/sys/powerpc/booke/pmap.c:3620:
> warning: format '%lx' ex pects type 'long unsigned int', but argument
> 4 has type 'vm_size_t' [-Wformat] *** Error code 1

Did you first make kernel-toolchain or make buildworld, for this?  I'm
assuming you're using either MPC85XX, MPC85XXSPE or QORIQ64 as the
kernel.  Which target are you using: powerpc, powerpcspe, or powerpc64?

- Justin
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.