Opened 7 years ago

Closed 7 years ago

#54416 closed enhancement (fixed)

gcc8 draft port

Reported by: michaelld (Michael Dickens) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: W-E-Brown, rouson (Damian Rouson), jeremyhu (Jeremy Huddleston Sequoia)
Port: gcc8

Description

gcc8 has snapshots & thus is the next "devel" version of the gcc* series. I've designed this Portfile for libgcc8 and gcc8 to install (I think) in parallel with the other *gcc* ports. That said, libgcc8 fails to build for me. I'll attache a tarball of the gcc8 directory & patch, along with a snippet of the error in the comments.

Attachments (1)

gcc8.tar.bz2 (4.0 KB) - added by michaelld (Michael Dickens) 7 years ago.
lang/gcc8/*

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by michaelld (Michael Dickens)

Attachment: gcc8.tar.bz2 added

lang/gcc8/*

comment:1 Changed 7 years ago by michaelld (Michael Dickens)

Build error is:

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/gcc'
:info:build /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/./prev-gcc/xg++ -B/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin16/bin/ -nostdinc++ -B/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/prev-x86_64-apple-darwin16/libstdc++-v3/src/.libs -B/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/prev-x86_64-apple-darwin16/libstdc++-v3/libsupc++/.libs  -isystem /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/prev-x86_64-apple-darwin16/libstdc++-v3/include/x86_64-apple-darwin16  -isystem /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/prev-x86_64-apple-darwin16/libstdc++-v3/include  -isystem /opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/gcc-8-20170625/libstdc++-v3/libsupc++ -L/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/prev-x86_64-apple-darwin16/libstdc++-v3/src/.libs -L/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/prev-x86_64-apple-darwin16/libstdc++-v3/libsupc++/.libs   -g -O2   -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -static-libstdc++ -static-libgcc -Wl,-no_pie  -o build/genmddeps \
:info:build 	    build/genmddeps.o build/read-md.o build/errors.o .././libiberty/libiberty.a
:info:build 0  0x1027692a0  __assert_rtn + 144
:info:build 1  0x1027fcf33  mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions const&) + 3195
:info:build 2  0x1027f4a96  mach_o::relocatable::Parser<x86_64>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 342
:info:build 3  0x10276bfb2  ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool) + 818
:info:build 4  0x10276e907  ld::tool::InputFiles::parseWorkerThread() + 495
:info:build 5  0x7fffdc87593b  _pthread_body + 180
:info:build 6  0x7fffdc875887  _pthread_body + 0
:info:build A linker snapshot was created at:
:info:build 	/tmp/genmddeps-2017-06-02-190128.ld-snapshot
:info:build ld: Assertion failed: (cfiStartsArray[i] != cfiStartsArray[i-1]), function parse, file src/ld/parsers/macho_relocatable_file.cpp, line 1851.
:info:build collect2: error: ld returned 1 exit status
:info:build make[3]: *** [build/genmddeps] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_sources_MacPorts_ports_github_macports_lang_gcc8/libgcc8/work/build/gcc'

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

We don't want a "libgcc8" port. The gcc8 port should have a libgcc-devel subport, as we've always done before. #54198 is the ticket that covers updating gcc7 and introducing libgcc6 and gcc8; this all must happen at the same time.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:4 Changed 7 years ago by michaelld (Michael Dickens)

OK. It seems like #54198 isn't about gcc8 though. Maybe keeping the gcc8 discussion here?

Since you seem to be on top of all of this, I'll just let you handle it. I'm happy to do testing.

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newassigned

comment:6 Changed 7 years ago by W-E-Brown

Cc: W-E-Brown added

comment:7 Changed 7 years ago by rouson (Damian Rouson)

Cc: rouson added

comment:8 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu added
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.