Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725644 - =sys-kernel/gentoo-sources-5.4.43 spawns really many warnings about include/asm-generic/bug.h when compiling a kernel
Summary: =sys-kernel/gentoo-sources-5.4.43 spawns really many warnings about include/a...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-27 18:09 UTC by tt_1
Modified: 2020-09-05 10:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
compressed build log from kernel (full log.gz,69.51 KB, application/gzip)
2020-05-27 18:09 UTC, tt_1
Details
kernel config file (kernel.5.4.43.config,114.81 KB, text/plain)
2020-05-27 18:10 UTC, tt_1
Details
virtualbox-modules has the same problem (virtualbox-modules.log.gz,11.29 KB, application/gzip)
2020-05-27 18:20 UTC, tt_1
Details
output from emerge --info (emerge-info,8.10 KB, text/plain)
2020-05-27 18:21 UTC, tt_1
Details
compressed build log from kernel (kernel-5.4.43-with-english.gz,69.45 KB, application/gzip)
2020-05-27 19:32 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2020-05-27 18:09:59 UTC
Created attachment 642100 [details]
compressed build log from kernel

I'm uncertain wether this is a problem after all, but it makes it really difficult to read the logs: 

  CC [M]  sound/usb/snd-usbmidi-lib.mod.o
In Datei, eingebunden von ./include/asm-generic/bug.h:5,
                 von ./arch/x86/include/asm/bug.h:83,
                 von ./include/linux/bug.h:5,
                 von ./include/linux/thread_info.h:12,
                 von ./arch/x86/include/asm/elf.h:8,
                 von ./include/linux/elf.h:5,
                 von ./include/linux/elfnote.h:62,
                 von ./include/linux/build-salt.h:4,
                 von sound/usb/snd-usbmidi-lib.mod.c:1:
./include/linux/compiler.h:369: Warnung: »prevent_tail_call_optimization« redefiniert
  369 | #define prevent_tail_call_optimization() mb()
      | 
./include/linux/compiler.h:363: Anmerkung: dies ist die Stelle der vorherigen Definition
  363 | #define prevent_tail_call_optimization() asm("")
      | 

I've got the full build log attached
Comment 1 tt_1 2020-05-27 18:10:52 UTC
Created attachment 642102 [details]
kernel config file
Comment 2 tt_1 2020-05-27 18:20:40 UTC
Created attachment 642104 [details]
virtualbox-modules has the same problem

I wonder if this happens due to the new linux-headers-5.4-r1?
Comment 3 tt_1 2020-05-27 18:21:37 UTC
Created attachment 642106 [details]
output from emerge --info
Comment 4 Mike Pagano gentoo-dev 2020-05-27 18:52:31 UTC
Set locale to C or English
Please make sure you always include error messages in English, even when your system language is set to something else. You can temporarily switch to English locale by prepending LC_ALL=C to the emerge command like this:


https://wiki.gentoo.org/wiki/Bugzilla/Guide#Set_locale_to_C_or_English
Comment 5 tt_1 2020-05-27 19:32:15 UTC
Created attachment 642110 [details]
compressed build log from kernel

Here's the same log with englisch warnings instead. 

for the kernel, it's make -jN LANG=C
Comment 6 Mike Pagano gentoo-dev 2020-07-21 22:46:52 UTC
Can you attach your include/linux/compiler.h
Comment 7 tt_1 2020-09-05 10:30:01 UTC
hey there, I lost all my data in a hd crash and had to rebuild my system back from a backup. Since then, I can't reprocude this anymore, and therefore I'm going to close this now. 

Why this happend, I really don't know :/