The following have been built for and runtime tested on RPi, RPi2 and Generic.
I wanted to include the following:
Package | Old | New | Changelog |
---|---|---|---|
binutils |
2.26 | 2.27 | https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=binutils/NEWS;hb=refs/tags/binutils-2_27 |
libgcrypt |
1.6.5 | 1.7.2 | https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000392.html |
However with both gcc 6.1.0
and gcc 5.4.0
:
binutils
2.27 (commit) results in the following kernel panic on RPi2 (didn't bother booting Generic):
binutils
2.26.1 does boot normally, so it's a problem introduced with 2.27. I saw little point in bumping to 2.26.1.
libtool: link: /home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -shared -fPIC -DPIC .libs/libgcrypt_la-visibility.o .libs/libgcrypt_la-misc.o .libs/libgcrypt_la-global.o .libs/libgcrypt_la-sexp.o .libs/libgcrypt_la-hwfeatures.o .libs/libgcrypt_la-stdmem.o .libs/libgcrypt_la-secmem.o .libs/libgcrypt_la-missing-string.o .libs/libgcrypt_la-fips.o .libs/libgcrypt_la-hmac256.o .libs/libgcrypt_la-context.o .libs/hwf-x86.o -Wl,--whole-archive ../cipher/.libs/libcipher.a ../random/.libs/librandom.a ../mpi/.libs/libmpi.a ../compat/.libs/libcompat.a -Wl,--no-whole-archive -L/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib /home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/libgpg-error.a -march=x86-64 -m64 -Os -flto -mmmx -msse -msse2 -mfpmath=sse -Wl,--version-script=/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.0-devel/libgcrypt-1.7.2/src/libgcrypt.vers -march=x86-64 -m64 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -Wl,-soname -Wl,libgcrypt.so.20 -o .libs/libgcrypt.so.20.1.2
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/6.1.0/../../../../x86_64-libreelec-linux-gnu/bin/ld.gold: error: /tmp/ccVygTe1.ltrans16.ltrans.o: requires dynamic R_X86_64_PC32 reloc against '.Laes_consts' which may overflow at runtime; recompile with -fPIC
collect2: error: ld returned 1 exit status
The AES-NI SSE3 feature is added in 1.7.0.
So for now I've left out binutils
and libgcrypt
- suggestions welcome on how to fix!