Bug 2827 - qt-4.7.0-pthread_getattr_np.patch invalid for qt 4.6.2, 4.6.3, 4.7.0, 4.7.1
Summary: qt-4.7.0-pthread_getattr_np.patch invalid for qt 4.6.2, 4.6.3, 4.7.0, 4.7.1
Status: RESOLVED DUPLICATE of bug 2821
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 16:59 UTC by Sergey Gusarov
Modified: 2010-11-16 17:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Gusarov 2010-11-16 16:59:13 UTC
Subject.

In new Qt releases "pthread_getattr" used in two files, but patch fixed only one:

sergey@host15:~/code/qt-everywhere-opensource-src-4.7.1/src$ grep -R pthread_getattr_np *
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:// pthread_getattr_np or pthread_attr_getstack.
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:        // LinuxBase is missing pthread_getattr_np - resolve it once at runtime instead
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:        static int (*pthread_getattr_np_ptr)(pthread_t, pthread_attr_t *) = 0;
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:        if (!pthread_getattr_np_ptr)
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:            *(void **)&pthread_getattr_np_ptr = dlsym(RTLD_DEFAULT, "pthread_getattr_np");
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:        if (pthread_getattr_np_ptr)
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:            pthread_getattr_np_ptr(thread, &sattr);
3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:        pthread_getattr_np(thread, &sattr);
3rdparty/webkit/JavaScriptCore/runtime/Collector.cpp:        pthread_getattr_np(thread, &sattr);

patch - from buildroot trunk at this time
Comment 1 Thomas Petazzoni 2010-11-16 17:10:07 UTC

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