public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault
       [not found] <bug-5780-131@http.sourceware.org/bugzilla/>
@ 2012-09-06 23:26 ` hjl.tools at gmail dot com
  2012-09-07  0:00 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2012-09-06 23:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=5780

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-06 23:25:45 UTC ---
The issue is GCC uses

1. Mark pthread_foo as weak.
2. Use a weak pthread_xxxx to check if thread is active.
3. It does

if (pthread_xxxx)
  pthread_foo ();

With libpthread.a, there is no guarantee that linking in
archive member for pthread_xxxx will also include archive
member for pthread_foo.  When it happens, static executable
crashes when calling pthread_foo.  We can add

if (pthread_foo)
  pthread_foo ();

But it may lead to bad static executable hehavior.  The
list of pthread_foo is

pthread_attr_init
pthread_attr_setdetachstate
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_init
pthread_cond_signal
pthread_cond_wait
pthread_create
pthread_detach
pthread_exit
pthread_getschedparam
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_delete
pthread_mutex_destroy
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_trylock
pthread_mutex_unlock
pthread_once
pthread_self
pthread_setschedparam
pthread_setspecific
pthread_sigmask
__pthread_key_create

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault
       [not found] <bug-5780-131@http.sourceware.org/bugzilla/>
  2012-09-06 23:26 ` [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault hjl.tools at gmail dot com
@ 2012-09-07  0:00 ` hjl.tools at gmail dot com
  2014-02-16 18:29 ` jackie.rosen at hushmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2012-09-07  0:00 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=5780

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault
       [not found] <bug-5780-131@http.sourceware.org/bugzilla/>
  2012-09-06 23:26 ` [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault hjl.tools at gmail dot com
  2012-09-07  0:00 ` hjl.tools at gmail dot com
@ 2014-02-16 18:29 ` jackie.rosen at hushmail dot com
  2014-05-28 19:46 ` schwab at sourceware dot org
  2014-07-02  7:21 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 18:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=5780

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #3 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault
       [not found] <bug-5780-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-02-16 18:29 ` jackie.rosen at hushmail dot com
@ 2014-05-28 19:46 ` schwab at sourceware dot org
  2014-07-02  7:21 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=5780

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault
       [not found] <bug-5780-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-05-28 19:46 ` schwab at sourceware dot org
@ 2014-07-02  7:21 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-07-02  7:21 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=5780

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault
  2008-02-21  0:04 [Bug nptl/5780] New: " geir at cray dot com
@ 2008-02-21 14:12 ` carlos at codesourcery dot com
  0 siblings, 0 replies; 6+ messages in thread
From: carlos at codesourcery dot com @ 2008-02-21 14:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From carlos at codesourcery dot com  2008-02-21 14:11 -------


*** This bug has been marked as a duplicate of 5784 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=5780

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-02  7:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-5780-131@http.sourceware.org/bugzilla/>
2012-09-06 23:26 ` [Bug nptl/5780] OpenMP program linked with static libraries gets a runtime memory fault hjl.tools at gmail dot com
2012-09-07  0:00 ` hjl.tools at gmail dot com
2014-02-16 18:29 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2014-07-02  7:21 ` fweimer at redhat dot com
2008-02-21  0:04 [Bug nptl/5780] New: " geir at cray dot com
2008-02-21 14:12 ` [Bug nptl/5780] " carlos at codesourcery dot com

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).