grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2] Explicitly check for linking format to use for efiemu64 module
@ 2013-11-26  7:53 Beeblebrox
  2013-11-26  8:41 ` Andrey Borzenkov
  0 siblings, 1 reply; 9+ messages in thread
From: Beeblebrox @ 2013-11-26  7:53 UTC (permalink / raw)
  To: Andrey Borzenkov, The development of GNU GRUB

OK, I'll try it. But I need clarification:

* Should I copy the repo and do a git rollback on the copy?
* Easier to copy only grub/docs to another folder, but how do I start
the build then? The Makefile in grub/docs will fail just as when run
from top-level.

>> just copy grub.texi over
From my current repo, or an older ver?


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [PATCH v2] Explicitly check for linking format to use for efiemu64 module
@ 2013-11-26  7:31 Beeblebrox
  2013-11-26  7:35 ` Andrey Borzenkov
  0 siblings, 1 reply; 9+ messages in thread
From: Beeblebrox @ 2013-11-26  7:31 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: The development of GNU GRUB

> Did earlier versions grub.texi compiled?
Yes, earlier versions of grub.texi did compile.

> Setup build tree outside of git checkout and just copy
> grub.texi over; it is self contained.
It's OK, I don't need it really. Unless you need me to test and get
back to you with results.


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [PATCH v2] Explicitly check for linking format to use for efiemu64 module
@ 2013-11-26  7:19 Beeblebrox
  2013-11-26  7:25 ` Andrey Borzenkov
  0 siblings, 1 reply; 9+ messages in thread
From: Beeblebrox @ 2013-11-26  7:19 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: The development of GNU GRUB

>> Or just update to current trunk, I committed this patch.

Updated to trunk, it all works & gets compiled.
Still have to manually clean out the "docs" references in Makefile however.

Thanks for the swift work.


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [PATCH] Explicitly check for linking format to use for efiemu64 module
@ 2013-11-25 17:51 Vladimir 'φ-coder/phcoder' Serbinenko
  2013-11-25 18:13 ` [PATCH v2] " Andrey Borzenkov
  0 siblings, 1 reply; 9+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-11-25 17:51 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1743 bytes --]

On 25.11.2013 18:42, Andrey Borzenkov wrote:
> В Mon, 25 Nov 2013 05:22:58 +0100
> Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> 
>>> +      CFLAGS="-m64 -nostdlib -O2 -mcmodel=large -mno-red-zone"
>>> +      LDFLAGS="-m64 -Wl,$format -nostdlib"
>> You need -static as otherwise on Apple systems it will try to pull in
>> the dynamic linker which we don't want (scratch comment about other
>> thread, I though of adding -static everywhere but it's no necessarry
>> after all)
> 
> I used the same flags as in Makefile. If -static is needed here should
> not it be added to grub-core/Makefile.am as well?
> 
>>> diff --git a/grub-core/Makefile.am b/grub-core/Makefile.am
>>> index e2da083..e6862b7 100644
>>> --- a/grub-core/Makefile.am
>>> +++ b/grub-core/Makefile.am
>>> @@ -421,7 +421,7 @@ efiemu64.o: efiemu64_c.o efiemu64_s.o $(TARGET_OBJ2ELEF)
>>>  	  $(TARGET_OBJCONV) -felf64 -nu -nd $@.bin $@ || exit 1; \
>>>  	  rm -f $@.bin; \
>> Here the check for apple linker has to be adjusted as
>> x$(EFIEMU64_LINK_FORMAT) = x-arch,x86_64
> 
> Mmm ... but I assume apple linker case *did* work before and it broke
> only for the case !TARGET_APPLE_LINKER. Should $(EFIEMU64_LINK_FORMAT)
> be added for apple linker case as well? I have no way to test it.
> 
What I mean is that TARGET_APPLE_LINKER is conditioned on link_format.
And in this case we should check for efiemu64_link_format. As for the
exact command, don't worry too much about it, I'll clean it up and unify
the two cases after your patch is merged.
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-26  8:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26  7:53 [PATCH v2] Explicitly check for linking format to use for efiemu64 module Beeblebrox
2013-11-26  8:41 ` Andrey Borzenkov
  -- strict thread matches above, loose matches on Subject: below --
2013-11-26  7:31 Beeblebrox
2013-11-26  7:35 ` Andrey Borzenkov
2013-11-26  7:19 Beeblebrox
2013-11-26  7:25 ` Andrey Borzenkov
2013-11-25 17:51 [PATCH] " Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-25 18:13 ` [PATCH v2] " Andrey Borzenkov
2013-11-25 18:19   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-25 18:34     ` Andrey Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).