Package: gcc-13 Version: 13.3.0-9 Severity: normal Dear Maintainer,
Recently gcl27 fails on mipsel64 alone. All binaries are linked with -no-pie, and some with -pg as well. In the latter case, __executable_start takes on the high address of 0x0000000120000000, but etext is missing the upper bits at 0x00000000005a4db8, leading to a segfault in monstartup/calloc. In a basic main.c compiled similarly, I cannot reproduce the problem, as etext is correctly placed above __executable_start. Something seems to be overflowing with the larger executable but I cannot pinpoint it. It is also very recent. (sid_mips64el-dchroot)camm@eberlin:~/gcl/gcl/unixport$ readelf -a raw_gcl_gprof |grep __executable_ 14326: 0000000120000000 0 NOTYPE LOCAL DEFAULT 1 __executable_start (sid_mips64el-dchroot)camm@eberlin:~/gcl/gcl/unixport$ readelf -a raw_gcl_gprof |grep etext 670: 00000000005a4db8 0 NOTYPE GLOBAL DEFAULT 14 etext 15118: 00000000005a4db8 0 NOTYPE GLOBAL DEFAULT 14 etext (sid_mips64el-dchroot)camm@eberlin:~/gcl/gcl/unixport$ cd Take care, -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: mips64el (mips64) Kernel: Linux 4.19.0-21-loongson-3 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages gcc-13 depends on: ii binutils 2.43.50.20241204-2 ii cpp-13 13.3.0-9 ii gcc-13-base 13.3.0-9 ii gcc-13-mips64el-linux-gnuabi64 13.3.0-9 Versions of packages gcc-13 recommends: ii libc6-dev 2.40-4 Versions of packages gcc-13 suggests: pn gcc-13-doc <none> pn gcc-13-locales <none> pn gcc-13-multilib <none> -- no debconf information Thank you for using reportbug -- Camm Maguire c...@maguirefamily.org ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah