[MacPorts] #51478: clang-3.7 compiler bug

MacPorts noreply at macports.org
Sun Jun 19 01:41:30 PDT 2016


#51478: clang-3.7 compiler bug
------------------------+------------------------
  Reporter:  uri@…      |      Owner:  jeremyhu@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:  wontfix    |   Keywords:
      Port:  clang-3.7  |
------------------------+------------------------

Comment (by uri@…):

 In case it matters - same bug in clang-3.9:

 {{{
 /opt/local/bin/clang++-mp-3.9 -maes -mpclmul -mrdrnd -msse2 -mssse3
 -msse4.2 -mtune=native -Os -Ofast -std=c++11 -ffunction-sections -fdata-
 sections -fPIC -march=native -pipe -c integer.cpp
 Assertion failed: (BB->getTerminator()->getNumSuccessors() == 1 && "Should
 have a single succ!"), function SplitEdge, file
 /opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.9/llvm-3.9/work/trunk/lib/Transforms/Utils/BasicBlockUtils.cpp,
 line 235.
 Stack dump:
 0.      Program arguments: /opt/local/libexec/llvm-3.9/bin/clang -cc1
 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror
 =deprecated-objc-isa-usage -emit-obj -disable-free -main-file-name
 integer.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
 -mdisable-fp-elim -menable-no-infs -menable-no-nans -menable-unsafe-fp-
 math -fno-signed-zeros -freciprocal-math -ffp-contract=fast -ffast-math
 -masm-verbose -munwind-tables -target-cpu haswell -target-feature +cx16
 -target-feature -tbm -target-feature -avx512ifma -target-feature -avx512dq
 -target-feature -fma4 -target-feature -prfchw -target-feature +bmi2
 -target-feature -xsavec -target-feature +fsgsbase -target-feature +popcnt
 -target-feature -pcommit -target-feature -xsaves -target-feature -avx512er
 -target-feature -clwb -target-feature -avx512f -target-feature -pku
 -target-feature -smap -target-feature +mmx -target-feature -xop -target-
 feature -rdseed -target-feature +hle -target-feature -sse4a -target-
 feature -avx512bw -target-feature -clflushopt -target-feature +xsave
 -target-feature -avx512vl -target-feature +invpcid -target-feature
 -avx512cd -target-feature +avx -target-feature +rtm -target-feature +fma
 -target-feature +bmi -target-feature -mwaitx -target-feature +sse4.1
 -target-feature +avx2 -target-feature +sse -target-feature +lzcnt -target-
 feature -prefetchwt1 -target-feature +f16c -target-feature -sgx -target-
 feature +cmov -target-feature -avx512vbmi -target-feature +movbe -target-
 feature +xsaveopt -target-feature -sha -target-feature -adx -target-
 feature -avx512pf -target-feature +sse3 -target-feature +aes -target-
 feature +pclmul -target-feature +rdrnd -target-feature +sse2 -target-
 feature +ssse3 -target-feature +sse4.2 -target-linker-version 253.9
 -dwarf-column-info -debugger-tuning=lldb -ffunction-sections -fdata-
 sections -coverage-file /Users/uri/src/cryptopp-tmp/integer.cpp -resource-
 dir /opt/local/libexec/llvm-3.9/bin/../lib/clang/3.9.0 -stdlib=libc++
 -Ofast -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
 /Users/uri/src/cryptopp-tmp -ferror-limit 19 -fmessage-length 84 -stack-
 protector 1 -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-
 block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16
 -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-
 slp -o integer.o -x c++ integer.cpp
 1.      <eof> parser at end of file
 2.      Per-module optimization passes
 3.      Running pass 'CallGraph Pass Manager' on module 'integer.cpp'.
 4.      Running pass 'Jump Threading' on function
 '@_ZN8CryptoPPrsERNSt3__113basic_istreamIcNS0_11char_traitsIcEEEERNS_7IntegerE'
 clang: error: unable to execute command: Abort trap: 6
 clang: error: clang frontend command failed due to signal (use -v to see
 invocation)
 clang version 3.9.0 (trunk 271348)
 Target: x86_64-apple-darwin15.5.0
 Thread model: posix
 InstalledDir: /opt/local/libexec/llvm-3.9/bin
 clang: note: diagnostic msg: PLEASE submit a bug report to
 http://llvm.org/bugs/ and include the crash backtrace, preprocessed
 source, and associated run script.
 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:
 /var/folders/pd/mxn5kp_55jg23x7jjd10gtwm0000gn/T/integer-fbe845.cpp
 clang: note: diagnostic msg:
 /var/folders/pd/mxn5kp_55jg23x7jjd10gtwm0000gn/T/integer-fbe845.sh
 clang: note: diagnostic msg:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/51478#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list