bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/14732] New: ld-gc/gc.exp FAILs with --gc-sections, pr14265


From: tschwinge at sourceware dot org
Subject: [Bug ld/14732] New: ld-gc/gc.exp FAILs with --gc-sections, pr14265
Date: Wed, 17 Oct 2012 08:10:57 +0000


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



             Bug #: 14732

           Summary: ld-gc/gc.exp FAILs with --gc-sections, pr14265

           Product: binutils

           Version: 2.24 (HEAD)

            Status: NEW

          Severity: minor

          Priority: P2

         Component: ld

        AssignedTo: address@hidden

        ReportedBy: address@hidden

    Classification: Unclassified

            Target: mips-linux-gnu





For MIPS GNU/Linux I see:



    FAIL: --gc-sections with --defsym

    FAIL: --gc-sections with KEEP



>From ld.log (slightly edited):



    [...]

    mips-linux-gnu-ld [...]  --gc-sections -e main tmpdir/pr11218-2.o

tmpdir/pr11218-1.so -o tmpdir/dump tmpdir/dump0.o

    mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls files with

non-abicalls files

    tmpdir/pr11218-2.o: undefined reference to

`unresolved_detected_at_runtime_not_at_linktime'

    failed with: <mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls

files with non-abicalls files

    tmpdir/pr11218-2.o: undefined reference to

`unresolved_detected_at_runtime_not_at_linktime'>, expected: <undefined

reference to `unresolved_detected_at_runtime_not_at_linktime'>

    mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls files with

non-abicalls files

    tmpdir/pr11218-2.o: undefined reference to

`unresolved_detected_at_runtime_not_at_linktime'

    PASS: --gc-sections with shared library

    mips-linux-gnu-gcc [...] -g -O2 -fno-unwind-tables -ffunction-sections

-fdata-sections -c [...]/ld/testsuite/ld-gc/pr13683.c -o tmpdir/pr13683.o

    mips-linux-gnu-as    -o tmpdir/dump0.o [...]/ld/testsuite/ld-gc/dummy.s

    mips-linux-gnu-ld  -L[...]/ld/testsuite/ld-gc  --gc-sections -e main

--defsym foo=foo2 tmpdir/pr13683.o -o tmpdir/dump tmpdir/dump0.o

    mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls files with

non-abicalls files

    succeeded with: <mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking

abicalls files with non-abicalls files>, expected: <>

    mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls files with

non-abicalls files

    succeeded with: <mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking

abicalls files with non-abicalls files>, expected: <>

    FAIL: --gc-sections with --defsym

    mips-linux-gnu-gcc [...] -g -O2 -fno-unwind-tables -ffunction-sections

-fdata-sections -c [...]/ld/testsuite/ld-gc/pr14265.c -o tmpdir/pr14265.o

    mips-linux-gnu-as    -o tmpdir/dump0.o [...]/ld/testsuite/ld-gc/dummy.s

    mips-linux-gnu-ld [...] --gc-sections -T pr14265.t -e 0 tmpdir/pr14265.o -o

tmpdir/dump tmpdir/dump0.o

    mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls files with

non-abicalls files

    succeeded with: <mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking

abicalls files with non-abicalls files>, expected: <>

    mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking abicalls files with

non-abicalls files

    succeeded with: <mips-linux-gnu-ld: tmpdir/dump0.o: warning: linking

abicalls files with non-abicalls files>, expected: <>

    FAIL: --gc-sections with KEEP



-- 

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

------- You are receiving this mail because: -------

You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]