Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 725644

Summary: =sys-kernel/gentoo-sources-5.4.43 spawns really many warnings about include/asm-generic/bug.h when compiling a kernel
Product: Gentoo Linux Reporter: tt_1 <herrtimson>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compressed build log from kernel
kernel config file
virtualbox-modules has the same problem
output from emerge --info
compressed build log from kernel

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 :/