Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2023 15:29:26 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        "sjg@freebsd.org" <sjg@FreeBSD.org>, dev-commits-src-main@freebsd.org
Cc:        Mike Karels <mike@karels.net>
Subject:   Re: git: f9df60975087 - main - Add support for host32 for DIRDEPS_BUILD
Message-ID:  <152E8129-B996-4941-9DE3-DD7CEE5BAE97@yahoo.com>
In-Reply-To: <79F167D9-DF7A-4714-92EE-3B9FBB7BF912@yahoo.com>
References:  <79F167D9-DF7A-4714-92EE-3B9FBB7BF912@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[A resend, this time sending to the list as well, as I originally
intended.]

Simon J. Gerraty <sjg_at_FreeBSD.org> wrote on
Date: Sat, 23 Sep 2023 06:28:23 UTC :
>=20
> The branch main has been updated by sjg:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3Df9df609750876be2c054dfac953316f5=
13ccffce
>=20
> commit f9df609750876be2c054dfac953316f513ccffce
> Author: Simon J. Gerraty <sjg@FreeBSD.org>
> AuthorDate: 2023-09-23 06:27:37 +0000
> Commit: Simon J. Gerraty <sjg@FreeBSD.org>
> CommitDate: 2023-09-23 06:27:37 +0000
>=20
> Add support for host32 for DIRDEPS_BUILD
>=20
> Allow building 32bit libs for host.
>=20
> Move CFLAGS additions from local.sys.dirdeps.mk (which is too early
> and impacts CFLAGS defaults) to local.sys.mk
>=20
> Reviewed by: stevek
> Sponsored by: Juniper Networks, Inc.
> Differential Revision: https://reviews.freebsd.org/D41946

. . .

Looks like this broke lib32 builds via it ending up using
the default:

-target armv7-unknown-freebsd

instead of the correct:

-target armv7-unknown-freebsd15.0-gnueabihf

I've suggested in the past that the default for FreeBSD's
-m32 for aarch64 should be made to be (stated for 15 now):

-target armv7-unknown-freebsd15.0-gnueabihf

but that has not happened and the build environment must
deal with provding the proper target explicitly.


For reference,

https://ci.freebsd.org/job/FreeBSD-main-aarch64-build/26609/console

shows:

03:50:51 --- fixunsdfsivfp.o ---
03:50:51 =
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S=
:26:2: error: instruction requires: fp registers
03:50:51 vmov d7, r0, r1
03:50:51 ^
03:50:51 =
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S=
:27:2: error: instruction requires: double precision VFP VFP2
03:50:51 vcvt.u32.f64 s15, d7
03:50:51 ^
03:50:51 =
/usr/src/contrib/llvm-project/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S=
:28:2: error: instruction requires: fp registers
03:50:51 vmov r0, s15
03:50:51 ^
03:50:51 *** [fixunsdfsivfp.o] Error code 1

and its https://ci.freebsd.org/job/FreeBSD-main-aarch64-build/26609

shows:

Changes
   =E2=80=A2 Add support for host32 for DIRDEPS_BUILD (details / cgit)
   =E2=80=A2 ng_eiface: switch VNETs when injecting mbufs into netgraph =
(details / cgit)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?152E8129-B996-4941-9DE3-DD7CEE5BAE97>