[Clfs-dev] grub-2.0 on x86_64-64
Martin Ward
macros_the_black at ntlworld.com
Sat Oct 19 17:34:40 PDT 2013
On 19/10/13 23:50, William Harrington wrote:
>
> On Oct 19, 2013, at 12:53 PM, Maurice Kinal wrote:
>
>> I am now not 100% positive which, if not all of the switches are
>> critical. After some checking it appears to be stubs.h that is the
>> culprit. If I *don't* do this; mv -v /usr/include/gnu/stubs{-64,}.h,
>> when building glibc-2.18 on the x86_64-64 then grub builds fine as
>> stated in the book. I refer to;
>>
>> http://cross-lfs.org/view/svn/x86_64-64/final-system/eglibc.html
>>
>> I am going to do some more experimenting but it seems to me that not
>> overwriting stubs.h might be the better solution.
>
> I've never seen grub fail without modification since 1.98 as in this
> ticket here: http://trac.cross-lfs.org/wiki/mirrors#BecomeaMirror
>
> My pure64 x86 builds haven't ever errored on grub 2.00 either. Not
> sure what the problem is.
>
> For a pure64 bit system there should only be stubs.h and it should be
> from stubs-64.h It's been like that for a very long time now. There
> used to be issues with grub, but that has been fixed for a long time now.
Disagree on this one, just checked my 32 bit reference build i have
stubs.h
and stubs-32.h
and by implication pure 64 should have
stubs.h
and stubs-64.h
>
> Is there something else you are doing different that we don't know about?
>
> Grub builds fine even when adding --platform=efi which will install
> for x86_64-efi
>
> If you add --target=x86_64, same thing.
> If you add --target=i386 for i386-efi, same thing.
>
> Not sure what the problem is.
>
> I don't get a build error.
>
> Sincerely,
>
> WIlliam Harrington
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
martin
More information about the Clfs-dev
mailing list