https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772

            Bug ID: 82772
           Summary: GCC crashes as compiling ags_thread.c source file on
                    alpha architecture
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jkraehemann at gmail dot com
  Target Milestone: ---

Hi,

As building the GSequencer package gcc was crashed by ICE.

http://nongnu.org/gsequencer
https://buildd.debian.org/status/fetch.php?pkg=gsequencer&arch=alpha&ver=1.1.4-1&stamp=1508767199&raw=0

Here are the configure flags:

dh_auto_configure --  --enable-alsa --disable-oss --enable-libinstpatch
--enable-gtk-doc --enable-gtk-doc-html
        ./configure --build=alpha-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-silent-rules --libdir=\${prefix}/lib/alpha-linux-gnu
--libexecdir=\${prefix}/lib/alpha-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking --enable-alsa --disable-oss --enable-libinstpatch
--enable-gtk-doc --enable-gtk-doc-html
configure: WARNING: unrecognized options: --disable-maintainer-mode

Here is the problematic call to gcc:

/bin/bash ./libtool  --tag=CC   --mode=compile gcc
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I./ags  -std=gnu99
-include /usr/include/errno.h -I. -DSRCDIR=\".\" -DDESTDIR=\"/usr/share\"
-DPACKAGE_VERSION=\"1.1.4\" -DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security   -O
-I./ -I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c -o
ags/thread/libags_thread_la-ags_thread-posix.lo `test -f
'ags/thread/ags_thread-posix.c' || echo './'`ags/thread/ags_thread-posix.c
/bin/bash ./libtool  --tag=CC   --mode=compile gcc
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I./ags  -std=gnu99
-include /usr/include/errno.h -I. -DSRCDIR=\".\" -DDESTDIR=\"/usr/share\"
-DPACKAGE_VERSION=\"1.1.4\" -DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security   -O
-I./ -I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c -o
ags/thread/libags_thread_la-ags_timestamp_factory.lo `test -f
'ags/thread/ags_timestamp_factory.c' || echo
'./'`ags/thread/ags_timestamp_factory.c
libtool: compile:  gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.
-I./ags -std=gnu99 -include /usr/include/errno.h -I. -DSRCDIR=\".\"
-DDESTDIR=\"/usr/share\" -DPACKAGE_VERSION=\"1.1.4\"
-DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2 -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -O -I./
-I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c
ags/thread/ags_thread-posix.c  -fPIC -DPIC -o
ags/thread/.libs/libags_thread_la-ags_thread-posix.o
ags/thread/ags_thread-posix.c: In function 'ags_thread_init':
ags/thread/ags_thread-posix.c:428:20: warning: assignment from incompatible
pointer type [-Wincompatible-pointer-types]
   thread->obj_cond =
                    ^
ags/thread/ags_thread-posix.c: In function 'ags_thread_real_start':
ags/thread/ags_thread-posix.c:2846:13: warning: assignment from incompatible
pointer type [-Wincompatible-pointer-types]
   main_loop = ags_thread_get_toplevel(thread);
             ^
ags/thread/ags_thread-posix.c: In function 'ags_thread_loop':
ags/thread/ags_thread-posix.c:3355:7: warning: implicit declaration of function
'pthread_yield'; did you mean 'g_thread_yield'?
[-Wimplicit-function-declaration]
       pthread_yield();
       ^~~~~~~~~~~~~
       g_thread_yield
libtool: compile:  gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.
-I./ags -std=gnu99 -include /usr/include/errno.h -I. -DSRCDIR=\".\"
-DDESTDIR=\"/usr/share\" -DPACKAGE_VERSION=\"1.1.4\"
-DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2 -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -O -I./
-I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c
ags/thread/ags_timestamp_factory.c  -fPIC -DPIC -o
ags/thread/.libs/libags_thread_la-ags_timestamp_factory.o
ags/thread/ags_timestamp_factory.c: In function 'ags_timestamp_factory_create':
ags/thread/ags_timestamp_factory.c:146:3: warning:
'ags_timestamp_factory_get_type' is deprecated [-Wdeprecated-declarations]
   g_return_val_if_fail(AGS_IS_TIMESTAMP_FACTORY(timestamp_factory), NULL);
   ^~~~~~~~~~~~~~~~~~~~
