You are not logged in.

#1 2017-06-16 08:14:41

mir91
Banned
Registered: 2013-11-17
Posts: 143

Kernel compilation (asp) generates many warnings

Is it normal that compiling the kernel fetched via asp generates many warnings? eg when I looked I saw some in drivers/crypto, hid, sound/pci, drivers/block..

Last edited by mir91 (2017-06-16 08:14:52)

Offline

#2 2017-06-16 08:18:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Kernel compilation (asp) generates many warnings

Without specific errors, it is impossible to say: https://bbs.archlinux.org/viewtopic.php?id=57855

The last three or four kernels have generated more warnings than usual.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-16 08:32:45

mir91
Banned
Registered: 2013-11-17
Posts: 143

Re: Kernel compilation (asp) generates many warnings

Fortunately I didn't get any errors, just warnings. Let's say "normal" means that it happens for the majority (>50%) of people. Let's say "many" means more than 10. So rephrased:
Does the majority of people get more than 10 warnings when they compile the kernel via asp + makepkg?
If the answer is "yes", I'll just assume that everything is fine and in order.

Last edited by mir91 (2017-06-16 08:33:25)

Offline

#4 2017-06-16 08:37:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Kernel compilation (asp) generates many warnings

I don't know. I don't watch other people compile kernels. I just know from my own experience, that the last couple of kernels have thrown warnings.

I'm sure the LKML has more information.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-06-16 08:42:36

mir91
Banned
Registered: 2013-11-17
Posts: 143

Re: Kernel compilation (asp) generates many warnings

Thanks for your input.

Offline

#6 2017-06-16 09:48:20

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Kernel compilation (asp) generates many warnings

There are some new warnings in gcc7. For example -Wformat-truncation=

See also: https://gcc.gnu.org/gcc-7/changes.html

Offline

#7 2017-06-16 11:16:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,529
Website

Re: Kernel compilation (asp) generates many warnings

In post 2 JWR did say error messages, but the link he gave that elaborates on the point says post complete logs, output, and/or error messages.  Warnings would fall in that category.

If you feel your question is sufficiently answered, then please mark the thread as solved.  If it has not yet been, then post the warnings, messages, output, logs, or whatever other semantic category you may feel the content falls under: if you don't show us what you are talking about then there's no way we can give real answers.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB