Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390277 - sys-kernel/hardened-sources-2.6.32-r68 - grsecurity/grsec_disabled.o: In function `gr_is_capable_nolog': /usr/src/linux/grsecurity/grsec_disabled.c:178: multiple definition of `gr_is_capable_nolog'
Summary: sys-kernel/hardened-sources-2.6.32-r68 - grsecurity/grsec_disabled.o: In func...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-12 16:19 UTC by Marek Królikowski
Modified: 2011-11-28 01:31 UTC (History)
2 users (show)

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


Attachments
Kernel config (kernel-config-x86-2.6.32-hardened-r68,83.64 KB, text/plain)
2011-11-24 06:13 UTC, Marek Królikowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Królikowski 2011-11-12 16:19:59 UTC
When i upgrade from sys-kernel/hardened-sources-2.6.32-r42 to sys-kernel/hardened-sources-2.6.32-r68 got crash:


Reproducible: Always

Steps to Reproduce:
1. emerge hardened-sources
2. genkernel --menuconfig --bootloader=grub all
3.
Actual Results:  
  CC      grsecurity/grsec_disabled.o
  CC      fs/nfs/nfs3xdr.o
  LD      grsecurity/built-in.o
grsecurity/grsec_disabled.o: In function `gr_is_capable_nolog':
/usr/src/linux/grsecurity/grsec_disabled.c:178: multiple definition of `gr_is_capable_nolog'
grsecurity/grsec_exec.o:/usr/src/linux/grsecurity/grsec_exec.c:201: first defined here
grsecurity/grsec_disabled.o: In function `gr_is_capable':
/usr/src/linux/grsecurity/grsec_disabled.c:172: multiple definition of `gr_is_capable'
grsecurity/grsec_exec.o:/usr/src/linux/grsecurity/grsec_exec.c:190: first defined here
make[1]: *** [grsecurity/built-in.o] B▒▒d 1
make: *** [grsecurity] B▒▒d 2
make: *** Oczekiwanie na niezako▒czone zadania....


Expected Results:  
Compile with no problem
Comment 1 Marek Królikowski 2011-11-12 21:04:40 UTC
I check and 2.6.32-hardened-r73 ( latest unstable ~x86 version)compiling without any problems...
So looks like 2.6.32-hardened-r68 got a BUG.

Cheers
Comment 2 Anthony Basile gentoo-dev 2011-11-15 01:09:52 UTC
please give me your emerge --info and your kernel config.
Comment 3 Anthony Basile gentoo-dev 2011-11-23 22:58:51 UTC
Ping again, can I see your kernel config file.
Comment 4 Marek Królikowski 2011-11-24 06:13:24 UTC
Created attachment 293605 [details]
Kernel config
Comment 5 Marek Królikowski 2011-11-24 06:14:31 UTC
I find where is problem.
Kernel can`t compile on new gcc 4.5.3
When i change gcc from i686-pc-linux-gnu-4.5.3 to i686-pc-linux-gnu-4.4.5 i compile kernel without any problems.
Comment 6 Anthony Basile gentoo-dev 2011-11-28 01:31:18 UTC
(In reply to comment #5)
> I find where is problem.
> Kernel can`t compile on new gcc 4.5.3
> When i change gcc from i686-pc-linux-gnu-4.5.3 to i686-pc-linux-gnu-4.4.5 i
> compile kernel without any problems.

Yep this is a know problem and it is solved with -r73.  I'm going to stabilize an -r73 or above kernel soon.