[MacPorts] #58442: clang-7, 8.0 - seg. faults when used as assembler with assertions variant active.

MacPorts noreply at macports.org
Fri May 10 01:29:36 UTC 2019


#58442: clang-7,8.0 - seg. faults when used as assembler with assertions variant
active.
----------------------------------+--------------------
  Reporter:  mouse07410           |      Owner:  (none)
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:  clang-7.0 clang-8.0  |
----------------------------------+--------------------

Comment (by kencu):

 doing the same thing, but using llvm&clang-8.0, which is built with
 assertions OFF, I get no crash:
 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/build/./gcc/
 -B/opt/local/x86_64-apple-darwin18/bin/ -B/opt/local/x86_64-apple-
 darwin18/lib/ -isystem /opt/local/x86_64-apple-darwin18/include -isystem
 /opt/local/x86_64-apple-darwin18/sys-include   -fno-checking -g -O2 -pipe
 -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -O2  -g -O2 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-
 format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include   -mmacosx-version-min=10.5 -pipe -fno-common -g
 -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -mmacosx-version-
 min=10.5 -pipe -fno-common -I. -I. -I../.././gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.1.0/libgcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.1.0/libgcc/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.1.0/libgcc/../gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.1.0/libgcc/../include
 -o cpuinfo_s.o -MT cpuinfo_s.o -MD -MP -MF cpuinfo_s.dep -DSHARED  -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.1.0/libgcc/config/i386/cpuinfo.c
 }}}

 and gcc9 is continuing to build away. So it looks like Chris pegged it to
 me -- it crashes with the assertions turned on, it seems.

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


More information about the macports-tickets mailing list