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

            Bug ID: 18322
           Summary: gold doesn't support
                    --compress-debug-sections={zlib-gabi|zlib-gnu}
           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-4]$ cat x.c
#include <stdio.h>

int
main ()
{
  printf ("hello world\n");
  return 0;
}
[hjl@gnu-6 compressed-4]$ make gold.gabi
gcc -B./ -g -Wa,--compress-debug-sections -c x.c -o x.o
gcc -B./ -o gold.gabi x.o -fuse-ld=gold -Wl,--compress-debug-sections=zlib-gabi
./ld.gold: fatal error: --compress-debug-sections=zlib-gabi: must take one of
the following arguments: none, zlib
collect2: error: ld returned 1 exit status
make: *** [gold.gabi] Error 1
[hjl@gnu-6 compressed-4]$ make gold.gnu
gcc -B./ -o gold.gnu x.o -fuse-ld=gold -Wl,--compress-debug-sections=zlib-gnu
./ld.gold: fatal error: --compress-debug-sections=zlib-gnu: must take one of
the following arguments: none, zlib
collect2: error: ld returned 1 exit status
make: *** [gold.gnu] Error 1
[hjl@gnu-6 compressed-4]$

-- 
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