On Sat, December 9, 2017 18:31, Pol Vangheluwe wrote: > After a lot of trial and error, I finally could finish the build of > LFS-8.1-systemd with ALFS. LFS only supports x86 x86_64. for any other arch refer to clfs.org
> I have now modified the make file to also build the BLFS preparations, but > the first step (openssl-1.1.0f) fails. > I find this in the logfile: > > pol@PowerMac-G5:/mnt/build_dir/blfs_root$ cat work/logs/002-z-openssl > openssl-1.1.0f.tar.gz: OK > Operating system: ppc64-whatever-linux2 > WARNING! If you wish to build 64-bit library, then you have to > invoke './Configure linux-ppc64' *manually*. Again, CLFS for ppc64. > > (…) > > Configuring for linux-ppc > your G5 isn't ppc, it's ppc64 > (…) > > THIRTY_TWO_BIT mode > BN_LLONG mode > RC4 uses unsigned char > > Configured for linux-ppc. > > (…) > > In file included from /usr/include/features.h:447:0, > from /usr/include/assert.h:35, > from crypto/aes/aes_ecb.c:10: > /usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-32.h: No such file > or directory > # include <gnu/stubs-32.h> > ^~~~~~~~~~~~~~~~ > compilation terminated. > In file included from /usr/include/features.h:447:0, > from /usr/include/assert.h:35, > from crypto/aes/aes_core.c:39: > /usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-32.h: No such file > or directory > # include <gnu/stubs-32.h> > ^~~~~~~~~~~~~~~~ > compilation terminated. > make[2]: *** [Makefile:689: crypto/aes/aes_ecb.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: *** [Makefile:681: crypto/aes/aes_core.o] Error 1 > make[2]: Leaving directory '/sources/openssl/openssl-1.1.0f' > make[1]: *** [Makefile:128: all] Error 2 > make[1]: Leaving directory '/sources/openssl/openssl-1.1.0f' > > So it looks like the system is trying to build the 32-bit version, while > my libs are 64-bit. > This is my first LFS-build on a 64-bit machine (an iMac-G5) and I had to > modify several LFS command files to make the build succeed. > > Could it be that I have overlooked something during the LFS-build, that > now causes this problem or am I doomed to again patch a lot of command > files to make them run on ppc64? > > BTW: I have not yet tried the suggestion above to invoke ‘./Configure > linux-ppc64’ > > pvg-- > http://lists.linuxfromscratch.org/listinfo/alfs-discuss > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page Invoke via: http://cblfs.clfs.org/index.php/OpenSSL Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
