From owner-freebsd-arm@freebsd.org Wed Aug 5 16:37:50 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C36C59B47CD for ; Wed, 5 Aug 2015 16:37:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 977D3138D for ; Wed, 5 Aug 2015 16:37:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by pdrg1 with SMTP id g1so20812510pdr.2 for ; Wed, 05 Aug 2015 09:37:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=vRMUiQFV6zYcX/qs4V7yDZdoJiIwvyUSHcYiwd2Lj08=; b=F7AAFqYXV/MN1ikAkCug+2+Sl3qr+dgGZtKBQ6kgfZGFdbQRWt1DRdphQLbmQlsjgN sjCGupgjwgwBIr9qD0nyuAC7Qc67h4NEdKNRNz7XMWLwD+XjM0C+H4d1RZM/KdiAKJVG 94GZ4G3hLVrR54tikjYuOKUSsiXvrnAmkirdoSxryRGxybFakQogTHmZVyupFwKBuLcW yj+yMrTnplVMJu8h6rCgp3Wn+2JLw2LtyFoAvAD6RdorJzTibObirPwm9eeZ4bk+xE4A 2VIQkFl6hIZC64HWh9f33aJde5BQ206rZ6rXqAPZybLWe4fIZCckMgTPZSuXjZROxUEA oOpg== X-Gm-Message-State: ALoCoQkORd9dsyb11/nX0NmPRgSLBIEcE6SKm9h5hr1+nMb1AnfLvDUfaxm0X5iBFgm+A0TBG90D X-Received: by 10.70.48.137 with SMTP id l9mr20908127pdn.45.1438792663128; Wed, 05 Aug 2015 09:37:43 -0700 (PDT) Received: from [10.64.24.42] ([69.53.236.236]) by smtp.gmail.com with ESMTPSA id j1sm3466413pdn.27.2015.08.05.09.37.41 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Aug 2015 09:37:42 -0700 (PDT) Sender: Warner Losh Subject: Re: [armv5] buildkernel issue on stable/10 - Sheevaplug Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: multipart/signed; boundary="Apple-Mail=_564EA630-608B-43D7-8602-B3A98BDC1F16"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: Date: Wed, 5 Aug 2015 10:37:39 -0600 Cc: freebsd-arm , Marcin Wojtas , ian@freebsd.org Message-Id: <84C5D8CC-E31B-415C-8893-6EB673FD804E@bsdimp.com> References: <4BE288C2-42EF-4D43-AFE5-E7685F8E7E63@bsdimp.com> To: Bartosz Szczepanek X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 16:37:50 -0000 --Apple-Mail=_564EA630-608B-43D7-8602-B3A98BDC1F16 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 config is built as part of the bootstrap tools, which any of the = buildworld, toolchain or kernel-toolchain targets build. It isn=E2=80=99t built as = part of buildkernel if it is out of date. The version should have warned here. Maybe the = makefile version wasn=E2=80=99t bumped in for Makefile.arm when things were = MFC=E2=80=99d, or maybe I messed up bumping the config version number. I=E2=80=99ll look = into those... Warner > On Aug 5, 2015, at 6:23 AM, Bartosz Szczepanek = wrote: >=20 > Warner, >=20 > it seems that my config binary didn't get rebuilded after make clean > and make buildkernel, therefore old version remained. After removing > content of build directory it worked. Commit you mentioned is in tree > indeed: = https://github.com/freebsd/freebsd/commit/6c9b54c869088edab9c4bed15049c9e3= aa3f99ae > Thanks for your effort. >=20 > Best regards, > Bartosz Szczepanek >=20 > 2015-08-05 9:34 GMT+02:00 Bartosz Szczepanek : >> Hello, >> [bsz@x10-fbsd ~]$ >> = ~/build/arm.arm/usr/home/bsz/freebsd/tmp/usr/home/bsz/freebsd/usr.sbin/con= fig/config >> -V >> 600013 >>=20 >> 2015-08-04 17:22 GMT+02:00 Warner Losh : >>>=20 >>>> On Aug 4, 2015, at 8:18 AM, Bartosz Szczepanek = wrote: >>>>=20 >>>> Hello, >>>>=20 >>>> I'm building stable/10 kernel for Sheevaplug, using default >>>> configuration (sys/arm/conf/SHEEVAPLUG). On linking stage issue of >>>> undefined references emerges (log attached). These references lead = to >>>> files with '!armv6' option in sys/conf/files.arm. Supossedly config >>>> tool doesn't support negation in options (this is the only = occurence >>>> of exclamation mark in sys/conf/files*), even though this Ian's = patch >>>> was introduced: >>>> = https://lists.freebsd.org/pipermail/svn-src-head/2014-November/065302.html= >>>>=20 >>>> Changing 'optional' to 'standard' solves the issue on armv5 = platform, >>>> as well as reverting to old 'cpu_*' settings. Build command I used = was >>>> 'make -j5 buildkernel TARGET=3Darm -DNO_MODULES = KERNCONF=3DSHEEVAPLUG', >>>> but I tried with MACHINE_ARCH=3Darm and TARGET_ARCH=3Darm as well = with no >>>> effect. >>>>=20 >>>> Please, let me know if this issue can be solved in more generic way >>>> than described above. >>>=20 >>> What version does config claim to be on stable/10? config does = support that >>> stuff (Ian and I added it and hashed out the bugs 9 months ago). I = thought it had >>> been MFC=E2=80=99d. >>>=20 >>> Warner >>>=20 --Apple-Mail=_564EA630-608B-43D7-8602-B3A98BDC1F16 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVwjvTAAoJEGwc0Sh9sBEAVnIQAIMMBBNx6E4DuVQkGQKk/bTd QwpFKIb+QXXKZilwMMyFUuymPnwUNmENpkdgpfxZHkfxAj1x+RuQ4yMws7m/9eez Cx9g0bUDPRCIr3m0yQgmOmxj4ZX3/HdZfeE3QdzsTIMBdnaAjImVcUfFtOVXF3dA yYukZhGP6hKkRrjMVidBn9uEH9w3ODbMZHAVBtYjtHLrgSXDYf8jxXYmr5pyfcG6 omwULk2xeu00v79Mi64lhaJol+CmBEoVqYJkq2cPEP1qYO548Vomlv22NVF2yRUy iE+bvNSyAgjKc+PaPo8opsztAtyc8gxsVTaDTcjLRKDXqfoPHIeUgS6UrpFkyedU MuXPg79iOl8HoNXltU/DA60fiejsB7KxTDbTjv/TOuWZ2Hm8a/C6XbRM2joRjEbT qMj+RxG8sQnWpuJyD9oSG4a6Hn9aBT9ocWHCU8HUmO+0DJEzgp4cwMaY2pV6aM9D VHN2M1mDrPuzfAwuv5TSOGGeymlc6tc7OjDTvNw6HtCeAJiMPR6FZP41BE3mQFLi dHDeMVtyNiy3R4HuN7CUFIq+jfHe4SIYCzbukR5LL6xMZqOZLTkuSSmUMc9D+Pwh CIiyF4Fp3S9nzHkrVy2p5hQvnWrZtsPmSVFpiKAwetylAu+lcDDzQZDaYdYyVfuj TXRfCkY8bTAN9e/nPV9H =Ox9H -----END PGP SIGNATURE----- --Apple-Mail=_564EA630-608B-43D7-8602-B3A98BDC1F16--