Open knuxyl opened 6 months ago
Python 3.11 requires floating point NaN support. You need to make fresh build tree after intentional miscompilation.
according to
https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem
make dirclean
wipes out everything excluding the source code and my .config file.
so what do you mean a fresh build tree?
ccache for example.
are you saying i should or should not use ccache? i believe ccache is for speeding up builds by caching older one and comparing. i feel like you're just saying random stuff to sound smart because you're providing absolutely no valuable information in solving this problem.
Just build toolset with generic parameters so that emitted target platform code is later compiled correctly.
Maintainer: not sure it's relevant, this package may not be intentionally included Environment: armv7-a | GL.iNet GL-A1300 | ipq40xx/generic | master
Anytime a kernel C flag or target C flag is added in menuconfig it results in this error. I've tried several combinations of them with no change in reults. Anytime there is something custom there, it cannot find this python module _testcapi. This error doesn't show up until near the end of compilation, and all 10 times I have tested it this is the steps I take
make dirclean make menuconfig / save make -j
nproc
V=sc (make V=sc didn't make a difference)I don't even know where to being with this. The flags I was trying to use were different combinations/ommissions of these
The target c flags were default to
-O2 -pipe
, so I left that there or change -O2 to -O3.The build works perfectly fine as is without the extra C flags added. I've attached my working configuration file. config.buildinfo.zip
Error