https://sourceware.org/bugzilla/show_bug.cgi?id=18656

            Bug ID: 18656
           Summary: unable to initialize decompress status for section
                    .debug_info
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

[hjl@gnu-6 xxx]$ cat x.c
int
foo (int x)
{
  return x * 4;
}
[hjl@gnu-6 xxx]$ make
gcc -g -fPIC -Wa,--compress-debug-sections=zlib-gabi   -c -o x.o x.c
objcopy -O elf32-x86-64 x.o x32.o
./ld -melf32_x86_64 -shared -o x32.so x32.o
./ld: x32.o: unable to initialize decompress status for section .debug_info
./ld: x32.o: unable to initialize decompress status for section .debug_info
x32.o: file not recognized: File format not recognized
Makefile:29: recipe for target 'x32.so' failed
make: *** [x32.so] Error 1
[hjl@gnu-6 xxx]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to