I finally managed to compile glibc-2.6.3 on PowerPC with gcc-4.0.2.
First there seemed to be a problem with the kernel-headers. Because of a small glitch in the kernel-headers FrugalBuild I was using the headers for i386.
After that it was just a matter of googling for a patch to fix each compile error I ran into. Some patches weren't easy to find, but once I noticed that a one of those errors had already been fixed in the cvs, I just got a cvs snapshot and made the final patch that way. In the end I had 4 patches for ppc and it compiles perfectly now.
And because glibc compiled with gcc 4.0.2 I was able to successfully build pacman-2.9.99.7. I also managed to compile Yaboot thanks to some CLFS patch. Next on the list is powerpc-utils.
configure --prefix=/usr --with-tls --with-__thread \
--enable-add-ons=nptl --enable-kernel=2.6.6 --enable-bind-now --without-cvs
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||