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>
References:  <20110325120721.GA977@ei.bzerk.org>

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

On Mar 25, 2011, at 6:07 AM, Ruben de Groot wrote:
> This used to work until yesterday.
>=20
> Building arm (SHEEVAPLUG) world + kernel on i386.
> With freshly csupped -current sources my crosscompile gives me the =
following error:
>=20
> # make -j 8 buildworld TARGET_ARCH=3Darm
> ...
> # make buildkernel TARGET_ARCH=3Darm KERNCONF=3DSHEEVAPLUG
> ...
> cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing  -std=3Dc99  =
-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=3D8000 --param inline-unit-growth=3D100 --param =
large-function-growth=3D1000 -march=3Darmv5te -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

>=20
> Stop in /usr/obj/arm.arm/usr/build/current/src/sys/SHEEVAPLUG
> *** Error code 1
>=20
> 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"
>=20
>=20




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