public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/61309] New: cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO
@ 2014-05-25 10:15 redi at gcc dot gnu.org
2015-02-09 13:40 ` [Bug libgcc/61309] " gnugcc at marino dot st
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2014-05-25 10:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61309
Bug ID: 61309
Summary: cilk-plus tests fail with: hidden symbol `__cpu_model'
in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is
referenced by DSO
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
CC: gnugcc at marino dot st
Target: x86_64-unknown-dragonfly3.6
On the new DragonFlyBSD target loads of cilk-plus tests fail with this error:
/usr/libexec/binutils222/elf/ld.bfd: ./reduction-1.exe: hidden symbol
`__cpu_model' in /mnt/scratch/dfly/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o)
is referenced by DSO
/usr/libexec/binutils222/elf/ld.bfd: final link failed: Bad value
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcc/61309] cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO
2014-05-25 10:15 [Bug libgcc/61309] New: cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO redi at gcc dot gnu.org
@ 2015-02-09 13:40 ` gnugcc at marino dot st
2015-02-09 20:21 ` gnugcc at marino dot st
2015-02-15 9:13 ` gnugcc at marino dot st
2 siblings, 0 replies; 4+ messages in thread
From: gnugcc at marino dot st @ 2015-02-09 13:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61309
--- Comment #2 from John Marino <gnugcc at marino dot st> ---
FYI, this is still happening.
So if/when DragonFly features libgcc_s from 5.0 in base, these errors will go
away?
If so, doesn't that imply the linking is making assumptions it should not make?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcc/61309] cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO
2014-05-25 10:15 [Bug libgcc/61309] New: cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO redi at gcc dot gnu.org
2015-02-09 13:40 ` [Bug libgcc/61309] " gnugcc at marino dot st
@ 2015-02-09 20:21 ` gnugcc at marino dot st
2015-02-15 9:13 ` gnugcc at marino dot st
2 siblings, 0 replies; 4+ messages in thread
From: gnugcc at marino dot st @ 2015-02-09 20:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61309
--- Comment #4 from John Marino <gnugcc at marino dot st> ---
I suspect the reason it works on FreeBSD is found on libgcc/config.host,
specifically the inclusion of t-freebsd in tmake_file definition.
t-freebsd for i386 add the symbol map $(srcdir)/config/i386/libgcc-bsd.ver
which defines __cpu_model for gcc48 and higher.
DragonFly probably needs the same symbol map.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcc/61309] cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO
2014-05-25 10:15 [Bug libgcc/61309] New: cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO redi at gcc dot gnu.org
2015-02-09 13:40 ` [Bug libgcc/61309] " gnugcc at marino dot st
2015-02-09 20:21 ` gnugcc at marino dot st
@ 2015-02-15 9:13 ` gnugcc at marino dot st
2 siblings, 0 replies; 4+ messages in thread
From: gnugcc at marino dot st @ 2015-02-15 9:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61309
--- Comment #5 from John Marino <gnugcc at marino dot st> ---
hmmm, I added t-freebsd to the tmake list in libgcc/config.host for dragonfly.
I thought it would fix the problem but I'm still seeing hidden symbol errors
for __cpu_model
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-15 9:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-25 10:15 [Bug libgcc/61309] New: cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO redi at gcc dot gnu.org
2015-02-09 13:40 ` [Bug libgcc/61309] " gnugcc at marino dot st
2015-02-09 20:21 ` gnugcc at marino dot st
2015-02-15 9:13 ` gnugcc at marino dot st
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).