diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-09-26 15:18:15 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-09-26 15:18:15 +0200 |
commit | 2c18eac2140a577090c84854905728ebd2ce0fac (patch) | |
tree | 799129f165d6dc77a652fe574c7e8c4761e9625d /faq/libpthread_plugin.mdwn | |
parent | bba1488c7be842e5d0311ffa6541373d63b1164c (diff) | |
parent | ce4899ded119f3607515cc54252c4bad7224f804 (diff) | |
download | web-2c18eac2140a577090c84854905728ebd2ce0fac.tar.gz web-2c18eac2140a577090c84854905728ebd2ce0fac.tar.bz2 web-2c18eac2140a577090c84854905728ebd2ce0fac.zip |
Merge commit 'ce4899ded119f3607515cc54252c4bad7224f804'
Conflicts:
community/gsoc/project_ideas/mtab.mdwn
contributing.mdwn
hurd/translator/eth-filter.mdwn
hurd/translator/socketio.mdwn
open_issues/exec.mdwn
open_issues/gnumach_vm_object_resident_page_count.mdwn
public_hurd_boxen.mdwn
Diffstat (limited to 'faq/libpthread_plugin.mdwn')
-rw-r--r-- | faq/libpthread_plugin.mdwn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/faq/libpthread_plugin.mdwn b/faq/libpthread_plugin.mdwn new file mode 100644 index 00000000..bcbe9571 --- /dev/null +++ b/faq/libpthread_plugin.mdwn @@ -0,0 +1,21 @@ +[[!meta copyright="Copyright © 2013 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!tag faq/open_issues]] + +[[!meta title="Getting Assertion `__pthread_threads' failed."]] + +Some applications don't link against libpthread, but load plugins which do link against libpthread. This means unexpectedly switch from mono-thread to multi-thread. This is not supported yet, thus the following error: + + ./pthread/../sysdeps/generic/pt-mutex-timedlock.c:70: __pthread_mutex_timedlock_internal: Assertion `__pthread_threads' failed. + +This can be worked around by using + +export LD_PRELOAD=/lib/i386-gnu/libpthread.so.0.3 |