buildkernel: #error "On SMP systems we should have proper atomic operations."
Glen Barber
gjb at FreeBSD.org
Thu Apr 24 20:38:06 UTC 2014
On Thu, Apr 24, 2014 at 02:34:58PM -0600, Ian Lepore wrote:
> On Thu, 2014-04-24 at 10:30 +0400, Boris Samorodov wrote:
> > Hi All,
> >
> > I try to compile a kernel at WANDBOARD-QUAD and get the error:
> > -----
> > ===> fuse (depend)
> > [...]
> > CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE
> > -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq
> > -I/usr/obj/arm.arm/usr/src/sys/IMX6 -std=iso9899:1999 /usr/src/sys/mod
> > ules/fuse/../../fs/fuse/fuse_node.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_io.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_device.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_ipc.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_file.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_vfsops.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_vnops.c
> > /usr/src/sys/modules/fuse/../.
> > ./fs/fuse/fuse_internal.c
> > /usr/src/sys/modules/fuse/../../fs/fuse/fuse_main.c
> > --- .depend ---
> > /usr/src/sys/arm/arm/stdatomic.c:120:2: error: "On SMP systems we should
> > have proper atomic operations."
> > #error "On SMP systems we should have proper atomic operations."
> > ^
> > 1 error generated.
> > -----
> >
> > The system:
> > -----
> > % uname -a
> > FreeBSD wandboard 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r264681: Sun Apr
> > 20 02:39:12 SAMT 2014
> > root at bb052.bsnet:/home/bsam/crochet-freebsd-master/work/obj/arm.armv6/usr/src/sys/IMX6
> > arm
> >
> > % svnlite info /usr/src
> > Path: /usr/src
> > Working Copy Root Path: /usr/src
> > URL: https://svn0.us-west.freebsd.org/base/head
> > Relative URL: ^/head
> > Repository Root: https://svn0.us-west.freebsd.org/base
> > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> > Revision: 264824
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: ed
> > Last Changed Rev: 264823
> > Last Changed Date: 2014-04-23 18:05:28 +0400 (ср, 23 апр 2014)
> > -----
> >
> > --
> > WBR, Boris Samorodov (bsam)
> > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
>
> Hmmm, for a wandboard you shouldn't get to line 120, it's for armv5. Oh
> wait, you must have typo'd the TARGET= as arm instead of armv6, because:
>
> -I/usr/obj/arm.arm/usr/src/sys/IMX6 -std=iso9899:1999 /usr/src/sys/mod
>
> that should be obj/arm.armv6/ in that path.
>
I think TARGET=arm TARGET_ARCH=armv6 is the correct environment, not
TARGET=armv6.
Or did something change (again!)?
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140424/2033c69e/attachment.sig>
More information about the freebsd-arm
mailing list