[MacPorts] #57585: cctools 921 fails on snow leopard

MacPorts noreply at macports.org
Mon Nov 12 23:08:15 UTC 2018


#57585: cctools 921 fails on snow leopard
-----------------------+-------------------------
  Reporter:  rmottola  |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  snowleopard
      Port:  cctools   |
-----------------------+-------------------------

Comment (by kencu):

 You're getting tons of warning flags added that /usr/bin/gcc-4.2 can't
 handle. I don't know why yet, but these flags aren't added when I build it
 on Tiger PPC:
 {{{
 TigerPPC:
 /opt/local/bin/gcc-apple-4.2 -Os -std=gnu99 -Os  -DTRIE_SUPPORT -g
 -Wall -I. -I./../include -I.
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include
 -I/opt/local/include  -arch ppc
 -c -o ./codesign_allocate.o codesign_allocate.c
 SnowLeopard (your build):
 /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-921/../ld64-409.12/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-921/../ld64-409.12/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-921/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  -pg -c -o ./allocate.o
 ../allocate.c
 }}}

 FYI, I built it on SnowLeopard with clang-3.9 which didn't burp during the
 build. Hopefully it can build with clang-3.4, otherwise we may have a
 bootstrap issue coming.

-- 
Ticket URL: <https://trac.macports.org/ticket/57585#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list