Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

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: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: 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    

Description sheryl sage 2004-01-08 23:37:13 UTC
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:

Comment 1 Arjan van de Ven 2004-01-09 13:22:22 UTC

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

Comment 2 Red Hat Bugzilla 2006-02-21 19:00:40 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.