pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: security/openssl on big-endian ppc/Linux is configured as 32-bit



 >>
 >> Hi. I bootstrapped pkgsrc on 64-bit big-endian PowerPC-based Linux.
 >>
 >> It works well, except that security/openssl package is configured as
 >> 32-bit ("linux-ppc" in terms of openssl internal ids)
 >>
 >> The following patch solves the problem. Unless any one objects I'd like
 >> to commit it.

> Presumably the original code was trying to handle linux ppc systems
> with a 64bit kernel and 32bit userland?
Yes. And their logic differs between LE and BE PowerPC linuxes.

> Would there be any sense in trying to patch it up to work?
If I were upstream of openssl, I'd completely remove this "magick" with
KERNEL_BITS and provide one additional option for enabling 32-bit build
on 64-bit systems.

> (Happy with the patch if not :)

> David


Home | Main Index | Thread Index | Old Index