Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52534 - ppc64-sources-2.6.6-r0 warnings: cast from different size pointers
Summary: ppc64-sources-2.6.6-r0 warnings: cast from different size pointers
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
Depends on:
Reported: 2004-05-31 02:53 UTC by Philippe Trottier (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Log from kernel make (make.log,60.84 KB, text/plain)
2004-05-31 02:55 UTC, Philippe Trottier (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Trottier (RETIRED) gentoo-dev 2004-05-31 02:53:42 UTC
I have noticed these warnings while compile the kernel...

this is something I am usually scared of as it might break stuff in not so easy to find way. and there is quite many like that... in the kernel

Where can it be bad, many programmer make a nice struct to make it easy to load set and get information from hardware, that is good ... they sometimes use long instead of int for 32bit fields and that is bad, or again worst use for example (char *) in their pointers read the whole struct at once from an hardware device... fine if the pointer is 32bit, but we have here 64bit pointers, normally the hardware don't really know about the cpu being 64 or 32 bits.

We should at least check all of them and make sure they don't break and are just that, innofencive warnings.

I hope this helps.
Comment 1 Philippe Trottier (RETIRED) gentoo-dev 2004-05-31 02:55:15 UTC
Created attachment 32373 [details]
Log from kernel make
Comment 2 Tom Gall (RETIRED) gentoo-dev 2004-06-02 19:15:03 UTC
 noted ...  don't plan to do much about it ....
Comment 3 Tom Gall (RETIRED) gentoo-dev 2004-06-12 21:52:05 UTC
sticking a fork in it