[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12696] New: LTO linker fails GCC LTO tests
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/12696] New: LTO linker fails GCC LTO tests |
Date: |
Fri, 22 Apr 2011 22:31:08 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12696
Summary: LTO linker fails GCC LTO tests
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
BFD linker in CVS trunk failed GCC LTO tests:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48733
On Linux/x86, I got
FAIL: g++.dg/lto/20081109-1 cp_lto_20081109-1_0.o-cp_lto_20081109-1_0.o link,
-fPIC -flto -flto-partition=1to1
FAIL: g++.dg/lto/20081118 cp_lto_20081118_0.o-cp_lto_20081118_1.o link, -fPIC
-flto -flto-partition=1to1 -r -nostdlib
FAIL: g++.dg/lto/20081125 cp_lto_20081125_0.o-cp_lto_20081125_1.o link, -flto
-flto-partition=1to1
FAIL: g++.dg/lto/20081204-1 cp_lto_20081204-1_0.o-cp_lto_20081204-1_1.o link,
-flto -flto-partition=1to1 -fPIC -r -nostdlib
FAIL: g++.dg/lto/20081219 cp_lto_20081219_0.o-cp_lto_20081219_1.o link, -fPIC
-flto -flto-partition=1to1 -O2
FAIL: g++.dg/lto/20090302 cp_lto_20090302_0.o-cp_lto_20090302_1.o link, -fPIC
-flto -flto-partition=1to1 -r -nostdlib
FAIL: g++.dg/lto/20091026-1 cp_lto_20091026-1_0.o-cp_lto_20091026-1_1.o link,
-O0 -flto -flto-partition=none
FAIL: g++.dg/lto/20091026-1 cp_lto_20091026-1_0.o-cp_lto_20091026-1_1.o link,
-O0 -flto -flto-partition=1to1
FAIL: g++.dg/lto/20091026-1 cp_lto_20091026-1_0.o-cp_lto_20091026-1_1.o link,
-O0 -flto
FAIL: g++.dg/lto/20100724-1 cp_lto_20100724-1_0.o-cp_lto_20100724-1_0.o link,
-ftoplevel-reorder -flto -flto-partition=none
FAIL: g++.dg/lto/20100724-1 cp_lto_20100724-1_0.o-cp_lto_20100724-1_0.o link,
-ftoplevel-reorder -flto -flto-partition=1to1
FAIL: g++.dg/lto/20081109-1 cp_lto_20081109-1_0.o-cp_lto_20081109-1_0.o link,
-fPIC -flto -flto-partition=1to1
FAIL: g++.dg/lto/20081118 cp_lto_20081118_0.o-cp_lto_20081118_1.o link, -fPIC
-flto -flto-partition=1to1 -r -nostdlib
FAIL: g++.dg/lto/20081125 cp_lto_20081125_0.o-cp_lto_20081125_1.o link, -flto
-flto-partition=1to1
FAIL: g++.dg/lto/20081204-1 cp_lto_20081204-1_0.o-cp_lto_20081204-1_1.o link,
-flto -flto-partition=1to1 -fPIC -r -nostdlib
FAIL: g++.dg/lto/20081219 cp_lto_20081219_0.o-cp_lto_20081219_1.o link, -fPIC
-flto -flto-partition=1to1 -O2
FAIL: g++.dg/lto/20090302 cp_lto_20090302_0.o-cp_lto_20090302_1.o link, -fPIC
-flto -flto-partition=1to1 -r -nostdlib
FAIL: g++.dg/lto/20091026-1 cp_lto_20091026-1_0.o-cp_lto_20091026-1_1.o link,
-O0 -flto -flto-partition=none
FAIL: g++.dg/lto/20091026-1 cp_lto_20091026-1_0.o-cp_lto_20091026-1_1.o link,
-O0 -flto -flto-partition=1to1
FAIL: g++.dg/lto/20091026-1 cp_lto_20091026-1_0.o-cp_lto_20091026-1_1.o link,
-O0 -flto
FAIL: g++.dg/lto/20100724-1 cp_lto_20100724-1_0.o-cp_lto_20100724-1_0.o link,
-ftoplevel-reorder -flto -flto-partition=none
FAIL: g++.dg/lto/20100724-1 cp_lto_20100724-1_0.o-cp_lto_20100724-1_0.o link,
-ftoplevel-reorder -flto -flto-partition=1to1
Failure looks like
output is:
`_ZTS3Foo' referenced in section `.data.rel.ro._ZTI3Foo[_ZTI3Foo]' of
/tmp/ccj4EMTF.ltrans0.ltrans.o: defined in discarded section `.text' of
cp_lto_20081109-1_0.o (symbol from plugin)^M
`_ZTI3Foo' referenced in section `.data.DW.ref._ZTI3Foo[DW.ref._ZTI3Foo]' of
/tmp/ccj4EMTF.ltrans0.ltrans.o: defined in discarded section `.text' of
cp_lto_20081109-1_0.o (symbol from plugin)^M
collect2: ld returned 1 exit status^M
--
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.
- [Bug ld/12696] New: LTO linker fails GCC LTO tests,
hjl.tools at gmail dot com <=
- [Bug ld/12696] BFD linker fails GCC LTO tests, hjl.tools at gmail dot com, 2011/04/22
- [Bug ld/12696] BFD linker fails GCC LTO tests, amodra at gmail dot com, 2011/04/23
- [Bug ld/12696] BFD linker fails GCC LTO tests, hjl.tools at gmail dot com, 2011/04/23
- [Bug ld/12696] BFD linker fails GCC LTO tests, cvs-commit at gcc dot gnu.org, 2011/04/24
- [Bug ld/12696] BFD linker fails GCC LTO tests, cvs-commit at gcc dot gnu.org, 2011/04/27
- [Bug ld/12696] BFD linker fails GCC LTO tests, amodra at gmail dot com, 2011/04/27