Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2023 14:09:18 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        John Baldwin <jhb@freebsd.org>, freebsd-arch <freebsd-arch@freebsd.org>, <sjg@juniper.net>
Subject:   Re: Future of 32-bit platforms (including i386)
Message-ID:  <61859.1682975358@kaos.jnpr.net>
In-Reply-To: <CANCZdfpUqCdpNg=JR87PbSQJGu3MtkYvP_je808LAc%2BTsQOjSA@mail.gmail.com>
References:  <aaa3e005-5f72-f422-56b1-932842379e15@FreeBSD.org> <82207.1682727452@kaos.jnpr.net> <5dcf4aae-258d-c0a0-91f6-ffa77177e716@FreeBSD.org> <CANCZdfpUqCdpNg=JR87PbSQJGu3MtkYvP_je808LAc%2BTsQOjSA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@bsdimp.com> wrote:
> > Some of our daemons are very pointer heavy and up to a certain scale
> > point, a 32bit app is more memory efficient, of course the 64bit version
> > can scale much bigger but many customers do not need that.
> 
> Are you able to build your daemons with cc -32 with an amd64 world, or
> do you require an i386 world to build against?

We don't buildworld, and we do not build 32bit apps as such in our freebsd
tree.  We build 32bit libs (and loader) and publish these for use by Junos.

For main we are using -target i386-unknown-freebsd14.0, but clang is not
built as part of freebsd.

I think all we require is compat32 support in the kernel, and the
ability to build libs for i386.

> If the latter, do you use a chroot to build any ports

We do not build any ports.

Thanks
--sjg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61859.1682975358>