Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Aug 2017 17:45:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221287] gcc6 segfaults when compiling objective-c gnustep
Message-ID:  <bug-221287-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 221287
           Summary: gcc6 segfaults when compiling objective-c gnustep
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rm@gnu.org

using gcc 6.4.0 from ports to compile gnustep fails after a couple of files
even in core base, files known to compile with clang and much older gcc ver=
sion
too, including gcc5 from ports)

gcc6 NSArchiver.m -c \
      -MMD -MP -DGNUSTEP_TARGET_DIR=3D\".\" -DGNUSTEP_TARGET_CPU=3D\"ix86\"
-DGNUSTEP_TARGET_OS=3D\"freebsd\" -DGNUSTEP_IS_FLATTENED=3D\"yes\"
-DLIBRARY_COMBO=3D\"gnu-gnu-gnu\" -DGNUSTEP_BASE_INTERNAL=3D1 -Wall
-Wdeclaration-after-statement -Wcast-align -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=
=3D1
-DGNU_GUI_LIBRARY=3D1 -DGNU_RUNTIME=3D1 -DGNUSTEP_BASE_LIBRARY=3D1
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIO=
NS
-pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime
-fgnu-runtime -fconstant-string-class=3DNSConstantString -I../Headers -I./.=
 -I.
-I/home/multix/GNUstep/Library/Headers -I/Local/Library/Headers
-I/System/Library/Headers -I/usr/local/include -I/Local/Library/Headers
-I/Local/Library/Headers -I/System/Library/Headers
-I/usr/local/lib/libffi-3.2.1/include -I/usr/local/include/libxml2
-I/usr/include -I/usr/local/include -I/usr/local/include/p11-kit-1 \
       -o obj/libgnustep-base.obj/NSArchiver.m.o
NSArchiver.m: In function '+[NSArchiver initialize]':
NSArchiver.m:92:3: internal compiler error: Segmentation fault
   if (self =3D=3D [NSArchiver class])
   ^~
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html>; for instructions.
gmake[4]: *** [/System/Library/Makefiles/rules.make:479:
obj/libgnustep-base.obj/NSArchiver.m.o] Error 1

--=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-221287-13>