Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hardened kernel spamming section mismatches during compile
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
KeksExpert
n00b
n00b


Joined: 08 Mar 2016
Posts: 6
Location: Germany / Bavaria

PostPosted: Fri Mar 25, 2016 7:55 pm    Post subject: Hardened kernel spamming section mismatches during compile Reply with quote

I'm trying to set up an old laptop as a server.
It's an Toshiba Satellite L350D-11S
Here are some specs
CPU: AMD Athlon X2 QL-60 (AMD Turion X2 series, 64-bit)
GPU: ATI Radeon 3100

Currently I'm on the latest amd64 CD
I downloaded the hardened stage3, selected the amd64/hardened
I emerged hardened-sources
At first I tried automatic compilation by genkernel
It eventually failed with some Section Mismatches
So I started over again - same errors

Then I tried configuring the kernel on my own in /usr/src/linux
I unticked many unused drivers (Soundcard drivers, OEM stuff...) so the compilation doesn't take as long on that slow CPU.
When I run make menuconfig it prints out a lot of (50 or so) Section Mismatches every 3-10 seconds or so.

All what I know about Section Mismatches is that they occur because of misconfigured code or something.
But the hardened-sources are maintained and updated by the Gentoo team. On top of that i see thousands of errors.
Like this:
Code:
 WARNING: path/to/fail.o(.data+0x?): Section mismatch in reference from the variable ? to the funciton .text:?()


Is a faulty component the problem? For example, I don't really trust the 2,5" HDD, I've had a lot of them die on me.
I'll post later if that kernel boots

Thanks,
Keks :)
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