[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-07 Thread Ned Deily


Ned Deily  added the comment:

We don't recommend nor do we test building Python for macOS with anything but 
the Apple-supplied compilers in either Xcode or the Command Line Tools and this 
hasn't been a problem with the clang versions in them so far but, if someone 
wants to provide a PR to avoid this, we can certainly look at applying it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-07 Thread Christian Heimes


Change by Christian Heimes :


--
components: +macOS
nosy: +lukasz.langa, ned.deily, pablogsal, ronaldoussoren
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-07 Thread Stephan Bergmann


Stephan Bergmann  added the comment:

"from the sources it looks like it would still be an issue with the latest 
cpython main branch", and if I check out current main branch and run 
`CC='/path-to-local-llvm-trunk/bin/clang -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk'
 ./configure` it indeed still fails with that "configure: error: internal 
configure error for the platform triplet, please file a bug report"

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-07 Thread Christian Heimes


Christian Heimes  added the comment:

Python 3.8 is in security fix-only mode and does no longer updates for 
non-security fixes. Are Python 3.9 and 3.10 beta affected, too?

--
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-07 Thread Stephan Bergmann


New submission from Stephan Bergmann :

I experienced this with Python 3.8 when building it as part of LibreOffice (see 

 "external/python3: Clang 13 trunk implements --print-multiarch now", quoting 
from its commit message below) but from the sources it looks like it would 
still be an issue with the latest cpython main branch:

Clang 13 trunk implements --print-multiarch now since 

 "[Driver] Add -print-multiarch", which causes an issue when building with such 
a compiler on macOS:

> checking build system type... x86_64-apple-darwin19.6.0
> checking host system type... x86_64-apple-darwin19.6.0
[...]
> checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please 
file a bug report

as configure.ac computes PLATFORM_TRIPLET as "darwin", and instead of computing 
MULTIARCH as empty (as `$CC --print-multiarch` used to just print

> clang: error: unsupported option '--print-multiarch'
> clang: error: no input files

to stderr), it now computes it as e.g. "x86_64-apple-darwin19.6.0" (or whatever 
-target is explicitly set to in $CC), so the check that they have equal values 
if they are both nonempty fails now when building against Clang 13 trunk.  
(This does not yet appear to be an issue with any Apple Clang version, though.)

--
components: Build
messages: 393167
nosy: sberg
priority: normal
severity: normal
status: open
title: "configure: error: internal configure error for the platform triplet" on 
macOS with Clang supporting --print-multiarch:
type: compile error
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com