From owner-freebsd-ports@freebsd.org Thu Oct 5 08:36:05 2017 Return-Path: Delivered-To: freebsd-ports@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 759D7E30D00 for ; Thu, 5 Oct 2017 08:36:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0BDC4659BD; Thu, 5 Oct 2017 08:36:04 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v958ZxcL057304 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 5 Oct 2017 11:35:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v958ZxcL057304 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v958Zw9X057303; Thu, 5 Oct 2017 11:35:58 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 5 Oct 2017 11:35:58 +0300 From: Konstantin Belousov To: Don Lewis Cc: sgk@troutmask.apl.washington.edu, linimon@lonesome.com, list1@gjunka.com, freebsd-ports@freebsd.org Subject: Re: portmaster, portupgrade, etc Message-ID: <20171005083558.GD95911@kib.kiev.ua> References: <20171004232819.GA86102@troutmask.apl.washington.edu> <201710050027.v950RBFT047711@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201710050027.v950RBFT047711@gw.catspoiler.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 08:36:05 -0000 On Wed, Oct 04, 2017 at 05:27:11PM -0700, Don Lewis wrote: > > The system in question is my last i686 laptop, which I > > use for libm development and testing. Once I cannot use > > that laptop (whether hardware failure or inability to > > update the installed ports), I'll stop worrying about a > > functional libm on 32-bit hardware. > > As an aside, this sort of thing could be done in an i386 VM or maybe an > i386 jail on amd64 hardware. You do not need even a jail for this. Base cc -m32 works on amd64 for long time, and 32bit binaries can be executed from host environment, assuming all third-party libs are provided somewhere in the 32bit variant. The environment with regard to the hardware configuration should be identical to modern i386-arch machine with SSE2. Incompatibilities are considered as bugs and are usually fixed fast when reported.