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

            Bug ID: 17742
           Summary: ABI version 1 is not compatible with ABI version 0
                    output
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: sch...@linux-m68k.org
            Target: powerpc64-*-*

$ echo 'int x;' > foo.c
$ gcc -shared -o foo.so foo.c
$ gcc -c foo.c
$ readelf -h foo.o | grep Flags:
  Flags:                             0x0
$ readelf -h foo.so | grep Flags:
  Flags:                             0x1, abiv1
$ ld -shared --eh-frame-hdr foo.o foo.so 
ld: foo.so: ABI version 1 is not compatible with ABI version 0 output
ld: failed to merge target specific data of file foo.so

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