cctools fails to build on Snow Leopard

Riccardo Mottola riccardo.mottola at libero.it
Fri Aug 31 22:38:11 UTC 2018


Hi,

the latest cctools fails to build on Snow Leopard as follows.

Question: is the compiler critical or can I just configure it with a macports compiler? which one?

Second question: can it be done automatically?

Riccardo

/usr/bin/gcc-4.2 -Os -std=gnu99 -Os -DLTO_SUPPORT -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/../ld64-274.1/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/../ld64-274.1/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/include -arch x86_64 -arch i386 -I/opt/local/libexec/llvm-3.9/include -pipe -Os -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Werror=date-time -DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -c -o ./allocate.o ../allocate.c
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
cc1: error: -Werror=date-time: No option -Wdate-time
fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/.tmp/ccvNv9Gd.out (No such file or directory)
make[2]: *** [allocate.o] Error 1



More information about the macports-users mailing list