Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: python fix for armv7 (and potentially powerpc)
To:
Peter Hessler <phessler@theapt.org>, ports@openbsd.org, gkoehler@openbsd.org, Kurt Mosiejczuk <kmos@openbsd.org>
Date:
Mon, 27 Oct 2025 13:56:05 +0000

Download raw body.

Thread
On 2025/10/22 18:59, Jeremie Courreges-Anglas wrote:
> --enable-optimizations is still broken on amd64 so at this point I
> wonder whether we should just drop it altogether. :)

thought I'd have another quick look at this.

so --enable-optimizations is just for PGO (profile guided optimisations),
which uses -fprofile-instr-generate to build, runs the produced binaries,
and uses information from that run to optimise.

trying this on amd64 and aarch64 it hits these errors when it tries to link:

ld.lld: error: undefined symbol: __llvm_profile_begin_bitmap
ld.lld: error: undefined symbol: __llvm_profile_end_bitmap

it's not clear whether that's a problem with python or with our llvm.