[MacPorts] #60300: petsc @3.12.4: clang: error: unable to execute command: Segmentation fault: 11

MacPorts noreply at macports.org
Fri Apr 3 00:29:08 UTC 2020


#60300: petsc @3.12.4: clang: error: unable to execute command: Segmentation fault:
11
------------------------+---------------------------------
 Reporter:  ryandesign  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:  lion        |       Port:  petsc
------------------------+---------------------------------
 [https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/19966/steps
 /install-port/logs/stdio petsc fails to build on Lion] because clang
 crashes:

 {{{
 0  clang 0x0000000100c57bb2 main + 12932498
 Stack dump:
 0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-apple-
 macosx10.7.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-
 name err.c -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables
 -target-cpu core2 -target-linker-version 136 -coverage-file
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4
 /arch-macports/obj/sys/error/err.o -resource-dir /usr/bin/../lib/clang/4.2
 -dependency-file arch-macports/obj/sys/error/err.d -MT arch-
 macports/obj/sys/error/err.o -MP -I /opt/local/include -I
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/include
 -I
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4
 /arch-macports/include -I /opt/local/include -I /opt/local/include -I
 /opt/local/include/mpich-mp -fmodule-cache-path
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/.tmp
 /clang-module-cache -I/opt/local/include -Os -fdebug-compilation-dir
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4
 -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign
 -fblocks -fobjc-runtime=macosx-10.7.0 -fobjc-dispatch-method=mixed -fobjc-
 default-synthesize-properties -fdiagnostics-show-option -o arch-
 macports/obj/sys/error/err.o -x c
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c
 1.
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c:444:16
 <Spelling=/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/include/petsclog.h:483:181>:
 current parser token ')'
 2.
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c:395:1:
 parsing function body 'PetscIntView'
 3.
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c:395:1:
 in compound statement ('{}')
 4.
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c:436:24:
 in compound statement ('{}')
 5.
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c:442:19:
 in compound statement ('{}')
 6.
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/petsc-3.12.4/src/sys/error/err.c:443:17:
 in compound statement ('{}')
           CC arch-macports/obj/sys/error/fp.o
           CC arch-macports/obj/sys/error/signal.o
           CC arch-macports/obj/sys/error/pstack.o
           CC arch-macports/obj/sys/error/checkptr.o
 clang: error: unable to execute command: Segmentation fault: 11
 clang: error: clang frontend command failed due to signal (use -v to see
 invocation)
 Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
 Target: x86_64-apple-darwin11.4.2
 Thread model: posix
 clang: note: diagnostic msg: PLEASE submit a bug report to
 http://developer.apple.com/bugreporter/ and include the crash backtrace,
 preprocessed source, and associated run script.
           CC arch-macports/obj/sys/error/ftn-custom/zerrf.o
 clang: note: diagnostic msg:
 ********************

 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
 Preprocessed source(s) and associated run script(s) are located at:
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/.tmp
 /err-y0ylrb.c
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_petsc/petsc/work/.tmp
 /err-y0ylrb.sh
 clang: note: diagnostic msg:

 ********************
 }}}

 The build succeeded on Mountain Lion, and since clang on Lion obviously
 won't be getting any fixes from Apple at this point I'd try just
 blacklisting `{clang < 500}`.

-- 
Ticket URL: <https://trac.macports.org/ticket/60300>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list