From owner-freebsd-stable@freebsd.org Tue Jan 26 09:08:52 2016 Return-Path: Delivered-To: freebsd-stable@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 BDFAFA4797D for ; Tue, 26 Jan 2016 09:08:52 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 5DBF8E8B; Tue, 26 Jan 2016 09:08:52 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id l65so95173940wmf.1; Tue, 26 Jan 2016 01:08:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=ZL5rRtnCJl+eU6haC32qEwJOL5LKTXeUpmhwwlizndo=; b=Q0FVeTvZn6DBuNAm9fcvOtnt/pxD8cGbJDiLpT2R1xng1vi41q5+Jw2C+yYZ3jRTQh shU566sMsZrrytc+MkrOMdFwYVDn4pDm1YVK24KNwVIh2EgHW05BPQ0OA7tKQT/zmM0w /Nmppp9+XbjBnTDyEO3xmzGvIJ9Hbs8qJ/icIsRx0MpxW8dlZQaj1R1lqr1+lGSk9w1o GIF8vIdKWvW2dO005DPeY/QNqxKEiLNHtM0JYOrWvL1Av50+g4Z5qBnp2B3TJNYTscx3 y5+WrzNxJ1kxHkoJH+/9ydZKhxWGyf5+1JOpDWVpxa213T2ptn3LP7lu9dyJhSHzKhOQ Rqcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=ZL5rRtnCJl+eU6haC32qEwJOL5LKTXeUpmhwwlizndo=; b=GPh4CA6kSRjK7QZ2zS8owr/Dim24eOaJIUrGnSCqd/j2z2M9snKDWKAUFPF9VueiNv V7dhOD64h31eG9arlb8wuD94mqoeF4rn9bXsggftcN91OyjJjV9QqFeoUQPX/LgWqJhB AOSBbnlFP0clhRVQqQ6djZk/eLuXgH7ZchyWJkfy+p4IJ2xCJ6c2LNM/EdHkQDeG7Cz2 B9fitoyeNkzq5wlH6rA2+7RAwSSEz2cV5a83mmmeUF6P3jebNjTxGfv1XtpL+b4xKhY4 RWWC/uJ6EZLscmIbAWagOdppX5AFXdbwjoxmxlMXagICLlLvBf83js9vBoAFHdRRlLZV r2fQ== X-Gm-Message-State: AG10YOStac73l8qzVwnRyZYtvdT9TJc0vzncqke5+Cy3FAq7FqR90Ld3jhCEqjsCIjwxxw== X-Received: by 10.194.71.77 with SMTP id s13mr25807375wju.175.1453799330879; Tue, 26 Jan 2016 01:08:50 -0800 (PST) Received: from oslo.ath.cx ([2a02:b18:581:10:699e:80:4ce5:b827]) by smtp.gmail.com with ESMTPSA id b1sm466595wjy.0.2016.01.26.01.08.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jan 2016 01:08:50 -0800 (PST) Date: Tue, 26 Jan 2016 10:08:48 +0100 Message-ID: <86twm0vhb3.wl-h.skuhra@gmail.com> From: "Herbert J. Skuhra" To: Daniel Eischen Cc: FreeBSD stable Subject: Re: Cross buildworld on amd64 for i386 errors In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.0.50 (i386-pc-freebsd10.3) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 09:08:52 -0000 On Tue, 26 Jan 2016 00:20:18 +0100, Daniel Eischen wrote: > = > On Mon, 25 Jan 2016, Craig Rodrigues wrote: > = > > On Mon, Jan 25, 2016 at 1:55 PM, Daniel Eischen > > wrote: > > = > >> = > >> I'm trying to build an i386 buildworld on an amd64 system. > >> I'm at r294370. > >> = > >> This is what I've tried so far: > >> = > >> make TARGET_ARCH=3Di386 MAKEOBJDIRPREFIX=3D/opt/foo/obj.x86 -j8 = buildworld > >> make TARGET=3Di386 MAKEOBJDIRPREFIX=3D/opt/foo/obj.x86 -j8 build= world > >> = > >> Neither of which work. They both result in the error below. What= > >> is the standard procedure for cross-building i386 from amd64? > >> = > > = > > It looks like you are not alone in encountering these problems. > > For this build set up by Li-Wen Hsu: > > https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386 > > = > > he downloads this image > > http://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/10.2-RELEASE/= base.txz > > and then extracts that to create an i386 jail, where the build is p= erformed > > on an amd64 host. > = > I guess there was a real compilation bug in the version of > -stable that I first used. After updating from r294370 to > r294747, the problem seems to have been fixed. FYI, the > following worked: > = > make TARGET_ARCH=3Di386 -j4 buildworld From=20make.conf(5): CAVEATS Note, that MAKEOBJDIRPREFIX and MAKEOBJDIR are environment variabl= es and should not be set in make.conf or as command line arguments to mak= e(1), but in make's environment. -- Herbert