public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54805] New: __gthread* on VxWorks
@ 2012-10-04 0:40 rbmj at verizon dot net
2012-10-29 19:22 ` [Bug target/54805] " rbmj at verizon dot net
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rbmj at verizon dot net @ 2012-10-04 0:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54805
Bug #: 54805
Summary: __gthread* on VxWorks
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rbmj@verizon.net
Created attachment 28349
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28349
patch
I originally posted this on -help, but, not getting anything back, I'm still
pretty convinced this is a bug.
Compiling for powerpc-wrs-vxworks for downloadable kernel modules, there are
issues in vxlib-tls.c, which still references __gthread*tsd*. The only
remaining declarations, however, are to __gthread*tls*. I added a conditional
declaration of the __gthread*tsd* functions, and also noticed that one of the
calls to __gthread_tsd_leave_dtor_context doesn't pass tcb.
Also, it says that these functions are provided by the kernel, but I haven't
been able to find any documentation to confirm this. Can someone confirm that
these are in fact provided by the kernel?
I'm citing http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01314.html for the old
prototypes.
The attached patch adds both the conditional declarations (on __RTP__) and the
minor change to the function call. I'm not sure if this is what it *should*
do, and I have no experience in this area, so deferring to the experts here.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/54805] __gthread* on VxWorks
2012-10-04 0:40 [Bug target/54805] New: __gthread* on VxWorks rbmj at verizon dot net
@ 2012-10-29 19:22 ` rbmj at verizon dot net
2012-10-30 1:11 ` rbmj at verizon dot net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rbmj at verizon dot net @ 2012-10-29 19:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54805
--- Comment #1 from rbmj at verizon dot net 2012-10-29 19:22:09 UTC ---
Ping?
Robert Mason
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/54805] __gthread* on VxWorks
2012-10-04 0:40 [Bug target/54805] New: __gthread* on VxWorks rbmj at verizon dot net
2012-10-29 19:22 ` [Bug target/54805] " rbmj at verizon dot net
@ 2012-10-30 1:11 ` rbmj at verizon dot net
2013-03-20 23:48 ` mkuvyrkov at gcc dot gnu.org
2013-03-26 22:09 ` mkuvyrkov at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rbmj at verizon dot net @ 2012-10-30 1:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54805
rbmj at verizon dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28349|0 |1
is obsolete| |
--- Comment #2 from rbmj at verizon dot net 2012-10-30 01:10:58 UTC ---
Created attachment 28568
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28568
Fix
added that TCB parameter is no longer ignored.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/54805] __gthread* on VxWorks
2012-10-04 0:40 [Bug target/54805] New: __gthread* on VxWorks rbmj at verizon dot net
2012-10-29 19:22 ` [Bug target/54805] " rbmj at verizon dot net
2012-10-30 1:11 ` rbmj at verizon dot net
@ 2013-03-20 23:48 ` mkuvyrkov at gcc dot gnu.org
2013-03-26 22:09 ` mkuvyrkov at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: mkuvyrkov at gcc dot gnu.org @ 2013-03-20 23:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54805
Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |mkuvyrkov at gcc dot
| |gnu.org
Resolution| |FIXED
--- Comment #3 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> 2013-03-20 23:48:11 UTC ---
Fixed in revision 196842.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/54805] __gthread* on VxWorks
2012-10-04 0:40 [Bug target/54805] New: __gthread* on VxWorks rbmj at verizon dot net
` (2 preceding siblings ...)
2013-03-20 23:48 ` mkuvyrkov at gcc dot gnu.org
@ 2013-03-26 22:09 ` mkuvyrkov at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: mkuvyrkov at gcc dot gnu.org @ 2013-03-26 22:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54805
--- Comment #4 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> 2013-03-26 22:09:31 UTC ---
Also backported to 4.8 branch.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-26 22:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-04 0:40 [Bug target/54805] New: __gthread* on VxWorks rbmj at verizon dot net
2012-10-29 19:22 ` [Bug target/54805] " rbmj at verizon dot net
2012-10-30 1:11 ` rbmj at verizon dot net
2013-03-20 23:48 ` mkuvyrkov at gcc dot gnu.org
2013-03-26 22:09 ` mkuvyrkov at gcc dot gnu.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).