grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug Report] loadenv module


From: Yves Blusseau
Subject: Re: [Bug Report] loadenv module
Date: Mon, 31 Aug 2009 19:07:52 +0200

On Sat, Aug 29, 2009 at 10:03 PM, Yves Blusseau<address@hidden> wrote:

Hi,

i have compiled the current version of grub2 under OSX. I have an error
when using the loadenv module:
I don't have any grub.cfg file. When i was at the prompt i do a save_env
timeout and grub return me an "out of partition" error.

I have created a newly grubenv with grub-editenv command before the test.

I have check under qemu and OSX: same error. I was using a GPT drive and
the grubenv file is in a hfsplus partition.

If i set a value with grub-editenv and try to load it from grub with the load_env command, all is working well and the variable is import in the
environement.

Another usefull information, the problem came from loadenv module compiled on OSX because if i take only the loadenv.mod compiled on linux it's work.

This might be caused by some bug in objconv, you could try my github
repo that uses native converter and see if the problem is still there.

Hi,

if i add TARGET_CC=gcc-4.2 at the configure arguments the problem disappear. I check with valgrind and gdb and the prb seems to be in the function check_blocklists in commands/loadenv.c

Regards,
Yves

PS: thanks phcoder for the tip

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]