diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-13 21:21:59 +0800 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-13 21:21:59 +0800 |
commit | 066e7157468c3dc616ecbd34f2a2be9fde01cb7b (patch) | |
tree | e94bd6d0e3b794f65723f3c4a2079aa1657839c0 /open_issues/libpthread_dlopen.mdwn | |
parent | 85af96d6372927375f60167ba86f907b788e25b4 (diff) | |
parent | 6f9c0342f33f52a2bda98d3709fbefd678bd46d9 (diff) | |
download | web-066e7157468c3dc616ecbd34f2a2be9fde01cb7b.tar.gz web-066e7157468c3dc616ecbd34f2a2be9fde01cb7b.tar.bz2 web-066e7157468c3dc616ecbd34f2a2be9fde01cb7b.zip |
Merge remote-tracking branch 'fp/master'
Diffstat (limited to 'open_issues/libpthread_dlopen.mdwn')
-rw-r--r-- | open_issues/libpthread_dlopen.mdwn | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/open_issues/libpthread_dlopen.mdwn b/open_issues/libpthread_dlopen.mdwn index fb665c67..05a07ef2 100644 --- a/open_issues/libpthread_dlopen.mdwn +++ b/open_issues/libpthread_dlopen.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2011, 2012 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 @@ -10,7 +10,52 @@ License|/fdl]]."]]"""]] [[!tag open_issue_libpthread]] -IRC, OFTC, #debian-hurd, 2011-07-21. +[[!toc]] + + +# IRC, freenode, #hurd, 2010-01-24 + + <pinotree> youpi: hm, thought about the pthread/stubs issue w/ dlopen'ed + libraries + <pinotree> currently looks like libstdc++ on hurd links to pthread-stubs, + we're the only one with such configuration + <pinotree> i was looking at the gcc 4.4 patch hurd-pthread.diff, could it + be it does not set THREADLIBS in the configure.ac switch case? + <youpi> that's expected + <youpi> on linux the libc provides hooks itself, on hurd-i386 it's + pthread-stubs + <pinotree> why not explicitly link to pthread though? + <youpi> because there is no strict need to, for applications that don't + need libpthread + <youpi> the dlopen case is a tricky case that pthread-stubs had not thought + about + <pinotree> hm + <pinotree> what if the pthread stubs would be moved in our glibc? + <youpi> that's what we should do yes + <youpi> (ideally) + <youpi> but for this we need to build libpthread along glibc, to get it + really working + +[[Packaging_libpthread]]. + + <youpi> and that's the tricky part (Makefile & such) which hasn't been done + yet + <pinotree> why both (stubs + actual libpthread)? + <youpi> because you need the stubs to be able to call the actual libpthread + <youpi> as soon libpthread gets dlopened for instance + <youpi> +as + <pinotree> i see + <youpi> (remember that nptl does this if you want to see how) + <youpi> (it's the libc files in nptl/) + <youpi> (and forward.c) + <guillem> also if libpthreads gets integrated with glibc don't we need to + switch the hurd from cthreads then? Which has been the blocker all this + time AFAIR? + <youpi> we don't _need_ to + <guillem> ok + + +# IRC, OFTC, #debian-hurd, 2011-07-21 <youpi> there's one known issue with pthreads <youpi> you can't dlopen() it |