public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40183] g++.dg/tls/static-1.C, execution abort
[not found] <bug-40183-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-31 19:13 ` greed at pobox dot com
2011-02-02 18:16 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-07-18 16:32 ` ro at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: greed at pobox dot com @ 2011-01-31 19:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40183
Graham Reed <greed at pobox dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greed at pobox dot com
--- Comment #3 from Graham Reed <greed at pobox dot com> 2011-01-31 18:44:57 UTC ---
(In reply to comment #2)
> On SPARC, I only see this when configuring with gas and gld, which isn't
> apparent in your g++ -v output.
It looks like this is resolved with binutils-2.21. I used the gld from
binutils-2.21 with the .o files produced by gas in binutils-2.20.1 and the
gcc-4.5.2 compiler, and the tls/static-1.C test now passes. (Using gcc's -v
feature to find out what the actual link command was; replacing collect2 with a
direct call to ld seems to work well enough for this test.)
I haven't tried x86-64 yet; I'm a bit short of CPU power on that one.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40183] g++.dg/tls/static-1.C, execution abort
[not found] <bug-40183-4@http.gcc.gnu.org/bugzilla/>
2011-01-31 19:13 ` [Bug target/40183] g++.dg/tls/static-1.C, execution abort greed at pobox dot com
@ 2011-02-02 18:16 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-07-18 16:32 ` ro at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2011-02-02 18:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40183
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-02-02 18:01:11 UTC ---
> It looks like this is resolved with binutils-2.21. I used the gld from
> binutils-2.21 with the .o files produced by gas in binutils-2.20.1 and the
> gcc-4.5.2 compiler, and the tls/static-1.C test now passes. (Using gcc's -v
> feature to find out what the actual link command was; replacing collect2 with a
> direct call to ld seems to work well enough for this test.)
If binutils were in use (which doesn't seem to be the case from the g++
-v output), you'd be right: before my patches that went into binutils
2.21, gld cannot have worked with static TLS on Solaris 2:
Properly align static TLS segments on Solaris 2
http://sourceware.org/ml/binutils/2010-09/msg00485.html
http://sourceware.org/ml/binutils/2010-10/msg00291.html
Properly align static TLS segments on Solaris 2/SPARC
http://sourceware.org/ml/binutils/2010-10/msg00348.html
I'll add a corresponding caveat to the GCC 4.6 installation docs.
Rainer
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40183] g++.dg/tls/static-1.C, execution abort
[not found] <bug-40183-4@http.gcc.gnu.org/bugzilla/>
2011-01-31 19:13 ` [Bug target/40183] g++.dg/tls/static-1.C, execution abort greed at pobox dot com
2011-02-02 18:16 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2011-07-18 16:32 ` ro at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-18 16:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40183
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-18 16:30:52 UTC ---
Fixed for 4.7.0.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40183] g++.dg/tls/static-1.C, execution abort
2009-05-18 10:07 [Bug c++/40183] New: " hailijuan at gmail dot com
@ 2010-04-28 19:28 ` ro at gcc dot gnu dot org
0 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-28 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ro at gcc dot gnu dot org 2010-04-28 19:28 -------
On SPARC, I only see this when configuring with gas and gld, which isn't
apparent
in your g++ -v output.
On x86, I see the error with Sun as and gas with Sun ld and gas with GNU ld.
--
ro at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.6.0
Last reconfirmed|0000-00-00 00:00:00 |2010-04-28 19:28:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40183
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-18 16:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-40183-4@http.gcc.gnu.org/bugzilla/>
2011-01-31 19:13 ` [Bug target/40183] g++.dg/tls/static-1.C, execution abort greed at pobox dot com
2011-02-02 18:16 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-07-18 16:32 ` ro at gcc dot gnu.org
2009-05-18 10:07 [Bug c++/40183] New: " hailijuan at gmail dot com
2010-04-28 19:28 ` [Bug target/40183] " ro at gcc dot gnu dot org
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).