[MacPorts] #70202: volk is broken on ppc: cpuinfo_ppc.h: error: #error "Including cpuinfo_ppc.h from a non-ppc target."
MacPorts
noreply at macports.org
Mon Jun 10 15:56:21 UTC 2024
#70202: volk is broken on ppc: cpuinfo_ppc.h: error: #error "Including
cpuinfo_ppc.h from a non-ppc target."
--------------------------+-----------------------
Reporter: barracuda156 | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: powerpc | Port: volk
--------------------------+-----------------------
This is an amazingly written code :)
Running the build on ppc, it fails because it thinks ppc header was used
on a non-ppc target:
{{{
:info:build [ 14%] Building C object
cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_ppc.c.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build/cpu_features
&& /opt/local/bin/gcc-mp-13 -DSTACK_LINE_READER_BUFFER_SIZE=1024
-D_GLIBCXX_USE_CXX11_ABI=1
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/volk-2.5.0/cpu_features/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/volk-2.5.0/cpu_features/include/internal
-pipe -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -fcx-limited-
range -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -O3
-DNDEBUG -std=gnu99 -arch ppc -mmacosx-version-min=10.6 -fPIC -MD -MT
cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_ppc.c.o -MF
CMakeFiles/cpu_features.dir/src/cpuinfo_ppc.c.o.d -o
CMakeFiles/cpu_features.dir/src/cpuinfo_ppc.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/volk-2.5.0/cpu_features/src/cpuinfo_ppc.c
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/volk-2.5.0/cpu_features/src/cpuinfo_ppc.c:15:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/volk-2.5.0/cpu_features/include/cpuinfo_ppc.h:143:2:
error: #error "Including cpuinfo_ppc.h from a non-ppc target."
:info:build 143 | #error "Including cpuinfo_ppc.h from a non-ppc
target."
:info:build | ^~~~~
:info:build make[2]: ***
[cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_ppc.c.o] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build'
:info:build make[1]: *** [cpu_features/CMakeFiles/cpu_features.dir/all]
Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70202>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list