Package: libgccjit0 Version: 10-20200324-1 Severity: important Dear Maintainer,
I tried to complie GCC JIT's offiical hello world example shown on https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html Compilation worked well without any error message, however, when I ran the generated binary, it shows a segmentation fault, gdb output suggests it's caused by libgccjit: gong-yi@sid0 ~> gdb ./test2 GNU gdb (Debian 9.1-2) 9.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./test2... (No debugging symbols found in ./test2) (gdb) start Temporary breakpoint 1 at 0x13c3 Starting program: /home/gong-yi/test2 Temporary breakpoint 1, 0x00005555555553c3 in main () (gdb) continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff75829f3 in ?? () from /usr/lib/x86_64-linux-gnu/libgccjit.so.0 (gdb) continue Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. Thanks, Gong-Yi. *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-0.bpo.4-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libgccjit0 depends on: ii binutils 2.34-5 ii gcc-10-base 10-20200324-1 ii libc6 2.30-2 ii libgcc-10-dev 10-20200324-1 ii libgmp10 2:6.2.0+dfsg-4 ii libisl22 0.22.1-1 ii libmpc3 1.1.0-1 ii libmpfr6 4.0.2-1 ii libzstd1 1.4.4+dfsg-3 ii zlib1g 1:1.2.11.dfsg-2 libgccjit0 recommends no packages. libgccjit0 suggests no packages. -- no debconf information