Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 11:56:10 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Ruben de Groot <fbsd-arm@bzerk.org>
Cc:        arm@FreeBSD.org
Subject:   Re: crosscompile broken?
Message-ID:  <A634FF75-D783-4DA9-A43B-79C59F96EF22@bsdimp.com>
In-Reply-To: <20110325120721.GA977@ei.bzerk.org>

index | next in thread | previous in thread | raw e-mail


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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> 
> 



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A634FF75-D783-4DA9-A43B-79C59F96EF22>