Package: binutils-gold
Version: 2.20.1-10
Severity: important
Binaries using STT_GNU_IFUNC functions and built as -O0 level segfault
when linked with binutils-gold. Note that the version in experimental
doesn't have the problem.
Here is a small testcase for the problem:
#include <string.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
if (argv[1]) {
if (!strcmp(argv[1], "true"))
printf("True\n");
else if (!strcmp(argv[1], "false"))
printf("False\n");
else
printf("Not a boolean\n");
} else
printf("No argument given\n");
return 0;
}
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages binutils-gold depends on:
ii binutils 2.20.1-10 The GNU assembler, linker and bina
binutils-gold recommends no packages.
binutils-gold suggests no packages.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]