Re: [PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened)

2009-09-03 Thread Magnus Granberg
>On Thu, Sep 03, 2009 at 12:31:57AM +0200, Magnus Granberg wrote: >> >Why not just check if the compiler accepts -fno-PIE and use it? No >> >harm done if -fPIE wasn't default, right? >> -- >> Didn't want to add -fno-PIE when it was not needed and t

Re: [PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened)

2009-09-02 Thread Magnus Granberg
>Why not just check if the compiler accepts -fno-PIE and use it? No >harm done if -fPIE wasn't default, right? -- Didn't want to add -fno-PIE when it was not needed and to be on the safe side . I can make it to check for -fno-PIE and use that. Hardened-Development Overlay

[PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened)

2009-09-01 Thread Magnus Granberg
_CFLAGS="$TARGET_CFLAGS -fno-PIE" +fi] + # Smashing stack protector. grub_CHECK_STACK_PROTECTOR [# Need that, because some distributions ship compilers that include --- Hardened-Development Overlay Magnus Granberg (Zorry) ___ Grub-devel m

Re: grub-setup Segmentation fault

2007-08-07 Thread Magnus Granberg
Sounds like I made the wrong guess, then. You need to figure out where's that null pointer coming from. Doesn't seem to be root_dev.. #1 0x08049385 in setup (prefix=0x80670b0 "(md0)(vg-boot)/grub", dir=0x8067008 "/boot/grub", boot_file=, core_file=0x805cb2a "core.img", root=0x8067050 "vg-b

Re: grub-setup Segmentation fault

2007-08-05 Thread Magnus Granberg
>Could you try the attached patch? > >-- >Robert Millan > It did't fix the Segmentation fault :( It wasn't supposed to. Did you see what the patch is doing? -- Robert Millan grub-setup: info: prefix = /grub grub-setup: info: changing current directory to /dev/mapper grub-setup: info: 2 roo

Re: grub-setup Segmentation fault

2007-08-04 Thread Magnus Granberg
>>boot_file=, core_file=0x805cb2a "core.img", >> root=0x8067050 "vg-boot", dest=0x0, must_embed=1) >>at util/i386/pc/grub-setup.c:223 >> #2 0x0804a0bc in main (argc=Cannot access memory at address 0xb >> ) at util/i386/pc/grub-setup.c:733 >> (gdb) > >Could you try the attached patch? > >-

grub-setup Segmentation fault

2007-08-03 Thread Magnus Granberg
Hi I'am geting segmentation fault wen i try to run grub-setup --directory=/boot/grub --device-map=/boot/grub/device.map /dev/md0 on a Raid5 -> Lvm setup. Grub with the latest cvs on a gentoo 2007.0 amd64 multilib system. Raid5 setup 3x250Gb mdadm -D /dev/md0 /dev/md0: Version : 01.00.03

Support for RAID 6?

2007-07-24 Thread Magnus Granberg
Any support for software raid6? in grub2? Have a computer i can test on. PS. Grub latest cvs runs finne on Gentoo 2007.0 64/32bit Magnus Granberg Admin of Ume.Nu ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo