Bug 45 - pthread_atfork is wrong in new linuxthread
Summary: pthread_atfork is wrong in new linuxthread
Status: NEW
Alias: None
Product: uClibc
Classification: Unclassified
Component: Threads (show other bugs)
Version: 0.9.30.2
Hardware: PC Linux
: P3 normal
Target Milestone: 0.9.32
Assignee: unassigned
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-01-13 22:33 UTC by Henning Heinold
Modified: 2010-03-31 15:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
pthread_atfork.patch (1.82 KB, patch)
2009-01-13 22:35 UTC, Henning Heinold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Heinold 2009-01-13 22:33:29 UTC
Hi,

while trying to compile perl with uclicbc new linuxthread at arm. I run
into the problem that pthread_atfork is no available.
The problem was that it was synced with the glibc version. Which has
compat ifdefs we do not need at uclibc. The inital checked in version
is the right and works. So either revert the commit 2 years ago
or patch it with the patch attached I made for openembedded.

PS: khem promised me to check in my linuxthread arm work afte the nptl
    merge
Comment 1 Henning Heinold 2009-01-13 22:35:03 UTC
Created attachment 15 [details]
pthread_atfork.patch
Comment 2 Bernhard Reutner-Fischer 2010-02-21 10:54:46 UTC
I've applied this to the 0_9_30 branch only for now.

Thanks!