Opened 3 years ago

Last modified 3 years ago

#64336 new defect

eigen fails to build for ppc+ppc64 on 10.5.8

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: PowerPC, Leopard, ppc64 Cc:
Port: eigen

Description

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build/Eigen && /usr/bin/g++-4.2 -DEigen2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build/Eigen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build -pipe -Os -g1 -O2 -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC -MD -MT Eigen/CMakeFiles/Eigen2.dir/src/Core/CoreInstantiations.cpp.o -MF CMakeFiles/Eigen2.dir/src/Core/CoreInstantiations.cpp.o.d -o CMakeFiles/Eigen2.dir/src/Core/CoreInstantiations.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Core/CoreInstantiations.cpp
g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[2]: *** [Eigen/CMakeFiles/Eigen2.dir/src/Cholesky/CholeskyInstantiations.cpp.o] Error 1
g++-4.2: make[2]: *** Waiting for unfinished jobs....
-E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[2]: *** [Eigen/CMakeFiles/Eigen2.dir/src/QR/QrInstantiations.cpp.o] Error 1
make[2]: *** [Eigen/CMakeFiles/Eigen2.dir/src/Core/CoreInstantiations.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build'
make[1]: *** [Eigen/CMakeFiles/Eigen2.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
Exit code: 2
Error: Failed to build eigen: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port eigen failed

Attachments (2)

main.log (88.4 KB) - added by barracuda156 3 years ago.
log_muniversal.log (196.5 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 in reply to:  description ; Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

Try using the muniversal portgroup.

comment:2 in reply to:  1 Changed 3 years ago by barracuda156

Replying to ryandesign:

Replying to barracuda156:

g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

Try using the muniversal portgroup.

Still fails with this:

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Core/../../Core:97,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Core/CoreInstantiations.cpp:29:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Cholesky/../../Core:97/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Core/../../src/Core/util/Macros.h:68:6:,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Cholesky/CholeskyInstantiations.cpp:28:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/Cholesky/../../src/Core/util/Macros.h:68:6:error: #error  "Vectorization enabled, but our platform checks say that we don't do 16 byte alignment on this platform. If you added vectorization for another architecture, you also need to edit this platform check."error: 
#error "Vectorization enabled, but our platform checks say that we don't do 16 byte alignment on this platform. If you added vectorization for another architecture, you also need to edit this platform check."
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/QR/../../Core:97,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/QR/QrInstantiations.cpp:28:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/eigen-eigen-b23437e61a07/Eigen/src/QR/../../src/Core/util/Macros.h:68:6: error: #error "Vectorization enabled, but our platform checks say that we don't do 16 byte alignment on this platform. If you added vectorization for another architecture, you also need to edit this platform check."
make[2]: *** [Eigen/CMakeFiles/Eigen2.dir/src/Core/CoreInstantiations.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Eigen/CMakeFiles/Eigen2.dir/src/Cholesky/CholeskyInstantiations.cpp.o] Error 1
make[2]: *** [Eigen/CMakeFiles/Eigen2.dir/src/QR/QrInstantiations.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build-ppc64'
make[1]: *** [Eigen/CMakeFiles/Eigen2.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build-ppc64'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build-ppc64'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/work/build-ppc64" && /usr/bin/make -j4 -w all VERBOSE=ON 
Exit code: 2
Error: Failed to build eigen: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_eigen/eigen/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port eigen failed

Changed 3 years ago by barracuda156

Attachment: log_muniversal.log added
Note: See TracTickets for help on using tickets.