Kernel compiling issue?

Moderator: Forum moderators

Post Reply
ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Kernel compiling issue?

Post 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.
User avatar
peebee
Posts: 1636
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 157 times
Been thanked: 714 times
Contact:

Re: Kernel compiling issue?

Post 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 425 times

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

User avatar
01micko
Posts: 135
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 66 times
Contact:

Re: Kernel compiling issue?

Post 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).

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: Kernel compiling issue?

Post by ozsouth »

Is there a way to NOT specify LD_VERSION? Omitting it or using 'is not set' doesn't exclude it.
Post Reply

Return to “Kernels”