On Mon, Nov 23, 2020 at 09:45:07PM +0100, Pol Vangheluwe via blfs-support wrote:
> A while ago, I finished the build of LFS-10.0 on a PowerMac-G5 and I am now
> playing with jhalfs in the BLFS book.
>
> For LFS, I know meanwhile what scripts I must adapt for PowerPC
> (creatingminlayout, addinguser, gcc-pass1, glibc, gcc-pass2, changingowner,
> tcl, glibc, gcc and kernel).
>
> Some of the adaptations could have been avoided if the construction:
> [ “$(uname -m)" = x86_64 ]
> would be changed into:
> [ “$(uname -m)" = *64 ]
> because it would then match with as well “x86_64” as with “ppc64”
> And that’s also the case for a number of BLFS scripts, like the packages nspr
> and nss.
>
> But that’s not the reason for this mail…
>
> I had to add a sed to the script for nss that is not in the BLFS book to make
> the compilation successful:
>
> sed -i ’s/.abiversion\t2/.abiversion\t1/‘ lib/freebl/sha512-p8.s
>
> I am wondering if this sed is only needed for the PowerPc architecture. I
> have no idea what it does, Google just showed me the way.
> Anyone that knows more about this?
>
> pvg
>
https://bugzilla.mozilla.org/show_bug.cgi?id=1642174
Modern power is little-endian, it appears that the old big-endian
power and powerpc used the elf v1 abi. That patch slipped off their
radar (big-endian ppc is barely encountered these days,
unfortunately) and only got committed 4 days ago so I guess that
nss-3.60 should be ok when it appears in about 5 weeks time.
ĸen
--
Internal error in fortune program:
fnum=2987 n=45 flag=1 goose_level=-232323
Please write down these values and notify fortune program admin.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page