From owner-freebsd-arm@freebsd.org Thu Oct 20 21:47:40 2016 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 2218BC1ADAD for ; Thu, 20 Oct 2016 21:47:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0101AA2 for ; Thu, 20 Oct 2016 21:47:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id F1913C1ADAC; Thu, 20 Oct 2016 21:47:39 +0000 (UTC) Delivered-To: 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 F1386C1ADAB for ; Thu, 20 Oct 2016 21:47:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 C20D3A1 for ; Thu, 20 Oct 2016 21:47:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22f.google.com with SMTP id 66so114881377itl.1 for ; Thu, 20 Oct 2016 14:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=I1NjIvIHpf3CLfELn6srCJmdRZemz1i1B9y215iUs/U=; b=1NUdzyKmcFTZyIALRGxK4w4g1trgLE33KagbA1Pc12LCE0MIwWJ423EbvhTl+XoxZE tivpDsVgnJq4V91OauZ0SY1vpkSc6zINtNuAS5v851asuuH5gtJWoqIDoyiIxGqG20h2 6xIvBrSLTVbKKPPNTj5rkNbCw49z9e1GHzBJajsgR1q0ZcFF3GUKpToCk05SLGrULh0Z 74zWlFPE/K7zBNHQDeAj6wdO0EnhE/GgyibAIZQkDSIIkyHJb0u255ANNa9BZp3HvJEu Py3GzHUIPmG/Lh+0iEuiqpZk1q95bzW7ZyPkLG97m3jCNrENErxIATTLH9FmT9c4isql IXOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=I1NjIvIHpf3CLfELn6srCJmdRZemz1i1B9y215iUs/U=; b=UMHBLe3xBdj8LZ2h7e1YxRj6/k9ZgYBYdtRQ3SfbGxFh0H5/o4lMEl7b/1RxN0c4pj uESWB/aUJx2Bi4mtWTfc3OEZvQ6ooNeO8jJNX54EHfMQIHkac014WtqQWubtNc3N3Vwn i4d+CxNUKhzzFwF+uh9vRY5azoThBewc+e3te+YWjQ4eqAdFWiRGxgUq4lDudDVyhbig xg6FkcwvKEmKKXobd4wnyd5oLxInHHxX40IEqsAIuSE769vL8yUstG4OlsI+fv3WQlxo TlL7nLdJ9KIujpsfmDKWv81KuFZLBlZ/Bhckjy3aq0b6rRr8IxiNUWc41dQid/384fvZ JC9A== X-Gm-Message-State: ABUngvf1MUeHSzui1GOYZudViTkb7aukG4EH1Ib4fW1vy2aJ/zd03Lgx8NuOg9yFHQuP87aSiBpkMJ7MGuxHUA== X-Received: by 10.107.15.222 with SMTP id 91mr3216818iop.19.1477000058771; Thu, 20 Oct 2016 14:47:38 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.77.85 with HTTP; Thu, 20 Oct 2016 14:47:37 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: <1AAEF01D-2542-4E81-A956-7C7184382E44@freebsd.org> References: <41AB8519-CF94-4C3A-9EA3-C1600BF8B396@freebsd.org> <1AAEF01D-2542-4E81-A956-7C7184382E44@freebsd.org> From: Warner Losh Date: Thu, 20 Oct 2016 15:47:37 -0600 X-Google-Sender-Auth: Zrat5sxJ6V9PHCc_Jy86crRJrBE Message-ID: Subject: Re: Building the kernel the old way fails To: Michael Tuexen Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 21:47:40 -0000 On Thu, Oct 20, 2016 at 2:26 PM, Michael Tuexen wrote: >> On 20 Oct 2016, at 22:08, Warner Losh wrote: >> >> On Thu, Oct 20, 2016 at 2:06 PM, Michael Tuexen wrote: >>> Dear all, >>> >>> when trying to build a head kernel on a RPI2 the old way fails: >>>> pwd >>> /usr/home/tuexen/head/sys/arm/compile/GENERIC >>>> make >>> make: "/usr/home/tuexen/head/sys/arm/compile/GENERIC/Makefile" line 84: Malformed conditional (${TARGET_ARCH} != "armv6" && defined(KERNPHYSADDR)) >>> make: Fatal errors encountered -- cannot continue >>> make: stopped in /usr/home/tuexen/head/sys/arm/compile/GENERIC >>> >>> I guess TARGET_ARCH is not set... >> >> You can set it to armv6 to work around it. > I did, but >> >> This test should be MACHINE_ARCH. LEmme fix that. > prefer a fix... Thanks a lot! Already committed :) Warner