This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/52362] New: gnat.dg/lto8.adb FAILs with gas/gld


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52362

             Bug #: 52362
           Summary: gnat.dg/lto8.adb FAILs with gas/gld
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
              Host: *-*-solaris2*, x86_64-unknown-linux-gnu
            Target: *-*-solaris2*, x86_64-unknown-linux-gnu
             Build: *-*-solaris2*, x86_64-unknown-linux-gnu


The gnat.dg/lto8.adb test FAILs for me when using gas and gld 2.22 on Solaris
(both SPARC and x86): e.g. on i386-pc-solaris2.10:

FAIL: gnat.dg/lto8.adb (test for excess errors)
Excess errors:
/var/gcc/regression/trunk/10-gcc-gas-gld/build/i386-pc-solaris2.10/amd64/libada/adainclude/ada.o:(.data+0x0):
multiple definition of `ada_E'
/var/gcc/regression/trunk/10-gcc-gas-gld/build/i386-pc-solaris2.10/amd64/libada/adainclude/ada.o:(.data+0x0):
first defined here
/var/gcc/regression/trunk/10-gcc-gas-gld/build/i386-pc-solaris2.10/amd64/libada/adainclude/interfac.o:(.data+0x0):
multiple definition of `interfaces_E'
/var/gcc/regression/trunk/10-gcc-gas-gld/build/i386-pc-solaris2.10/amd64/libada/adainclude/interfac.o:(.data+0x0):
first defined here

and many more, but on Solaris only the 64-bit test fails.  The failure doesn't
occur with as/ld, gas/ld, or as/gld.

I see the same failure on Linux/amd64, but here both the 64-bit and 32-bit test
are affected.

  Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]