Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile on raspi B+ with Exec format error #155

Open
g-vidal opened this issue Jun 15, 2021 · 1 comment
Open

Does not compile on raspi B+ with Exec format error #155

g-vidal opened this issue Jun 15, 2021 · 1 comment

Comments

@g-vidal
Copy link

g-vidal commented Jun 15, 2021

Hi, I cannot compile on a raspberry Pi B+ with the following error message I suspect a wrong PLATFORM_ option but I cannot find a solution :

/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_io.o] Error 2

My config is Linux ********* 5.4.83-v7 #1 SMP Sun Jan 24 23:03:23 CET 2021 armv7l GNU/Linux , I checked many CONFIG_PLATFORM_ARM_ without any success ; here is the compiler used :

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/8/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-6) 
@g-vidal g-vidal changed the title Does not compile on raspi B+ with Exec format errorj Does not compile on raspi B+ with Exec format error Jun 15, 2021
@cilynx
Copy link
Owner

cilynx commented Sep 14, 2021

Can you try the latest branch (5.8.7.1_35809.20191129_COEX20191120-7777) and share the full output of attempting to compile if it fails? I have it working (with lots of warnings, but no errors) on a Pi1B and a P4 -- would be good to see if there's something unexpected w/ the B+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants