crosscompile broken?

Warner Losh imp at bsdimp.com
Fri Mar 25 18:06:41 UTC 2011


On Mar 25, 2011, at 6:07 AM, Ruben de Groot wrote:
> This used to work until yesterday.
> 
> Building arm (SHEEVAPLUG) world + kernel on i386.
> With freshly csupped -current sources my crosscompile gives me the following error:
> 
> # make -j 8 buildworld TARGET_ARCH=arm
> ...
> # make buildkernel TARGET_ARCH=arm KERNCONF=SHEEVAPLUG
> ...
> cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/build/current/src/sys -I/usr/build/current/src/sys/contrib/altq -I/usr/build/current/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -march=armv5te -ffreestanding -Werror  /usr/build/current/src/sys/ufs/ffs/ffs_softdep.c
> /usr/build/current/src/sys/ufs/ffs/ffs_softdep.c: In function 'softdep_request_cleanup':
> /usr/build/current/src/sys/ufs/ffs/ffs_softdep.c:520: error: number of arguments doesn't match prototype
> /usr/build/current/src/sys/ufs/ffs/ffs_extern.h:123: error: prototype declaration
> *** Error code 1

Looks more like a normal compilation error.  Have you checked to see if ffs_extern.h and ffs_softdep.c have the same prototypes for softdep_request_cleanup?

Warner

> 
> Stop in /usr/obj/arm.arm/usr/build/current/src/sys/SHEEVAPLUG
> *** Error code 1
> 
> Stop in /usr/build/current/src.
> *** Error code 1
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-arm mailing list