Is it necessary to bump target triple for lib32

Glen Barber gjb at freebsd.org
Mon Oct 21 16:05:21 UTC 2019


On Sun, Oct 20, 2019 at 12:39:29AM +0200, Dimitry Andric wrote:
> On 19 Oct 2019, at 05:51, Jeremy <jeremy.m.cox at gmail.com> wrote:
> > 
> > While I was doing a buildworld for FreeBSD 12 stable (r353745) for amd64, I
> > noticed the target triple was set at x86_64-unknown-freebsd12.0 while it
> > was building the 32 bit libraries. I was wondering if it was necessary to
> > bump it to 12.1 now that 12.1 is getting ready for release, or if it
> > doesn't matter either way. I believe the relevant commit was from
> > (r338268). In any case, buildworld completed with no issues.
> > 
> > If it's not necessary, sorry for the noise.
> 
> You are right, this is coming from Makefile.libcompat:
> 
> $ grep freebsd12 Makefile.libcompat
> LIB32CPUFLAGS+= -target x86_64-unknown-freebsd12.0
> LIB32CPUFLAGS=  -target mipsel-unknown-freebsd12.0
> LIB32CPUFLAGS=  -target mips-unknown-freebsd12.0
> 
> Glen, I think you have a list somewhere of the files that need to have
> their versions bumped for releng branches, could you please add
> Makefile.libcompat to it too?
> 

Yes, I will add it to the doc now.  I thought it was there already, but
apparently not.

> Maybe at one point we should have one source of truth for that obtaining
> that version number... :)
> 

We do have one.

 % make -C release -V REVISION
 12.1

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20191021/ec06b603/attachment.sig>


More information about the freebsd-stable mailing list