[Bug 223856] lang/gcc6 Internal compiler error: Segmentation fault

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 24 21:35:55 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223856

            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 at FreeBSD.org
          Reporter: martinfilla at post.cz
          Assignee: gerald at FreeBSD.org
             Flags: maintainer-feedback?(gerald at 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=gcc6 -DCMAKE_CXX_COMPILER=g++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") 
-- 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  
-- 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=gcc6 CXX=gcc6++
[  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/ILocalAlbumArt.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/ILocalAlbumArt.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=gcc6
COLLECT_LTO_WRAPPER=/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=bootstrap-debug --disable-nls
--enable-gnu-indirect-function --libdir=/usr/local/lib/gcc6
--libexecdir=/usr/local/libexec/gcc6 --program-suffix=6
--with-as=/usr/local/bin/as --with-gmp=/usr/local
--with-gxx-include-dir=/usr/local/lib/gcc6/include/c++/
--with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection'
--with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar
--enable-languages=c,c++,objc,fortran,java --prefix=/usr/local
--localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc6
--build=x86_64-portbld-freebsd11.0
Thread model: posix
gcc version 6.4.0 (FreeBSD Ports Collection)

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


More information about the freebsd-ports-bugs mailing list