Bug 434787 - asm/ptrace.h: expected specifier-qualifier-list before ‘u32’
Summary: asm/ptrace.h: expected specifier-qualifier-list before ‘u32’
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 434390
TreeView+ depends on / blocked
 
Reported: 2008-02-25 14:38 UTC by Petr Machata
Modified: 2015-05-05 01:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-08 20:11:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Machata 2008-02-25 14:38:05 UTC
Description of problem:
I guess the problem would be best illustrated by a testcase:

$ cat pt.c 
#include <asm/ptrace.h>
$ gcc pt.c 
In file included from /usr/include/asm/ptrace.h:4,
                 from pt.c:1:
/usr/include/asm/ptrace-abi.h:92: error: expected specifier-qualifier-list
before ‘u32’

Causes problem during ltrace build.
The problem might be that u32 is wrongly exposed to userspace, or I guess that
it's left out from asm/types.h.

Version-Release number of selected component (if applicable):
kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64
kernel-headers-2.6.25-0.65.rc2.git7.fc9.i386

How reproducible:
Always

Steps to Reproduce:
See description.
  
Actual results:
undefined type u32 is used

Expected results:
the type u32 is not used, or is defined

Comment 1 Chuck Ebbert 2008-03-08 20:11:21 UTC
Fixed on Feb 29th.


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