From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 14:39:28 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82F39106566B for ; Tue, 1 Sep 2009 14:39:28 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 19A518FC08 for ; Tue, 1 Sep 2009 14:39:27 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so48296eyf.9 for ; Tue, 01 Sep 2009 07:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Oa0XIBE911Y/OtWzZMQ+79Ix2ccCCXBirlVmRUj8Db0=; b=NaFJEL+4pFDoHSjOs5iivWi7q+vPZ0HCOb2NAMHcEZlxQoVTEN9HJXWm0x3Q412k4b DPAj08OqbIk+/NZShd8H2X80nYfKKt3cw7pY10bHMmarY3HTEiiEtc9Io5rkjm6C8bV2 bcx92AU4Fj8S3UKHHCovFM4vOX1KY8uD0hHmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=HrllReuyp0gEh4FEromh/gO873iPGZzV0tzzIGLlnghYXfmsUcDv5ysF1xs6XjIhWP thcNsXdMqBQfyOudxNzlRMhtTyDMeJQ2MG5E404CRczoiCYb/OU/7Nzr6B1wy5i1c5pM v9s6nvLpRx2bjrv7ewM6GRGjTt3upCIWmBFC8= MIME-Version: 1.0 Received: by 10.239.170.18 with SMTP id q18mr550503hbe.50.1251815966761; Tue, 01 Sep 2009 07:39:26 -0700 (PDT) In-Reply-To: References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> Date: Tue, 1 Sep 2009 14:39:26 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Fwd: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:39:28 -0000 >So, make/build/run a normal jail using the 64 bit os "world", add -m32 >to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and >copy it to main (non-jailed) system, and run ldconfig on the library >directories? I'd probably also change PREFIX/LOCALBASE to prevent the >files from the ports from colling with the base system files when I >copy them over. Well, this would certainly help with building the ports safely. But I think we -- at least I was -- were thinking that you would actually leave them in the jail, and run them from the jailed environment, so there would be fewer run-time problems, and no work to transfer them over. Remember that you've got to ensure that there is no problem with run-time linking of shared libraries, some of which (in your current scheme) will have both 32-bit and 64-bit versions with the same soname. You can probably work around this problem as well, but it seems easier to leave them in the jail. b.