http://sourceware.org/bugzilla/show_bug.cgi?id=15877

            Bug ID: 15877
           Summary: ld-gc/gc.exp FAIL with --gc-sections, pr14265
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org

Similar to bug 14732, but for arm.

pr14265 fails for me when running with a gcc build with target
arm-linux-androideabi:
...
failed with: <>, expected: <>

failed with: <>, expected: <>
FAIL: --gc-sections with KEEP
...

Gcc build with target arm-linux-androideabi passes -fPIC by default. Adding
-fno-PIC to the cflags allows the test to pass.

Another way to reproduce the problem is to use an arm-linux-gnueabi gcc and add
-fPIC to the cflags.

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