grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* d74b9a1 breaks ARM build (gcc 4.6)
@ 2013-12-02 18:30 Leif Lindholm
  2013-12-02 19:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-12-04 12:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 3+ messages in thread
From: Leif Lindholm @ 2013-12-02 18:30 UTC (permalink / raw)
  To: grub-devel

Commit d74b9a1, "Ensure that -mno-unaligned-access or some equivalent
option is used.", breaks the configure step on my Debian Jessie, with
a default 4.6.4 toolchain:
"configure: error: couldnt instruct compiler not to use unaligned access"

Where -mno-unalignes-access is not supported by gcc, it does not
generate unaligned instructions. Was this inserted for llvm? If so, what
was the fault this was fixing?

/
    Leif


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

* Re: d74b9a1 breaks ARM build (gcc 4.6)
  2013-12-02 18:30 d74b9a1 breaks ARM build (gcc 4.6) Leif Lindholm
@ 2013-12-02 19:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-12-04 12:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-12-02 19:18 UTC (permalink / raw)
  To: The development of GNU GRUB

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

On 02.12.2013 19:30, Leif Lindholm wrote:
> Commit d74b9a1, "Ensure that -mno-unaligned-access or some equivalent
> option is used.", breaks the configure step on my Debian Jessie, with
> a default 4.6.4 toolchain:
> "configure: error: couldnt instruct compiler not to use unaligned access"
> 
> Where -mno-unalignes-access is not supported by gcc, it does not
> generate unaligned instructions. Was this inserted for llvm? If so, what
> was the fault this was fixing?
> 
The reason to force to have some version of this argument is following
excerpt from gcc manual:
" By default unaligned access is disabled for all pre-ARMv6 and all
ARMv6-M architectures, and enabled for all other architectures."
Clearly not what we want.
Perhaps we should instead check that __ARM_FEATURE_UNALIGNED is not defined.
> /
>     Leif
> 
> _______________________________________________
> 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] 3+ messages in thread

* Re: d74b9a1 breaks ARM build (gcc 4.6)
  2013-12-02 18:30 d74b9a1 breaks ARM build (gcc 4.6) Leif Lindholm
  2013-12-02 19:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-12-04 12:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-12-04 12:58 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Fixed.
On 02.12.2013 19:30, Leif Lindholm wrote:
> Commit d74b9a1, "Ensure that -mno-unaligned-access or some equivalent
> option is used.", breaks the configure step on my Debian Jessie, with
> a default 4.6.4 toolchain:
> "configure: error: couldnt instruct compiler not to use unaligned access"
> 
> Where -mno-unalignes-access is not supported by gcc, it does not
> generate unaligned instructions. Was this inserted for llvm? If so, what
> was the fault this was fixing?
> 
> /
>     Leif
> 
> _______________________________________________
> 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] 3+ messages in thread

end of thread, other threads:[~2013-12-04 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 18:30 d74b9a1 breaks ARM build (gcc 4.6) Leif Lindholm
2013-12-02 19:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-04 12:58 ` Vladimir 'φ-coder/phcoder' Serbinenko

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).