metis fails to build with gcc-4.2 due to usage of WError and unsupported flags
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/build/libmetis && /usr/bin/gcc-4.2 -Dmetis_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/METIS-94c03a6e2d1860128c2d0675cbbb86ad4f261256/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/METIS-94c03a6e2d1860128c2d0675cbbb86ad4f261256/libmetis/. -pipe -Os -DNDEBUG -I/opt/local/include -DLINUX -D_FILE_OFFSET_BITS=64 -std=c99 -fno-strict-aliasing -march=native -fPIC -Werror -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label -framework Accelerate -DNDEBUG -DNDEBUG2 -DUSE_GKREGEX -DUSE_GKRAND -DHAVE_EXECINFO_H -O3 -arch ppc -mmacosx-version-min=10.6 -fPIC -MD -MT libmetis/CMakeFiles/metis.dir/auxapi.c.o -MF CMakeFiles/metis.dir/auxapi.c.o.d -o CMakeFiles/metis.dir/auxapi.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/METIS-94c03a6e2d1860128c2d0675cbbb86ad4f261256/libmetis/auxapi.c
make[2]: *** [libmetis/CMakeFiles/metis.dir/contig.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1: error: unrecognized command line option "-march=native"
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make[2]: *** [libmetis/CMakeFiles/metis.dir/compress.c.o] Error 1
make[2]: *** [libmetis/CMakeFiles/metis.dir/coarsen.c.o] Error 1
make[2]: *** [libmetis/CMakeFiles/metis.dir/debug.c.o] Error 1
make[2]: *** [libmetis/CMakeFiles/metis.dir/auxapi.c.o] Error 1
make[2]: *** [libmetis/CMakeFiles/metis.dir/balance.c.o] Error 1
make[2]: *** [libmetis/CMakeFiles/metis.dir/bucketsort.c.o] Error 1
make[2]: *** [libmetis/CMakeFiles/metis.dir/checkgraph.c.o] Error 1
Change History (4)
Summary: |
metis fails to build on Rosetta due to usage of wrong flags →
metis fails to build on Rosetta due to usage of WError and unsupported flags
|
Summary: |
metis fails to build on Rosetta due to usage of WError and unsupported flags →
metis fails to build with gcc-4.2 due to usage of WError and unsupported flags
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
the thing to do here is to remove "-Werror", which we don't recommend any software to use in the released port version.