On Wed, Jul 27, 2022 at 12:20:10AM -0600, Robert Nagy wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]  2022/07/27 00:20:10

> Modified files:
>       lang/python    : Makefile.inc 
>       lang/python/3.10: Makefile 
>       lang/python/3.10/patches: patch-configure_ac 
>       lang/python/3.8: Makefile 
>       lang/python/3.8/patches: patch-configure_ac 
>       lang/python/3.9: Makefile 
>       lang/python/3.9/patches: patch-configure_ac 

> Log message:
> add --enable-optimizations configure flag to architectures using lld where
> llvm-profdata is also available to enable PGO builds

> ok sthen@

This broke at least python 3.9 on base-gcc arches, probably also 3.8 and
3.10. The change to configure.ac to add "|cc" to "*clang*|cc" means that
gcc gets fed -fprofile-instr-generate for both base-gcc and base-clang.

This breakage cripples sparc64 since it needs python 3.x to compile
ports-gcc

--Kurt

Reply via email to