ags/thread/ags_timestamp_factory.c:52:1: note: declared here
 ags_timestamp_factory_get_type (void)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ags/thread/ags_timestamp_factory.c: In function
'ags_timestamp_factory_get_instance':
ags/thread/ags_timestamp_factory.c:167:5: warning: 'ags_timestamp_factory_new'
is deprecated [-Wdeprecated-declarations]
     ags_timestamp_factory = ags_timestamp_factory_new();
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ags/thread/ags_timestamp_factory.c:20:0:
./ags/thread/ags_timestamp_factory.h:68:35: note: declared here
 G_DEPRECATED AgsTimestampFactory* ags_timestamp_factory_new();
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
ags/thread/ags_timestamp_factory.c: In function 'ags_timestamp_factory_new':
ags/thread/ags_timestamp_factory.c:189:3: warning:
'ags_timestamp_factory_get_type' is deprecated [-Wdeprecated-declarations]
   timestamp_factory = (AgsTimestampFactory *)
g_object_new(AGS_TYPE_TIMESTAMP_FACTORY,
   ^~~~~~~~~~~~~~~~~
ags/thread/ags_timestamp_factory.c:52:1: note: declared here
 ags_timestamp_factory_get_type (void)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.
-I./ags -std=gnu99 -include /usr/include/errno.h -I. -DSRCDIR=\".\"
-DDESTDIR=\"/usr/share\" -DPACKAGE_VERSION=\"1.1.4\"
-DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2 -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -O -I./
-I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c
ags/thread/ags_timestamp_factory.c -o
ags/thread/libags_thread_la-ags_timestamp_factory.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I./ags  -std=gnu99
-include /usr/include/errno.h -I. -DSRCDIR=\".\" -DDESTDIR=\"/usr/share\"
-DPACKAGE_VERSION=\"1.1.4\" -DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security   -O
-I./ -I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c -o
ags/thread/libags_thread_la-ags_timestamp_thread.lo `test -f
'ags/thread/ags_timestamp_thread.c' || echo
'./'`ags/thread/ags_timestamp_thread.c
libtool: compile:  gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.
-I./ags -std=gnu99 -include /usr/include/errno.h -I. -DSRCDIR=\".\"
-DDESTDIR=\"/usr/share\" -DPACKAGE_VERSION=\"1.1.4\"
-DAGS_LIBRARY_SUFFIX=\".so\" -D_FORTIFY_SOURCE=2 -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DAGS_RC_FILENAME=\"/usr/share/gsequencer/styles/ags.rc\"
-DAGS_ANIMATION_FILENAME=\"/usr/share/gsequencer/images/ags_supermoon-800x450.png\"
-DAGS_LOGO_FILENAME=\"/usr/share/gsequencer/images/ags.png\"
-DAGS_LICENSE_FILENAME=\"/usr/share/common-licenses/GPL-3\" -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -O -I./
-I/usr/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/alpha-linux-gnu/glib-2.0/include -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c
ags/thread/ags_timestamp_thread.c  -fPIC -DPIC -o
ags/thread/.libs/libags_thread_la-ags_timestamp_thread.o
ags/thread/ags_thread-posix.c:3474:1: error: could not split insn
 }
 ^
(insn:TI 645 2854 2855 (parallel [
            (set (mem/v:SI (reg/f:DI 14 $14 [orig:133 _64 ] [133]) [-1  S4
A32])
                (unspec:SI [
                        (and:SI (mem/v:SI (reg/f:DI 14 $14 [orig:133 _64 ]
[133]) [-1  S4 A32])
                            (const_int -262145 [0xfffffffffffbffff]))
                        (const_int 32773 [0x8005])
                    ] UNSPEC_ATOMIC))
            (clobber (reg:SI 2 $2))
        ]) "ags/thread/ags_thread-posix.c":3290 324 {atomic_andsi}
     (expr_list:REG_UNUSED (reg:SI 2 $2)
        (nil)))
ags/thread/ags_thread-posix.c:3474:1: internal compiler error: in
final_scan_insn, at final.c:3025
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.

Reply via email to