Pages

Build/distributed toolchain mismatch in 16.04.1

jeudi 4 août 2016

I just upgraded from 14.04 to 16.04.1 as suggested by the software update-tools and got problems with a couple custom kernel modules I need to build on this host. Compilation and/or linking of kernel modules should be performed with the same toolchain used to compile the kernel.

/proc/version:

Code:

Linux version 4.4.0-34-lowlatency (buildd@lgw01-20) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #53-Ubuntu SMP PREEMPT Wed Jul 27 19:23:26 UTC 2016
The "compatibility-packages" with symlinks are tagged with a version matching the compiler used to build the kernel:

Code:

ii  gcc                          4:5.3.1-1ubuntu1    amd64               GNU C compiler
but the symlink within points to gcc-5

Code:

lrwxrwxrwx 1 root root 5 feb.  11 10:47 /usr/bin/gcc -> gcc-5
which turns out to be gcc version 5.4.0

Code:

gcc-5 (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609
The corresponding binary package installed is version 5.4.0

Code:

ii  gcc-5                        5.4.0-6ubuntu1~16.0 amd64               GNU C compiler
There is no gcc-5.3.1 binary available in the repos so there is no simple workaround

The same issue applies to other packages in the build toolchain (cpp, g++, gcc and lots of other tools/libraries)

Let's block ads! (Why?)



Build/distributed toolchain mismatch in 16.04.1

Aucun commentaire:

Enregistrer un commentaire