Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2017 21:35:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223856] lang/gcc6 Internal compiler error: Segmentation fault
Message-ID:  <bug-223856-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223856

            Bug ID: 223856
           Summary: lang/gcc6 Internal compiler error: Segmentation fault
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald@FreeBSD.org
          Reporter: martinfilla@post.cz
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)

Hello i compiled program MellowPlayer with gcc6 but have g++6: internal
compiler error: Segmentation fault (program cc1plus)

lol@ ~/C/M/build> cmake -DCMAKE_C_COMPILER=3Dgcc6 -DCMAKE_CXX_COMPILER=3Dg+=
+6 ..
-- The C compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/local/bin/gcc6
-- Check for working C compiler: /usr/local/bin/gcc6 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Qt 5.7.1 in /usr/local/lib/cmake/Qt5
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.3.10")=20
-- Checking for one of the modules 'libnotify'
-- Found libnotify 0.7.7
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE=20=20
-- CMAKE_INSTALL_BINDIR: /usr/local/bin
-- CMAKE_INSTALL_LIBDIR: /usr/local/lib
-- CMAKE_INSTALL_DATADIR: /usr/local/share
-- cotire 1.7.10 loaded.
-- CXX target MellowPlayer.Domain cotired without unity build.
-- CXX target MellowPlayer.Infrastructure cotired without unity build.
-- CXX target MellowPlayer.Presentation cotired without unity build.
-- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/local/lib/libX11.so
-- Building MellowPlayer v3.1.0.0
-- Build date: 2017-11-24
-- Build type: Release
-- Use pre-compiled headers: ON
-- Default theme: Adaptive
-- Build tests: OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/home/lol/Code/MellowPlayer/build
lol@ ~/C/M/build> gmake CC=3Dgcc6 CXX=3Dgcc6++
[  0%] Generating
lib/MellowPlayer/Domain/cotire/MellowPlayer.Domain_CXX_prefix.cxx
[  1%] Generating
lib/MellowPlayer/Domain/cotire/MellowPlayer.Domain_CXX_prefix.hxx
[  2%] Building CXX precompiled header
lib/MellowPlayer/Domain/cotire/MellowPlayer.Domain_CXX_prefix.hxx.gch
Scanning dependencies of target MellowPlayer.Domain
[  3%] Building CXX object
lib/MellowPlayer/Domain/CMakeFiles/MellowPlayer.Domain.dir/AlbumArt/ILocalA=
lbumArt.cpp.o

g++6: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html>; for instructions.
gmake[2]: ***
[lib/MellowPlayer/Domain/CMakeFiles/MellowPlayer.Domain.dir/build.make:78:
lib/MellowPlayer/Domain/CMakeFiles/MellowPlayer.Domain.dir/AlbumArt/ILocalA=
lbumArt.cpp.o]
Error 4
gmake[1]: *** [CMakeFiles/Makefile2:243:
lib/MellowPlayer/Domain/CMakeFiles/MellowPlayer.Domain.dir/all] Error 2
gmake: *** [Makefile:130: all] Error 2


gcc -v
Using built-in specs.
COLLECT_GCC=3Dgcc6
COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc6/gcc/x86_64-portbld-freebsd11.=
0/6.4.0/lto-wrapper
Target: x86_64-portbld-freebsd11.0
Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/configure
--with-build-config=3Dbootstrap-debug --disable-nls
--enable-gnu-indirect-function --libdir=3D/usr/local/lib/gcc6
--libexecdir=3D/usr/local/libexec/gcc6 --program-suffix=3D6
--with-as=3D/usr/local/bin/as --with-gmp=3D/usr/local
--with-gxx-include-dir=3D/usr/local/lib/gcc6/include/c++/
--with-ld=3D/usr/local/bin/ld --with-pkgversion=3D'FreeBSD Ports Collection'
--with-system-zlib --with-ecj-jar=3D/usr/local/share/java/ecj-4.5.jar
--enable-languages=3Dc,c++,objc,fortran,java --prefix=3D/usr/local
--localstatedir=3D/var --mandir=3D/usr/local/man --infodir=3D/usr/local/inf=
o/gcc6
--build=3Dx86_64-portbld-freebsd11.0
Thread model: posix
gcc version 6.4.0 (FreeBSD Ports Collection)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223856-13>