[Clfs-dev] CLFS GIT PowerPC Boot Method

William Harrington berzerkula at cox.net
Sun Nov 18 06:54:26 PST 2012


On Nov 18, 2012, at 5:41 AM, code monkey wrote:

>> Always one thing after another.
>>
>> e2fsprogs 1.41.14  no issue
>> e2fsprogs 1.42.x  issue
>> using stubfuncs patch, less issues but still more!
>>
>
> More on the yaboot build problems...
>
> I did some experimenting and found that if I use the current svn
> version of e2fsprogs (instead of 1.42.6) and add one stubbed function
> to the stubfuncs patch, I can get yaboot to build.
>
> So, it should be fixed when e2fsprogs 1.42.7 comes out... Or maybe in
> the mean time, the part of e2fsprogs changes that fixed it could be
> turned into a patch.

This can be good news. Which stubfuncs did you add to the patch? And  
which stubfuncs patch are you using? Is it like this one?

http://cruxppc.org/viewvc/opt/branches/2.7/yaboot/yaboot-stubfuncs.patch?revision=2657&view=markup

Also, are you still having to add the patch to eglibc that you  
mentioned previously in this thread? If so, we need to add that to the  
ppc book... and the ppc64 as well?

diff -Naur origeglibc-2.12/stdlib/bits/stdlib-ldbl.h
neweglibc-2.12/stdlib/bits/stdlib-ldbl.h
--- origeglibc-2.12/stdlib/bits/stdlib-ldbl.h	2007-09-12
09:26:54.000000000 -0700
+++ neweglibc-2.12/stdlib/bits/stdlib-ldbl.h	2010-08-28  
13:45:50.000000000 -0700
@@ -31,7 +31,7 @@
__LDBL_REDIR1_DECL (strtold_l, strtod_l)
#endif

-#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
+#if defined __USE_SVID || (defined __USE_XOPEN_EXTENDED && !defined
__USE_XOPEN2K)
# ifdef __USE_MISC
__LDBL_REDIR1_DECL (qecvt, ecvt)
__LDBL_REDIR1_DECL (qfcvt, fcvt)

Sincerely,

William Harrington




More information about the Clfs-dev mailing list