Bug 76167 - strace fixes needed for ppc
Summary: strace fixes needed for ppc
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: strace
Version: 1.0
Hardware: powerpc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-17 19:18 UTC by Guy Streeter
Modified: 2016-02-10 01:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-10 23:01:33 UTC
Embargoed:


Attachments (Terms of Use)
ppc fixes (671 bytes, patch)
2002-10-17 19:19 UTC, Guy Streeter
no flags Details | Diff
ppc fixes (936 bytes, patch)
2002-10-17 19:20 UTC, Guy Streeter
no flags Details | Diff

Description Guy Streeter 2002-10-17 19:18:41 UTC
I will attach source and specfile diffs needed for ppc.

Comment 1 Guy Streeter 2002-10-17 19:19:26 UTC
Created attachment 80825 [details]
ppc fixes

Comment 2 Guy Streeter 2002-10-17 19:20:08 UTC
Created attachment 80826 [details]
ppc fixes

Comment 3 Roland McGrath 2002-12-15 23:13:38 UTC
Your diff fixes the insn used for LOOP, and adds a cast.
I'll push the insn fix upstream.  The cast I do not see a need for.


Comment 4 Guy Streeter 2002-12-16 15:37:39 UTC
The cast is necessary because st_size is a long and the printf format is a long
long. Uncast, this will print garbage.


Comment 5 Roland McGrath 2002-12-16 20:19:58 UTC
There is a problem with the compilation environment if the st_size member
of struct stat64 does not have type long long.  On my ppc machine, it does.



Comment 6 Roland McGrath 2003-01-10 23:01:33 UTC
Version 4.4.91-1 should work fine.



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