Subject: 2.4.24+grsec compilation issue

Hi guys

Recently i tried to compile 2.4.24+grsec kernel.
I am getting error:

/usr/src/linux-2.4.24/arch/i386/vmlinux.lds:116 invalid assignment to location
counter

Generated vmlinux.lds and config is attached.


--
Grzegorz Jaskiewicz
K4 labs


Attachments:
(No filename) (248.00 B)
vmlinux.lds (2.07 kB)
config-2.4.24 (23.23 kB)
Download all attachments

2004-01-13 03:08:16

by Andre Tomt

[permalink] [raw]
Subject: Re: 2.4.24+grsec compilation issue

Grzegorz Jaskiewicz wrote:

> Hi guys
>
> Recently i tried to compile 2.4.24+grsec kernel.
> I am getting error:
>
> /usr/src/linux-2.4.24/arch/i386/vmlinux.lds:116 invalid assignment to location
> counter

This does not belong on this list unless you get the same problem with a
clean vanilla kernel.

--
Cheers,
Andr? Tomt

Subject: Re: 2.4.24+grsec compilation issue

On Tuesday 13 January 2004 03:08, you wrote:
> This does not belong on this list unless you get the same problem with a
> clean vanilla kernel.

Don't think so.

Anyway, it looks like bug in debian stable binutils/gcc. Well, I forgot to
mention that it was woody. It does recompile fine on unstable.

--
Grzegorz Jaskiewicz
K4 labs

2004-01-13 16:40:30

by Pawel Kot

[permalink] [raw]
Subject: Re: 2.4.24+grsec compilation issue

On Tue, 13 Jan 2004, Grzegorz Jaskiewicz wrote:

> On Tuesday 13 January 2004 03:08, you wrote:
> > This does not belong on this list unless you get the same problem with a
> > clean vanilla kernel.
>
> Don't think so.
>
> Anyway, it looks like bug in debian stable binutils/gcc.

Not true. This is the problem with grsecurity patch. Go and read their
archives. Or read this:
http://hedera.linuxnews.pl/_forum/00/_post/2395.html?postnum=28958

pkot
--
mailto:[email protected] :: mailto:[email protected]
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku


2004-01-13 17:50:15

by dr john halewood

[permalink] [raw]
Subject: Re: 2.4.24+grsec compilation issue

On Monday 12 Jan 2004 9:42 pm, Grzegorz Jaskiewicz wrote:
>Recently i tried to compile 2.4.24+grsec kernel.
>I am getting error:
>
>/usr/src/linux-2.4.24/arch/i386/vmlinux.lds:116 invalid assignment to
> location counter

It's a problem with the grsecurity patch., not the kernel, and should really
be on a grsecurity mailling list. However, I can tell you that it works
properly if you use stock kernel 2.4.24 with the grsecurity
1.9.13-2.4.23.patch.

cheers
john