From owner-freebsd-arm@freebsd.org Wed Aug 5 08:00:47 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 5E7819B474F for ; Wed, 5 Aug 2015 08:00:47 +0000 (UTC) (envelope-from bsz@semihalf.com) Received: from mail-yk0-f179.google.com (mail-yk0-f179.google.com [209.85.160.179]) (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 25C7B1E2F for ; Wed, 5 Aug 2015 08:00:46 +0000 (UTC) (envelope-from bsz@semihalf.com) Received: by ykeo23 with SMTP id o23so29006981yke.3 for ; Wed, 05 Aug 2015 01:00:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kmMPwt50gAIJQmm04XTLTwUCLb8O+k0R4Hp/1Zloq5M=; b=Wv2sfiSKd4ItvTwkbf6aEnFSPFq8Q3rmpQ9EttIUWemmlQojDWLtzyTIVt7+qLQjMZ UDYn5L60zaAOgAZYlCBrT1+s8L0HvhAh+6kpdLrnRyAppNuGRGo7a5GaStFL7oAkYsOn QA1fj+4SugwHyP7Oplq/rymskpYygmA5x33SCxW0z7L7TnDHgV0tdK+sDCOgNdAJyFyr Hmcph7V67RL4iRjdjwTyQRf3rLlPC/KRp0LjTyvMfoBJZbCK+pgoz39EIwG9onHrCWjD e0dgcIfni3bX8suM0mb43gGXIL5LaxbAOH4pyjtc0PGSnZS/38i7lPUgCwGDTMyFAXHe a8pA== X-Gm-Message-State: ALoCoQmrFfKvmMzuLsRPssmaKzt7aHxuKCTfth5oBoKsTnLnNs2e2CciZAlhsBE7wiYWReDKdNFm MIME-Version: 1.0 X-Received: by 10.129.42.132 with SMTP id q126mr8234303ywq.105.1438760046001; Wed, 05 Aug 2015 00:34:06 -0700 (PDT) Received: by 10.129.72.74 with HTTP; Wed, 5 Aug 2015 00:34:05 -0700 (PDT) In-Reply-To: <4BE288C2-42EF-4D43-AFE5-E7685F8E7E63@bsdimp.com> References: <4BE288C2-42EF-4D43-AFE5-E7685F8E7E63@bsdimp.com> Date: Wed, 5 Aug 2015 09:34:05 +0200 Message-ID: Subject: Re: [armv5] buildkernel issue on stable/10 - Sheevaplug From: Bartosz Szczepanek To: Warner Losh Cc: freebsd-arm@freebsd.org, Marcin Wojtas , ian@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 08:00:47 -0000 Hello, [bsz@x10-fbsd ~]$ ~/build/arm.arm/usr/home/bsz/freebsd/tmp/usr/home/bsz/freebsd/usr.sbin/conf= ig/config -V 600013 2015-08-04 17:22 GMT+02:00 Warner Losh : > >> On Aug 4, 2015, at 8:18 AM, Bartosz Szczepanek wrote: >> >> Hello, >> >> 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.ht= ml >> >> 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 n= o >> effect. >> >> Please, let me know if this issue can be solved in more generic way >> than described above. > > What version does config claim to be on stable/10? config does support th= at > stuff (Ian and I added it and hashed out the bugs 9 months ago). I thoug= ht it had > been MFC=E2=80=99d. > > Warner >