[MacPorts] #54602: git @2.14.1 generates corrupt SHA1 hashes on Tiger when built with gcc42, but works OK when built with gcc6

MacPorts noreply at macports.org
Sat Sep 9 16:27:00 UTC 2017


#54602: git @2.14.1 generates corrupt SHA1 hashes on Tiger when built with gcc42,
but works OK when built with gcc6
---------------------+----------------------
  Reporter:  kencu   |      Owner:  ci42
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  tiger
      Port:  git     |
---------------------+----------------------

Comment (by kencu):

 I can't see much in the way of configuration differences, building with
 apple-gcc-4.2 vs macports-gcc-6. I'll attach the full build logs for each.
 {{{
 /opt/local/bin/gcc-apple-4.2 -o common-main.o -c -MF ./.depend/common-
 main.o.d -MQ common-main.o -MMD -MP  -I. -Wall -O2 -I/opt/local/include
 -arch ppc -I. -DPRECOMPOSE_UNICODE -DPROTECT_HFS_DEFAULT=1 -DUSE_LIBPCRE2
 -I/opt/local/include -I/opt/local/include -DUSE_CURL_FOR_IMAP_SEND
 -I/opt/local/include -I/opt/local/include -DUSE_ST_TIMESPEC -DOLD_ICONV
 -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0
 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\""
 -DSHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_C="\"sha1dc_git.c\""
 -DSHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_H="\"sha1dc_git.h\""
 -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\""
 -DHAVE_DEV_TTY -DHAVE_BSD_SYSCTL  -DFREAD_READS_DIRECTORIES -DNO_MEMMEM
 -Icompat/regex -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"'
 common-main.c

 /opt/local/bin/gcc-mp-6      -o common-main.o -c -MF ./.depend/common-
 main.o.d -MQ common-main.o -MMD -MP  -I. -Wall -O2 -I/opt/local/include
 -m32      -I. -DPRECOMPOSE_UNICODE -DPROTECT_HFS_DEFAULT=1 -DUSE_LIBPCRE2
 -I/opt/local/include -I/opt/local/include -DUSE_CURL_FOR_IMAP_SEND
 -I/opt/local/include -I/opt/local/include -DUSE_ST_TIMESPEC -DOLD_ICONV
 -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0
 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\""
 -DSHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_C="\"sha1dc_git.c\""
 -DSHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_H="\"sha1dc_git.h\""
 -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\""
 -DHAVE_DEV_TTY -DHAVE_BSD_SYSCTL  -DFREAD_READS_DIRECTORIES -DNO_MEMMEM
 -Icompat/regex -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"'
 common-main.c
 }}}

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


More information about the macports-tickets mailing list