Opened 12 months ago

Closed 6 days ago

#67380 closed defect (fixed)

py-cython on Rosetta uses clang for ppc with a warning: clang: warning: not using the clang compiler for the 'powerpc' architecture

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: powerpc, snowleopard, rosetta Cc:
Port: py-cython, py312-cython, py311-cython

Description

It looks like this:

building 'Cython.Plex.Scanners' extension
creating build/temp.macosx-10.6-ppc-cpython-311
creating build/temp.macosx-10.6-ppc-cpython-311/opt
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Scanners.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Scanners.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Scanners.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Plex/Scanners.cpython-311-darwin.so
building 'Cython.Plex.Actions' extension
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Actions.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Actions.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Actions.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Plex/Actions.cpython-311-darwin.so
building 'Cython.Compiler.Scanning' extension
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Scanning.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Scanning.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Scanning.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Compiler/Scanning.cpython-311-darwin.so
building 'Cython.Compiler.Visitor' extension
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Visitor.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Visitor.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Visitor.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Compiler/Visitor.cpython-311-darwin.so
building 'Cython.Compiler.FlowControl' extension
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FlowControl.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FlowControl.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FlowControl.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Compiler/FlowControl.cpython-311-darwin.so
building 'Cython.Runtime.refnanny' extension
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Runtime
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Runtime/refnanny.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Runtime/refnanny.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Runtime/refnanny.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Runtime/refnanny.cpython-311-darwin.so
building 'Cython.Compiler.FusedNode' extension
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FusedNode.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FusedNode.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FusedNode.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Compiler/FusedNode.cpython-311-darwin.so
building 'Cython.Tempita._tempita' extension
creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Tempita
/usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Tempita/_tempita.c -o build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Tempita/_tempita.o
clang: warning: not using the clang compiler for the 'powerpc' architecture
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/ build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work/Cython-0.29.34/Cython/Tempita/_tempita.o -o build/lib.macosx-10.6-ppc-cpython-311/Cython/Tempita/_tempita.cpython-311-darwin.so
installing to build/bdist.macosx-10.6-ppc/wheel

The build completes successfully, but the warning suggests it is not a correct behavior.

Attachments (1)

py312-cython.txt (46.7 KB) - added by barracuda156 7 days ago.

Download all attachments as: .zip

Change History (5)

Changed 7 days ago by barracuda156

Attachment: py312-cython.txt added

comment:1 Changed 7 days ago by barracuda156

Port: py312-cython py311-cython added

comment:2 Changed 7 days ago by barracuda156

Version: 2.8.12.9.3

comment:3 Changed 7 days ago by barracuda156

So now it just fails by the way.

comment:4 Changed 6 days ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 2ce8b7fc476954f54546f75ee120814a44325a9d/macports-ports (master):

py-cython: avoid archaic Xcode clang of 10.6

Closes: #67380

Note: See TracTickets for help on using tickets.