Skip to contentSkip to conversation

FIx kernel build warnings

KJ David Farning 3 participants 3 messages Sep 10, 2006 Kernel janitors

lore
Share & tools
lore
#0 lore raw

I am interested in working on some kj projects.

First, I thought that I would look at fixing some of the compile warning.
TODO LIST
<snip>
- Fix gcc 4 warnings.
[D: http://marc.theaimsgroup.com/?t0348353800003]
Note: Set CONFIG_DEBUG_INFO=n to make compiles faster and smaller.

The thread link looks pretty old. Which version of gcc should the kernel be compiled against.

David Farning

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

hi david,

you may try anything that is supported: gcc3 or gcc4 or icc. other commercial compilers have problems since the kernel build only with a LOT of gcc features.
beware: some versions of gcc have know problems.
A good way to test is using 'make randconfig'. if you have some experience:
try to use a crosscompiler to check different architectures.

re,
wh

Quoted 10 lines · David Farning

I am interested in working on some kj projects.

First, I thought that I would look at fixing some of the compile warning.
TODO LIST
<snip>
- Fix gcc 4 warnings.
[D: http://marc.theaimsgroup.com/?t0348353800003]
Note: Set CONFIG_DEBUG_INFO=n to make compiles faster and smaller.

Quoted 11 lines

The thread link looks pretty old. Which version of gcc should the kernel be compiled against.

David Farning

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#2 lore raw
In reply to David Farning
Quoted 5 lines · David Farning

- Fix gcc 4 warnings.
[D: http://marc.theaimsgroup.com/?t0348353800003]
Note: Set CONFIG_DEBUG_INFO=n to make compiles faster and smaller.

The thread link looks pretty old. Which version of gcc should the kernel be compiled against.

For that specific task I would recommed Gcc 4.1.1

Signature · 7 lines
------------------------------------------------------------------------

Charlie
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors