Bug#897086: binutils: ld version script causes runtime crashes on mips/mipsel

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <152490157182.23210.12840684270733043363.reportbug@localhost.localdomain>
Package: binutils
Version: 2.30-15
Severity: grave
Control: affects -1 src:libguess

https://buildd.debian.org/status/package.php?p=libguess&suite=sid

This can be reproduced with:

(sid_mips-dchroot)bunk@minkus:~/build$ cat version-script 
{
        global:
                libguess_*; guess_[a-z][a-z];
        local:
                *;
};
(sid_mips-dchroot)bunk@minkus:~/build$ cat test.c
int main() {return 0;}
(sid_mips-dchroot)bunk@minkus:~/build$ gcc -o test -Wl,--version-script=version-script test.c
(sid_mips-dchroot)bunk@minkus:~/build$ ./test
Segmentation fault
(sid_mips-dchroot)bunk@minkus:~/build$


Severity set so high since it is unclear whether this
might cause more widespread runtime problems.

No segfault in stretch.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.