From owner-freebsd-arm@FreeBSD.ORG Thu Apr 24 20:38:06 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC66A4DF; Thu, 24 Apr 2014 20:38:05 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail0.glenbarber.us", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A7FDC1B07; Thu, 24 Apr 2014 20:38:05 +0000 (UTC) Received: from glenbarber.us (c-71-224-221-174.hsd1.nj.comcast.net [71.224.221.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 7A193150; Thu, 24 Apr 2014 20:38:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 7A193150 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Thu, 24 Apr 2014 16:38:01 -0400 From: Glen Barber To: Ian Lepore Subject: Re: buildkernel: #error "On SMP systems we should have proper atomic operations." Message-ID: <20140424203801.GH49791@glenbarber.us> References: <5358AF80.4010403@passap.ru> <1398371698.61646.96.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nPae/vprxxBmi7c6" Content-Disposition: inline In-Reply-To: <1398371698.61646.96.camel@revolution.hippie.lan> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 20:38:06 -0000 --nPae/vprxxBmi7c6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > I try to compile a kernel at WANDBOARD-QUAD and get the error: > > ----- > > =3D=3D=3D> fuse (depend) > > [...] > > CC=3D'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=3Diso9899: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. > > ----- > >=20 > > The system: > > ----- > > % uname -a > > FreeBSD wandboard 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r264681: Sun Apr > > 20 02:39:12 SAMT 2014 > > root@bb052.bsnet:/home/bsam/crochet-freebsd-master/work/obj/arm.armv6/u= sr/src/sys/IMX6 > > arm > >=20 > > % 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 (=D1=81=D1=80, 23 =D0=B0= =D0=BF=D1=80 2014) > > ----- > >=20 > > --=20 > > WBR, Boris Samorodov (bsam) > > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve >=20 > Hmmm, for a wandboard you shouldn't get to line 120, it's for armv5. Oh > wait, you must have typo'd the TARGET=3D as arm instead of armv6, because: >=20 > -I/usr/obj/arm.arm/usr/src/sys/IMX6 -std=3Diso9899:1999 /usr/src/sys/mod >=20 > that should be obj/arm.armv6/ in that path. >=20 I think TARGET=3Darm TARGET_ARCH=3Darmv6 is the correct environment, not TARGET=3Darmv6. Or did something change (again!)? Glen --nPae/vprxxBmi7c6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJTWXYpAAoJELls3eqvi17QidgQAKsS8+JftCNQBSVX1hPZZuhy zJoF/C0FQYl90Pakei/eL4ElOD1R6lz0sdeSRLi7CqKkhoQYh5FDltr9h4ora/hl iL8b7tvT877txQhaKGqx+MbtnMKUVhG/RfkHSmQH2ylHhE6ngIcc/yGsaKINIKRO zt0nZKRpnYeSmbg+XJxOhWaQLr+oIN6FjT//7a22bVVW2pV0nlphPVkCFg5qNTtU X3YZOdtq6d0nZ+11pGg8MAwP6hUdq/y35Qw4AHRVrkEzPCaTUpxUT+xA61JMsHr9 gr4fQl6xCiLKiFvev0qTLUD1TYYSxf849i1KJqAFV+w9VrnjkMAR6uhT7qFfKzbx DAfszHGbpy25h8CrPkkYLJBhkx1y7Et8tieepY9loJFLScpYRm1rk/Q4PkEWZQ4A yLP3aIhDV/v+QaxkggedMq8LEsRFBnISpHzkp2hQ5MAWSE6LrT5InLsPoFWxktBB ehjUAw/TtwYPIhsKskpm7MXzzzgboslk7GqOdKY96FmhseSP+sF9zGjmgAwyYdTi xykw365zC2799TMZRgI7/SyDYj7tF8gzPo6aw3U9wT5PoObJcWhH9nbyXWuuQltV O090QKVesdBWNm/YJ3imOO3uDfKArA3G2tQ5HY5YPnre5bzGNGuQYM08Bk1UmpX4 Gpn01InbX3SI13b/f8GJ =ZBEl -----END PGP SIGNATURE----- --nPae/vprxxBmi7c6--