Bug 113156
| Summary: | lack of support for thread local storage in the emulation mode | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | sheryl sage <sheryl.sage> |
| Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
| Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.0 | CC: | petrides, riel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | ia64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:00:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 126674 | ||
*** This bug has been marked as a duplicate of 107116 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
Description of problem: lack of support for thread local storage in the emulation mode --------------------------------------------------------------- The compatibility libraries are insufficient to support complex and multi-threaded applications." Looking at the kernel source there are a number of calls not implemented which appear to be required by threaded applications. set_thread_area get_thread_area sys_exit_group sys_set_tid_address The work to get these to work has been done in both the 2.6 kernels, and the 2.4.x kernels for the x86_64 AMD chip. An example of a program which does not work under emulation mode. #include <stdio.h> #include <stdlib.h> main() { printf("system(date) retuned = %d\n", system("date")); } An strace shows it first reports a missing 'set_thread_area' syscall not being implemented, and then fails on a clone call. This is the same as I see when I run a simple threaded program under emulation. Version-Release number of selected component (if applicable): RHEL 3 IA-64 Steps to Reproduce: see example program above. Additional info: