Bug 64735 - Atomic ops removed from atomic.h
Summary: Atomic ops removed from atomic.h
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc-kernheaders
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-10 10:33 UTC by larsbj
Modified: 2007-04-18 16:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-19 17:49:48 UTC
Embargoed:


Attachments (Terms of Use)

Description larsbj 2002-05-10 10:33:58 UTC
Description of Problem:

All programs that used the atomic ops from asm/atomic.h now failes to compile.

Version-Release number of selected component (if applicable):

2.4 7.14

Comment 1 Arjan van de Ven 2002-05-20 09:21:39 UTC
1) Those were internal (and GPL) kernel inlines
2) even when used, in userspace that header file didn't
   actually provide atomic operations.... it might have LOOKED 
   like they were though.....

Comment 2 Alistair Riddoch 2002-06-26 14:29:35 UTC
Could you clarify the status of this bug?

Were the operations expressly removed from the header, because they are not
atomic?

Is it the intention to leave the header in this state?

What is the recommended solution for compiling applications which rely on
the presence of these operations?

Comment 3 Arjan van de Ven 2002-06-26 14:33:57 UTC
> Were the operations expressly removed from the header, because they are not
> atomic?

Well that and the fact that these things are not portable (not all architectures
even HAVE such operations that are compilable in userspace)


> Is it the intention to leave the header in this state?

yes

> What is the recommended solution for compiling applications which rely on
> the presence of these operations?

if the (GPL) app *really* wants, it can obviously copy the code from the kernel
into it's own code and actually hack the assembly to be atomic.



Note You need to log in before you can comment on or make changes to this bug.