From owner-svn-src-all@FreeBSD.ORG Tue May 27 07:36:44 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9BD91690; Tue, 27 May 2014 07:36:44 +0000 (UTC) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1362893; Tue, 27 May 2014 07:36:42 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AooHAFc/hFNbsXvB/2dsb2JhbABZgweub5RQAYEKF3SCJQEBBTIBIyMQCw4KCSUPKh4GE4hGAdQhF45SB4RAAQOZcpMogzo7 Received: from 193.123-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.123.193]) by relay.skynet.be with ESMTP; 27 May 2014 09:36:34 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s4R7aXAV001077; Tue, 27 May 2014 09:36:33 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Tue, 27 May 2014 09:36:33 +0200 From: Tijl Coosemans To: Warner Losh Subject: Re: svn commit: r266553 - head/release/scripts Message-ID: <20140527093633.0a922e13@kalimero.tijl.coosemans.org> In-Reply-To: <05D1A11D-5985-42EA-84AD-209A8B51D391@bsdimp.com> References: <201405221922.s4MJM4Y9025265@svn.freebsd.org> <537F6706.6070509@freebsd.org> <20140523153619.GF72340@ivaldir.etoilebsd.net> <537F6EBC.3080008@freebsd.org> <20140523162020.GG72340@ivaldir.etoilebsd.net> <20140524165940.3c687553@kalimero.tijl.coosemans.org> <5380C311.60201@freebsd.org> <20140524185345.263f230d@kalimero.tijl.coosemans.org> <1400955835.1152.323.camel@revolution.hippie.lan> <5380EBA8.1030200@freebsd.org> <20140525011307.142b41ab@kalimero.tijl.coosemans.org> <3CCAFAD3-FABE-40EF-ABF9-815FE5826349@bsdimp.com> <9FE34CE4-C71F-4806-9EF6-30CB1051C62F@bsdimp.com> <20140526113502.239db74d@kalimero.tijl.coosemans.org> <5383522F.30108@freebsd.org> <20140527001811.3e9d3e8d@kalimero.tijl.coosemans.org> <05D1A11D-5985-42EA-84AD-209A8B51D391@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1253 Content-Transfer-Encoding: 8bit Cc: Baptiste Daroussin , src-committers@freebsd.org, Ian Lepore , svn-src-all@freebsd.org, Glen Barber , Nathan Whitehorn , svn-src-head@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 07:36:44 -0000 On Mon, 26 May 2014 16:31:21 -0600 Warner Losh wrote: > On May 26, 2014, at 4:18 PM, Tijl Coosemans wrote: >> On Mon, 26 May 2014 09:53:57 -0600 Warner Losh wrote: >>> On May 26, 2014, at 8:39 AM, Nathan Whitehorn wrote: >>>> On 05/26/14 02:35, Tijl Coosemans wrote: >>>>> I suppose you could replace the "x86" in the pkg scheme with i386/amd64, >>>>> but then you'd still be talking about i386:32, amd64:32 and amd64:64 >>>>> instead of x86:32, x86:x32 and x86:64. >>> >>> I suppose you could replace these by “i386”, “x32” (or “amd64x32”) and >>> “amd64” respectively. >> >> So you're on an amd64 or mips64 system (as indicated by uname) but you >> want to use the 32-bit package if possible. How does your script know >> about the magic "x32", "amd64x32" or "mipsn32" strings? Wouldn't it be >> easier if you could just use "`uname -p`:32”? > > Oh give me a break. You know it because you know you are building for > mipsn32 because that’s what you’ve set MACHINE_ARCH or TARGET_ARCH to, No, MACHINE_ARCH or TARGET_ARCH is "amd64" or "mips64". You are building the 64-bit OS and then decide separately per package whether you want the ILP32 one or the LP64 one.