From owner-freebsd-arm@freebsd.org Wed Aug 5 12:23:25 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 8669A9B3A55 for ; Wed, 5 Aug 2015 12:23:25 +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 4F0051A1C for ; Wed, 5 Aug 2015 12:23:24 +0000 (UTC) (envelope-from bsz@semihalf.com) Received: by ykcq64 with SMTP id q64so28535238ykc.2 for ; Wed, 05 Aug 2015 05:23:23 -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=EHLDLnicfdtRIYrrqDaR6QFQRNfE0R1eGCe/hOIJ4CU=; b=I2EEAT6PBtSj0mpaiBGGEtrSMJilOlI3Un7K8ntFbFRoEDxU5mw6YmyGh+TeWyjRhj CWsuky15iv8RLtCv7d33gGDKA0JXqtAdzWLohEabqR5Xnp+8FcP0elf8YVjPCJrp9oaj bpxdWPdxy0BaV3OIASo/TT8q9cQmdkVgpL5V85MP9aZRCejqvblqRr8Q/XP5UWVm+a5N h2duan/Ll4+v+mcrcPW82yoVr+iDWNOJZP4SV98s6JGxo8P3SLp4awMJba/xpiMGQN4M Gsgqq+HV94b50Q1rmmSYN0k7spXfKB0NHzy0rYNOMKdl7iGkIVyr6lkos+ilVrkZQjHI EJjQ== X-Gm-Message-State: ALoCoQk1c0O9LdoI7qGbjEse2H/WTFB+SSq2GK+hdHaY9fr9rkcc/emzpaKbvUVS69g8yjhy43DZ MIME-Version: 1.0 X-Received: by 10.13.202.19 with SMTP id m19mr9002131ywd.97.1438777403778; Wed, 05 Aug 2015 05:23:23 -0700 (PDT) Received: by 10.129.72.74 with HTTP; Wed, 5 Aug 2015 05:23:23 -0700 (PDT) In-Reply-To: References: <4BE288C2-42EF-4D43-AFE5-E7685F8E7E63@bsdimp.com> Date: Wed, 5 Aug 2015 14:23:23 +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 12:23:25 -0000 Warner, 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/6c9b54c869088edab9c4bed15= 049c9e3aa3f99ae Thanks for your effort. Best regards, Bartosz Szczepanek 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/co= nfig/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.h= tml >>> >>> 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. >>> >>> 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 t= hat >> stuff (Ian and I added it and hashed out the bugs 9 months ago). I thou= ght it had >> been MFC=E2=80=99d. >> >> Warner >>