On 2022 Aug 14 (Sun) at 17:41:48 -0400 (-0400), Kurt Mosiejczuk wrote: :On Sun, Aug 14, 2022 at 10:31:01PM +0200, Jeremie Courreges-Anglas wrote: : :> >> These take out a huge amount of the ports tree on armv7, and it would be :> >> great if someone can look at them. They all have the same error, and :> >> presumably would have the same/similar fixes. : :> > I think this is due to the enabling of optimization on lld arches. :> > powerpc has already opted out, it seems arm should be added to that list. : :> Something like this? : :Yes. Something _exactly_ like that. :) : :ok kmos : :--Kurt :
That fixed it, thanks! :> Index: Makefile.inc :> =================================================================== :> RCS file: /home/cvs/ports/lang/python/Makefile.inc,v :> retrieving revision 1.150 :> diff -u -p -p -u -r1.150 Makefile.inc :> --- Makefile.inc 7 Aug 2022 17:00:43 -0000 1.150 :> +++ Makefile.inc 14 Aug 2022 20:29:51 -0000 :> @@ -123,7 +123,8 @@ CONFIGURE_ARGS += --with-fpectl \ :> CONFIGURE_ARGS += --enable-loadable-sqlite-extensions :> . if ${PROPERTIES:Mlld} :> CONFIGURE_ARGS += --with-lto :> -. if ${MACHINE_ARCH} != "powerpc" :> +. if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "powerpc" :> +# On armv7, clang errors out due to lack of memory. :> # On powerpc, the python binary would crash by "Segmentation fault". :> CONFIGURE_ARGS += --enable-optimizations :> . endif :> :> -- :> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE :> -- Earth is a beta site.