Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Warnings in 4.1.6-hard compilation but not with 4.0.8
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
damdam1414
n00b
n00b


Joined: 26 Aug 2015
Posts: 1

PostPosted: Wed Aug 26, 2015 6:09 pm    Post subject: Warnings in 4.1.6-hard compilation but not with 4.0.8 Reply with quote

Hello,

My previous 4.0.8-hardened kernel x86_64 compiles without warnings. I migrated my .config using make silentoldconfig to 4.1.6-hardened. Now, I have a lot of warnings like this one:
CC arch/x86/kernel/traps.o
arch/x86/kernel/traps.c: In function ‘trap_init’:
arch/x86/kernel/traps.c:1053:2: attention : passing argument 1 of ‘__phys_addr_symbol’ makes pointer from integer without a cast [enabled by default]
__set_fixmap(FIX_RO_IDT, __pa_symbol(idt_table), PAGE_KERNEL_RO);
^
In file included from ./arch/x86/include/asm/page.h:11:0,
from ./arch/x86/include/asm/thread_info.h:11,
from include/linux/thread_info.h:54,
from ./arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:18,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from include/linux/context_tracking.h:4,
from arch/x86/kernel/traps.c:15:
./arch/x86/include/asm/page_64.h:27:56: note: expected ‘const void *’ but argument is of type ‘long unsigned int’
static inline unsigned long __intentional_overflow(-1) __phys_addr_symbol(const void *x)
^

I can share both .config files and the complete compilation output.

Do someone face the same warnings? I don't like a unclean complication of my kernel :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum