bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12353] New: exception_separate_shared_{12,21}_test fail when b


From: allan at archlinux dot org
Subject: [Bug gold/12353] New: exception_separate_shared_{12,21}_test fail when built with --as-needed
Date: Wed, 29 Dec 2010 03:12:53 +0000

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

           Summary: exception_separate_shared_{12,21}_test fail when built
                    with --as-needed
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden


When building the gold testsuite with LDFLAGS="-Wl,--as-needed", the following
tests fail due to undefined symbols:

FAIL: exception_separate_shared_12_test (exit: 127)
===================================================

./exception_separate_shared_12_test: symbol lookup error:
./exception_shared_1.so: undefined symbol: _Z2f1v

FAIL: exception_separate_shared_21_test (exit: 127)
===================================================

./exception_separate_shared_21_test: symbol lookup error:
./exception_shared_1.so: undefined symbol: _Z2f1v


When built with --as-needed:
 0x00000001 (NEEDED)                     Shared library:
[exception_shared_1.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

When built without --as-needed:
 0x00000001 (NEEDED)                     Shared library:
[exception_shared_1.so]
 0x00000001 (NEEDED)                     Shared library:
[exception_shared_2.so]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

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