[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/31830] error: y.o: multiple definition of 'foo'
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gold/31830] error: y.o: multiple definition of 'foo' |
Date: |
Wed, 28 Aug 2024 12:49:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31830
--- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=86db7e7da8081bb8de5235ecefe03d2a9686ceda
commit 86db7e7da8081bb8de5235ecefe03d2a9686ceda
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Aug 24 08:33:46 2024 -0700
gold: Use asm for GCC 9 and older in PR gold/31830 tests
Since GCC 9 and older fail to compile PR gold/31830 tests:
$ gcc -S testsuite/ver_test_pr31830_b.c -o /tmp/x.s
testsuite/ver_test_pr31830_b.c:3:1: warning: â__symver__â attribute
directive ignored [-Wattributes]
void __collector_foo_2_2(void) {}
^~~~
use asm statement, instead of symver attribute, for GCC 9 and older.
PR gold/31830
* testsuite/ver_test_pr31830_b.c (__collector_foo_2_2): Use asm
statement, instead of symver attribute, for GCC 9 and older.
symver attribute with __asm__.
* testsuite/ver_test_pr31830_lto.c (__collector_foo_2_2): Likewise.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
--
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/31830] error: y.o: multiple definition of 'foo',
cvs-commit at gcc dot gnu.org <=