[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/21841] New: FAIL: debug_msg.sh with GCC 7
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gold/21841] New: FAIL: debug_msg.sh with GCC 7 |
Date: |
Wed, 26 Jul 2017 18:14:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21841
Bug ID: 21841
Summary: FAIL: debug_msg.sh with GCC 7
Product: binutils
Version: 2.30 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: hjl.tools at gmail dot com
CC: ian at airs dot com
Target Milestone: ---
With GCC 7, I got
FAIL: debug_msg.sh
FAIL: debug_msg.sh (exit: 1)
============================
Found unexpected error in debug_msg.err:
odr_violation2.cc:2[3-5]
Actual error output below:
gcctestdir/ld: warning: while linking debug_msg: symbol
'Ordering::operator()(int, int)' defined in multiple places (possible ODR
violation):
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/odr_violation1.cc:6
from odr_violation1.o
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/odr_violation2.cc:12
from odr_violation2.o
gcctestdir/ld: warning: while linking debug_msg: symbol
'SometimesInlineFunction(int)' defined in multiple places (possible ODR
violation):
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:68
from debug_msg.o
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/odr_violation2.cc:25
from odr_violation2.o
debug_msg.o:debug_msg.cc:badref1: error: undefined reference to 'undef_int'
debug_msg.o:debug_msg.cc:badref2: error: undefined reference to 'undef_float'
debug_msg.o:debug_msg.cc:fn_array: error: undefined reference to 'undef_fn1()'
debug_msg.o:debug_msg.cc:fn_array: error: undefined reference to 'undef_fn2()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:50:
error: undefined reference to 'undef_fn1()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:55:
error: undefined reference to 'undef_fn2()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:43:
error: undefined reference to 'undef_fn1()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:44:
error: undefined reference to 'undef_fn2()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:45:
error: undefined reference to 'undef_int'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:43:
error: undefined reference to 'undef_fn1()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:44:
error: undefined reference to 'undef_fn2()'
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/debug_msg.cc:45:
error: undefined reference to 'undef_int'
collect2: error: ld returned 1 exit status
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/21841] New: FAIL: debug_msg.sh with GCC 7,
hjl.tools at gmail dot com <=