From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 22 20:10:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38F4106564A for ; Wed, 22 Aug 2012 20:10:46 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2008FC1D for ; Wed, 22 Aug 2012 20:10:44 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgsFAFs7NVBbsUsY/2dsb2JhbAA7Crcdgy+BCIIgAQEFViIRCxgJFg8JAwIBAgEnHgYBDAgBAReHdrkriwgQhwwDjl2BIJVogmWBXw Received: from 24.75-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.75.24]) by relay.skynet.be with ESMTP; 22 Aug 2012 22:09:35 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.5/8.14.5) with ESMTP id q7MK9Yo1007388; Wed, 22 Aug 2012 22:09:34 +0200 (CEST) (envelope-from tijl@freebsd.org) Message-ID: <50353C77.2070602@freebsd.org> Date: Wed, 22 Aug 2012 22:09:27 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120804 Thunderbird/14.0 MIME-Version: 1.0 To: Dan McGregor , freebsd-hackers@freebsd.org References: <20120821084930.GM33100@deviant.kiev.zoral.com.ua> In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE8133964C8851F885FB99C4D" Cc: Subject: Re: Build 32 bit binaries on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 20:10:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8133964C8851F885FB99C4D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21-08-2012 17:04, Dan McGregor wrote: > My solution is certainly fairly hacky, I just took inspiration from=20 > NetBSD. I wanted to see if it could be done. While I was there I did > identify several files that should be common between i386 and amd64, > such as exec.h. >=20 > Since reading your email I started looking at the x86 common code, > and have made some more code common; specifically asm.h ans > ucontext.h. I'll be putting that on github shortly. >=20 > Since it does look like tijl hasn't committed anything since March, > I would like to co-operate and see what his plans were. The idea of > merging the i386 and amd64 headers into a common area seems like a > better idea to me. For now my goal was to merge headers that can be used by user code so it can be compiled with -m32. Eventually, I think it would be nice to merge all headers and install x86/ as machine/ for both i386 and amd64. That would make the x86 headers similar to powerpc and mips headers (and arm when 64bit support is added there). I think I still have one or two (untested) patches. I'll have a look at it during the weekend. --------------enigE8133964C8851F885FB99C4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iF4EAREIAAYFAlA1PH4ACgkQfoCS2CCgtiv52AD+Loo7vrNn6Bdfbxyc+Hsg7VPf f1tl5sdN/0jcLP1WhVEA/AxM1R+D8yP1DN9XphBV4IZzo9E2k6BbjNwGmsEz/vnL =ge49 -----END PGP SIGNATURE----- --------------enigE8133964C8851F885FB99C4D--