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 testsuite/65944] New: FAIL: g++.dg/lto/pr65276: undefined reference to std2::exception::~exception()


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65944

            Bug ID: 65944
           Summary: FAIL: g++.dg/lto/pr65276: undefined reference to
                    std2::exception::~exception()
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

g++.sum (unix/):
...
FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto -O0
-std=c++11
...

g++.sum (unix/-m32):
...
FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto -O0
-std=c++11
...

g++.log:
...
build/gcc/testsuite/g++1/../../xg++ -Bbuild/gcc/testsuite/g++1/../../
cp_lto_pr65276_0.o cp_lto_pr65276_1.o -fno-diagnostics-show-caret
-fdiagnostics-color=never -nostdinc++
-Ibuild/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-Ibuild/x86_64-unknown-linux-gnu/libstdc++-v3/include
-Isrc/libstdc++-v3/libsupc++ -Isrc/libstdc++-v3/include/backward
-Isrc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -O0 -std=c++11
-Lbuild/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-Bbuild/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-Lbuild/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs -o
g++-dg-lto-pr65276-01.exe
cp_lto_pr65276_1.o: In function `std2::runtime_error::~runtime_error()':
pr65276_1.C:(.text._ZN4std213runtime_errorD2Ev[_ZN4std213runtime_errorD5Ev]+0x8):
undefined reference to `std2::exception::~exception()'
cp_lto_pr65276_1.o: In function `std2::runtime_error::~runtime_error()':
pr65276_1.C:(.text._ZN4std213runtime_errorD0Ev[_ZN4std213runtime_errorD5Ev]+0xc):
undefined reference to `std2::exception::~exception()'
cp_lto_pr65276_1.o:(.rodata._ZTVN4std29exceptionE[_ZTVN4std29exceptionE]+0x10):
undefined reference to `std2::exception::~exception()'
cp_lto_pr65276_1.o:(.rodata._ZTVN4std29exceptionE[_ZTVN4std29exceptionE]+0x18):
undefined reference to `std2::exception::~exception()'
collect2: error: ld returned 1 exit status
compiler exited with status 1

FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto -O0
-std=c++11
...

Fail in same testcase also observed at:
https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg02807.html .

as version:
...
GNU assembler (GNU Binutils for Ubuntu) 2.20.1-system.20100303
...

ld version:
...
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
...


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