Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 13:07:21 +0100
From:      Ruben de Groot <fbsd-arm@bzerk.org>
To:        arm@freebsd.org
Subject:   crosscompile broken?
Message-ID:  <20110325120721.GA977@ei.bzerk.org>

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

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

Stop in /usr/obj/arm.arm/usr/build/current/src/sys/SHEEVAPLUG
*** Error code 1

Stop in /usr/build/current/src.
*** Error code 1



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