Page 1 of 1

Kernel compiling issue?

Posted: Sat Aug 01, 2020 2:10 am
by ozsouth
I recently noticed a new issue with kernel compiling. I have been using GCC 9.2.0, 8.3.0 etc, found in devx of Bionicpup64 (8.0) & ScPup64 (20.01 & earlier). When these pups are used to compile with kernel-kit, LD version is not specified, so are relatively generic. ScPup64-20.06 (& Lx) devx uses GCC 9.3.0, & when used to compile kernels, LD version SPECIFIC to that pup is used & I believe this will mean kernels so compiled likely specific to that pup, if one compiles drivers, etc. Please correct me if wrong.

Re: Kernel compiling issue?

Posted: Sat Aug 01, 2020 9:08 am
by peebee
Hi [mention]ozsouth[/mention]
I compile my 64-bit kernels with 9.3.0
To test I put the latest 5.7.2 into BionicPup32 .... most extreme test I could envisage lol
It worked just fine..........
Compiling drivers may be another matter....
...
Screenshot.png
Screenshot.png (100.09 KiB) Viewed 410 times

Re: Kernel compiling issue?

Posted: Sat Aug 01, 2020 9:14 am
by 01micko

@peebee I think @ozsouth 's point is that a particular version of the linker (LD) is mentioned and that may cause an issue if you want to compile a module; whether it be 'in tree' or 3rd party (nvidia, wl etc).


Re: Kernel compiling issue?

Posted: Sat Aug 01, 2020 1:08 pm
by ozsouth
Is there a way to NOT specify LD_VERSION? Omitting it or using 'is not set' doesn't exclude it.