On 2022 Aug 14 (Sun) at 22:31:01 +0200 (+0200), Jeremie Courreges-Anglas wrote:
:On Sun, Aug 14 2022, Kurt Mosiejczuk <k...@cranky.work> wrote:
:> On Sun, Aug 14, 2022 at 03:45:03PM +0200, Peter Hessler wrote:
:>> On 2022 Aug 13 (Sat) at 11:19:34 -0600 (-0600), phess...@openbsd.org wrote:
:>> :http://build-failures.rhaalovely.net/arm/2022-08-01/lang/go.log
:>
:>> bootstrap problem, presumably fixed after all of the recent bootstrap
:>> juggling.
:>
:>> 
:http://build-failures.rhaalovely.net/arm/2022-08-01/lang/python/3.10,-gdbm.log
:>> 
:http://build-failures.rhaalovely.net/arm/2022-08-01/lang/python/3.8,-gdbm.log
:>> :http://build-failures.rhaalovely.net/arm/2022-08-01/lang/python/3.9.log
:>
:>>   LLVM ERROR: out of memory
:>
:>> 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?
:
:
: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
:

Thanks, I added that to the current armv7 bulk build and will let you
know what happens.

-- 
Westheimer's Discovery:
        A couple of months in the laboratory can frequently save a
        couple of hours in the library.

Reply via email to