Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2019 11:17:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240387] lang/gcc10-devel, 20190901 snapshot: internal compiler error: Segmentation fault
Message-ID:  <bug-240387-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 240387
           Summary: lang/gcc10-devel, 20190901 snapshot: internal compiler
                    error: Segmentation fault
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)
          Assignee: gerald@FreeBSD.org

During the first stage, I see:

during RTL pass: stv
/usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath/math/=
remainderq.c:
In function 'remainderq':
/usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath/math/=
remainderq.c:69:1:
internal compiler error: Segmentation fault
   69 | }
      | ^
no stack trace because unwind library not available

I tried rebuilding the port with WITH_DEBUG=3D1, but for some reason it sti=
ll
doesn't show much info in the backtrace:

(gdb) run
Starting program: /usr/work/usr/ports/lang/gcc10-devel/work/.build/gcc/cc1
-quiet -v -I . -I
/usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath -I
/usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath/../in=
clude
-imultilib 32 -iprefix
/usr/work/usr/ports/lang/gcc10-devel/work/.build/gcc/../lib/gcc10/gcc/x86_6=
4-portbld-freebsd12.1/10.0.0/
-isystem /usr/work/usr/ports/lang/gcc10-devel/work/.build/./gcc/include
-isystem /usr/work/usr/ports/lang/gcc10-devel/work/.build/./gcc/include-fix=
ed
-MD math/.libs/remainderq.d -MF math/.deps/remainderq.Tpo -MP -MT
math/remainderq.lo -D HAVE_CONFIG_H -D LIBICONV_PLUG -D PIC -isystem
/usr/local/x86_64-portbld-freebsd12.1/include -isystem
/usr/local/x86_64-portbld-freebsd12.1/sys-include
/usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath/math/=
remainderq.c
-quiet -dumpbase remainderq.c -march=3Dhaswell -m32 -auxbase-strip
math/.libs/remainderq.o -g -O2 -version -fno-strict-aliasing -fPIC -o
/tmp/cckRfWIp.s
warning: File "/usr/local/lib/libisl.so.19.0.0-gdb.py" auto-loading has been
declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load=
".
GNU C17 (FreeBSD Ports Collection) version 10.0.0 20190901 (experimental)
(x86_64-portbld-freebsd12.1)
        compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 8.0.1
(tags/RELEASE_801/final 366581), GMP version 6.1.2, MPFR version 4.0.2, MPC
version 1.1.0, isl version isl-0.19-GMP

GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096
ignoring nonexistent directory "/usr/local/x86_64-portbld-freebsd12.1/inclu=
de"
ignoring nonexistent directory
"/usr/local/x86_64-portbld-freebsd12.1/sys-include"
ignoring nonexistent directory
"/usr/work/usr/ports/lang/gcc10-devel/work/.build/gcc/../lib/gcc10/gcc/x86_=
64-portbld-freebsd12.1/10.0.0/include"
ignoring nonexistent directory
"/usr/work/usr/ports/lang/gcc10-devel/work/.build/gcc/../lib/gcc10/gcc/x86_=
64-portbld-freebsd12.1/10.0.0/include-fixed"
ignoring nonexistent directory
"/usr/work/usr/ports/lang/gcc10-devel/work/.build/gcc/../lib/gcc10/gcc/x86_=
64-portbld-freebsd12.1/10.0.0/../../../../../x86_64-portbld-freebsd12.1/inc=
lude"
ignoring nonexistent directory
"/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.1/10.0.0/include"
ignoring nonexistent directory
"/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.1/10.0.0/include-fixed"
ignoring nonexistent directory
"/usr/local/lib/gcc10/gcc/../../../x86_64-portbld-freebsd12.1/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 /usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath

/usr/work/usr/ports/lang/gcc10-devel/work/gcc-10-20190901/libquadmath/../in=
clude
 /usr/work/usr/ports/lang/gcc10-devel/work/.build/./gcc/include
 /usr/work/usr/ports/lang/gcc10-devel/work/.build/./gcc/include-fixed
 /usr/local/include
 /usr/include
End of search list.
GNU C17 (FreeBSD Ports Collection) version 10.0.0 20190901 (experimental)
(x86_64-portbld-freebsd12.1)
        compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 8.0.1
(tags/RELEASE_801/final 366581), GMP version 6.1.2, MPFR version 4.0.2, MPC
version 1.1.0, isl version isl-0.19-GMP

GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096
Compiler executable checksum: ebdfffeb7612750c02e465841f91b5d8

Program received signal SIGSEGV, Segmentation fault.
0x00000000013ce4f3 in gen_rtx_SUBREG(machine_mode, rtx_def*, poly_int<1u,
unsigned long>) ()
(gdb) bt
#0  0x00000000013ce4f3 in gen_rtx_SUBREG(machine_mode, rtx_def*, poly_int<1=
u,
unsigned long>) ()
#1  0x0000000001f9592f in (anonymous
namespace)::general_scalar_chain::convert_registers() ()
#2  0x0000000001f933f6 in (anonymous namespace)::pass_stv::execute(function=
*)
()
#3  0x0000000001970b3d in execute_one_pass(opt_pass*) ()
#4  0x0000000001971508 in execute_pass_list_1(opt_pass*) ()
#5  0x000000000197151a in execute_pass_list_1(opt_pass*) ()
#6  0x00000000019633aa in execute_pass_list(function*, opt_pass*) ()
#7  0x00000000012d19d2 in cgraph_node::expand() ()
#8  0x00000000012d50c4 in symbol_table::compile() ()
#9  0x00000000012d5690 in symbol_table::finalize_compilation_unit() ()
#10 0x0000000001b43c64 in compile_file() ()
#11 0x0000000001b436ef in toplev::main(int, char**) ()
#12 0x0000000001f97bef in main ()

--=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-240387-7788>