Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2020 19:21:19 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Building packages for a variety of systems
Message-ID:  <27ff4717-a21f-0c64-e394-f8407faa23a4@FreeBSD.org>
In-Reply-To: <12dbced7-ae27-7d89-daf8-53fe10e2ef67@rpi.edu>
References:  <12dbced7-ae27-7d89-daf8-53fe10e2ef67@rpi.edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--WphWyU3bbjvAwujbv2Fz00ARXbzfWCbTR
Content-Type: multipart/mixed; boundary="uEDLpCbRYw9vkn72dIT0Thg9w1hpCsTVA"

--uEDLpCbRYw9vkn72dIT0Thg9w1hpCsTVA
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

On 20/04/2020 18:15, Bob Healey wrote:
> I would like to move from building ports with my custom options on each=

> system, and move to building once in a central location, and then
> deploying via pkg add.=C2=A0 Mainly openldap, samba, BIND, and their
> dependencies.=C2=A0 Do I need to use my oldest CPU (Opteron 1000 series=
) as
> the build host, or can I get away with using something much newer (Xeon=

> E5-2000 v3) with more cores and RAM?=C2=A0 I'm seeing mixed opinions ab=
out
> ports hard coding build CPU features into binaries, and don't want to
> get stuck.

So long as you don't specify a particular CPU type in your compilation
flags -- ie. leave the flags at their default settings -- then it should
be absolutely fine to build on any amd64-compatible machine to deploy on
practically any other amd64-compatible machine.  Compilers on FreeBSD
are configured to support a generic CPU which all more recent designs
than the Intel 486 or 586 should be backwardly compatible with.

After all, the cerntral FreeBSD package build servers are pretty highly
specified rack-mount servers, but the packages built on them are
expected to work on much older and less capable hardware.

	Cheers,

	Matthew


--uEDLpCbRYw9vkn72dIT0Thg9w1hpCsTVA--

--WphWyU3bbjvAwujbv2Fz00ARXbzfWCbTR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl6d6B9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5
RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp
5Oc2iQ//QEjbTsggs0qVId+3cr9yLd5qYGHK1PPn7pjqhtAdHC0QjyAsYdmugP1G
Z88UYDxD7KjKVTpkWbD9GxDzgpjFVvIVwL+1KAxG/exdXLswh81LdwCkt1UUsrQm
wQvJAff8O8TT3/dMVhoxDgkJrccDcE7Q7h9bV5ucfhnK0hUGTUiX0a2dFyMO4Glg
GNxPnnxUaSHUudnh9kgqwgyLVfx4QpeF+amY6W3wxoFn7K7NXmJAsRj/IQ6W1SYh
xvAmhtXAha/y2+Mzcb2+P76DoWjxJI1Lz3cI51DMR4tiuWuZNkx0grd378O4l5ue
voq4LI5vboB6m54f4nWsAGPsaS+6Q2CrA4STBHFe6AJPpxIBp9x+1w4PWEffM6dZ
oksuYBpCRYpJL0J00ZfOyYF7kx4cKxNC0jcxjYiWMnVDgPkcQFjh2geCQjfyRnW8
78I/NPXrtT/0HOKcVd2lVLBN6mBgwrMZFTah2kMOhOROkcJp7pUVyF6/OterK4Ug
kpijnJ0rLmYowFoMOnlRa/A604fOgQDWJ5zw23KF3UpX8L0tXhhU0deo4YPFroaH
mC/S2PyvQ7UPqNhnjJuqxj6T410g5qu6b6icsOw3K2dzir8dOjExk/RR2LiptaNv
CFddPQHwOrygWpEz4GIYrDYQu4NmkqWm/7cRpHgVBs4rubkiIYo=
=q/5h
-----END PGP SIGNATURE-----

--WphWyU3bbjvAwujbv2Fz00ARXbzfWCbTR--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?27ff4717-a21f-0c64-e394-f8407faa23a4>