Conversation
Since when has kernel compilation required this much RAM? My laptop with 16GiB of RAM uses tens of GBs of swap space during linkage step
1
0
0
@hyeyoo sounds like something LTO would do, but it's not there yet afaik?
1
0
1
@vbabka @sevan
No LTO (there is no GCC LTO yet afaik too),
and I guess just building debug kernel eats tons of memory

BTW GCC LTO has been maintained out of tree for a long time, but still no mainline support....
1
0
1
@hyeyoo @sevan there were some attempts by my colleagues to mainline it last year, but not done yet.
0
0
1