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

Aurelien Jarno <aurelien at aurel32 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aurelien at aurel32 dot net

--- Comment #4 from Aurelien Jarno <aurelien at aurel32 dot net> ---
This is also reproducible with the tst-gmon-static test from glibc 2.38, when
compiled with GCC 13, while the test passes fine with GCC 12.

A very basic debugging shows that the problem is triggered by using crtbeginT.o
from GCC 13. The test passes when compiling everything with GCC 13, but using
crtbeginT.o from GCC 12.

The backtrace is the following:

Program received signal SIGSEGV, Segmentation fault.
0x00000000000516e2 in classify_object_over_fdes ()
(gdb) bt
#0  0x00000000000516e2 in classify_object_over_fdes ()
#1  0x0000000000052690 in __register_frame_info ()
#2  0x0000000000010570 in frame_dummy ()
#3  0x0000000000010872 in call_init (envp=0x3ffffff3e0, argv=0x3ffffff3c8,
argc=2) at libc-start.c:189
#4  __libc_start_main_impl (main=0x10448 <main>, argc=2, argv=0x3ffffff3c8,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=<optimized out>) at libc-start.c:355
#5  0x0000000000010488 in _start () at ../sysdeps/riscv/start.S:61

Reply via email to