https://sourceware.org/bugzilla/show_bug.cgi?id=18321
Bug ID: 18321
Summary: gold doesn't support SHF_COMPRESSED sections
Product: binutils
Version: 2.26 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: hjl.tools at gmail dot com
CC: ian at airs dot com
[hjl@gnu-6 compressed-2]$ cat x.c
#include <stdio.h>
int
main ()
{
printf ("hello world\n");
return 0;
}
[hjl@gnu-6 compressed-2]$ make
gcc -mx32 -B./ -g -Wa,--compress-debug-sections=zlib-gabi -c x.c -o x.o
gcc -mx32 -B./ -o bfd x.o -fuse-ld=bfd
gcc -mx32 -B./ -o gold x.o -fuse-ld=gold
./ld.gold: warning: x.o: last entry in mergeable string section '.debug_str'
not null terminated
./ld.gold: internal error in value_from_output_section, at
/export/gnu/import/git/sources/binutils-gdb/gold/reloc.cc:1483
collect2: error: ld returned 1 exit status
make: *** [gold] Error 1
[hjl@gnu-6 compressed-2]$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils