From owner-freebsd-stable@freebsd.org Mon Jan 25 22:41:45 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 8C08CA4693A for ; Mon, 25 Jan 2016 22:41:45 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 587BF160B; Mon, 25 Jan 2016 22:41:45 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id z14so46572427igp.1; Mon, 25 Jan 2016 14:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=9/1rrvU6SMQA0x9odNOpI7UZzWlyh8ONA/GeH8lFdXU=; b=tQUWEzsmdTTYZ1zCyDxTvUeL/oup8T+RfszFiWOH30NF3BUH1lsyqWfXPBfeCEsL6G 8W/qTHdjhduCo0o/8bA8jFf35S0tJ+ti8kOWczIQ7jVluV2dpmMGfZdjfeKQI9Xg1Y8y ZPbON9/nMp9+pSqRtt7Q7moFZJux2Y9MPAMdiNlePe03bLCO1O5TSofu17NYdxY//vTw IUNrlYzOr7Yyawwk1Cf3U8sdz9s/JBt8dikWwsShtKpmI6M01Rfix9Chpc633r69Q8EA czhIJmfRVXJ+4ezL5rjM1noLnyV38HIhTT4bECRsJzqMvmCpoEFkxnFLTANhkMS0vCxT e9/w== 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:date :message-id:subject:from:to:cc:content-type; bh=9/1rrvU6SMQA0x9odNOpI7UZzWlyh8ONA/GeH8lFdXU=; b=cDBLM/C+Y+Fdt6e6TOCISLfPFst+KU1BLuvLyJxedMn0RiGjzcZqEoce+Q27sFki7Y cjtqnSW8owjiYAtv5EBLaSpW7WlW3ki2MYrCOl+CBL9ZHMMe47goI21vu7kQPNhDefvv 9sVPwqhtGuSjLPr/Ohc0t0t1RjrGi5oI2D+260SFQwH5v++MTZCdL8J622fMvti0w9Ef Lr7y9/SkB7rQnI0Yv+ydsN/GrsRahXIhLi123AVI7LA045rWbU4R511XMW0F8jeCU5ar GveyHJB/GwX4i3W9UmnjeNKjZUBcg7v87/wbkUz4WXzpw9shbpDmFYkQGwHBoJZkiDtB eqOA== X-Gm-Message-State: AG10YOTood/B+JxrqtrQr40agdL8dOHF+gCCWsCaBZjEt/VLU+1BrmZExYoshtjLaD+9/lPPt8iCShfBqmkWwg== MIME-Version: 1.0 X-Received: by 10.50.155.4 with SMTP id vs4mr18083176igb.86.1453761704777; Mon, 25 Jan 2016 14:41:44 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.50.152.69 with HTTP; Mon, 25 Jan 2016 14:41:44 -0800 (PST) In-Reply-To: References: Date: Mon, 25 Jan 2016 14:41:44 -0800 X-Google-Sender-Auth: vBrpsVSSEaFvlzfv9HUJsCRlu8M Message-ID: Subject: Re: Cross buildworld on amd64 for i386 errors From: Craig Rodrigues To: Daniel Eischen Cc: FreeBSD stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 25 Jan 2016 22:41:45 -0000 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=i386 MAKEOBJDIRPREFIX=/opt/foo/obj.x86 -j8 buildworld > make TARGET=i386 MAKEOBJDIRPREFIX=/opt/foo/obj.x86 -j8 buildworld > > 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 performed on an amd64 host. -- Craig