[MacPorts] #58442: gcc9 (and other gccN) fails to install on Mojave, Xcode-10.2.1

MacPorts noreply at macports.org
Sun May 5 17:40:29 UTC 2019


#58442: gcc9 (and other gccN) fails to install on Mojave, Xcode-10.2.1
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gcc9        |
-------------------------+--------------------

Comment (by mouse07410):

 I take the success call back: it installed GCC9, but seems unable to use
 it correctly:
 {{{
 $ cd ntl-11.3.2
 $ ./configure DEF_PREFIX=/opt/local
 Compilation failed
 See CompilerOutput.log for details
 Goodbye! at DoConfig line 616.
 $ cat CompilerOutput.log
 *** CompilerOutput.log ***
 *** building GenConfigInfo
 g++ -I../include -I.  -g -O2   -o  GenConfigInfo GenConfigInfo.cpp -lm
 Assertion failed: (!CreatedADWARFSection && "Creating regular section
 after DWARF"), function ChangeSection, file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/llvm-8.0/work/llvm-8.0.0.src/lib/MC/MCMachOStreamer.cpp,
 line 159.
 Stack dump:
 0.      Program arguments: /opt/local/libexec/llvm-8.0/bin/clang -cc1as
 -triple x86_64-apple-macosx10.14.0 -filetype obj -main-file-name
 cceE8CeD.s -target-cpu penryn -I ../include -I . -fdebug-compilation-dir
 /Users/ur20980/src/ntl-11.3.2/src -dwarf-debug-producer clang version
 8.0.0 (tags/RELEASE_800/final) -I ../include -I . -dwarf-version=4
 -mrelocation-model pic -o
 /var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T//ccVs4mYb.o
 /var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T//cceE8CeD.s
 0  libLLVM.dylib            0x000000010fbadbfb
 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
 1  libLLVM.dylib            0x000000010fbadff7 SignalHandler(int) + 188
 2  libsystem_platform.dylib 0x00007fff60ca0b5d _sigtramp + 29
 3  libLLVM.dylib            0x0000000112ac8a2c (anonymous
 namespace)::NoOpLoopAnalysis::Key + 448156
 4  libsystem_c.dylib        0x00007fff60b606a6 abort + 127
 5  libsystem_c.dylib        0x00007fff60b2920d basename_r + 0
 6  libLLVM.dylib            0x000000011083a7b8 (anonymous
 namespace)::MCMachOStreamer::ChangeSection(llvm::MCSection*, llvm::MCExpr
 const*) + 762
 7  libLLVM.dylib            0x0000000110847f34
 llvm::MCStreamer::SwitchSection(llvm::MCSection*, llvm::MCExpr const*) +
 96
 8  libLLVM.dylib            0x00000001108814d3 (anonymous
 namespace)::DarwinAsmParser::parseSectionSwitch(llvm::StringRef,
 llvm::StringRef, unsigned int, unsigned int, unsigned int) + 195
 9  libLLVM.dylib            0x0000000110881d00 bool
 llvm::MCAsmParserExtension::HandleDirective<(anonymous
 namespace)::DarwinAsmParser, &((anonymous
 namespace)::DarwinAsmParser::parseSectionDirectiveModInitFunc(llvm::StringRef,
 llvm::SMLoc))>(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)
 + 44
 10 libLLVM.dylib            0x000000011086b90e (anonymous
 namespace)::AsmParser::parseStatement((anonymous
 namespace)::ParseStatementInfo&, llvm::MCAsmParserSemaCallback*) + 3740
 11 libLLVM.dylib            0x0000000110867285 (anonymous
 namespace)::AsmParser::Run(bool, bool) + 389
 12 clang                    0x000000010df3f518
 cc1as_main(llvm::ArrayRef<char const*>, char const*, void*) + 10800
 13 clang                    0x000000010df3a53d main + 7866
 14 libdyld.dylib            0x00007fff60abb3d5 start + 1
 clang: error: unable to execute command: Abort trap: 6
 clang: error: clang integrated assembler command failed due to signal (use
 -v to see invocation)
 clang version 8.0.0 (tags/RELEASE_800/final)
 Target: x86_64-apple-darwin18.5.0
 Thread model: posix
 InstalledDir: /opt/local/libexec/llvm-8.0/bin
 clang: note: diagnostic msg: PLEASE submit a bug report to
 https://bugs.llvm.org/ and include the crash backtrace, preprocessed
 source, and associated run script.
 clang: note: diagnostic msg: Error generating preprocessed source(s) - no
 preprocessable inputs.
 make: *** [GenConfigInfo] Error 1
 $
 }}}

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


More information about the macports-tickets mailing list