Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149297 - sys-libs/uclibc-0.9.28 doesn't compile for PPC
Summary: sys-libs/uclibc-0.9.28 doesn't compile for PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 06:45 UTC by Daniel Glaser
Modified: 2006-09-28 00:09 UTC (History)
0 users

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


Attachments
01_all_uClibc-0.9.28-ppc-kernel_types.patch (01_all_uClibc-0.9.28-ppc-kernel_types.patch,623 bytes, patch)
2006-09-27 06:46 UTC, Daniel Glaser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Glaser 2006-09-27 06:45:44 UTC
In uclibc posix_types.h and kernel_types.h doesn't match as described in kernel_types.h comments.

The applied patch solves this bug in uclibc. This can simply be applied in the xxx-patch.tar.bz2, which is used in the ebuild.

It changes simply the #ifdef and #defines for PPC in libc/sysdeps/linux/powerpc/bits/kernel_types.h to match the ones in posix_types.h

cu themole
Comment 1 Daniel Glaser 2006-09-27 06:46:24 UTC
Created attachment 98232 [details, diff]
01_all_uClibc-0.9.28-ppc-kernel_types.patch
Comment 2 Luca Barbato gentoo-dev 2006-09-27 07:46:26 UTC
Did you send it upstream too?
Comment 3 Daniel Glaser 2006-09-27 08:08:24 UTC
(In reply to comment #2)
> Did you send it upstream too?

No, but I think Jocke already did, as vapier told on embedded-gentoo list.
Comment 4 SpanKY gentoo-dev 2006-09-27 15:12:42 UTC
the embedded team takes care of uclibc, not the arch teams
Comment 5 Daniel Glaser 2006-09-27 23:39:30 UTC
OK, found out, where the bugs raises. It ist because of a change in define names in kernel about 2.6.15. So the patch only applies for 2.6.15 kernels and later. Don't know how to handle this, but I think someone here knows.

I would be interested in, how this can be handled, so please file the patch here if it is finished.
Comment 6 Daniel Glaser 2006-09-27 23:42:44 UTC
Additional info how it is solved in busybox:

http://www.busybox.net/lists/uclibc/2006-January/013958.html
Comment 7 SpanKY gentoo-dev 2006-09-28 00:09:31 UTC
like i said, i already cut a patch from upstream svn ... i just need to release it