From: Lucas Stach <dev@lynxeye.de>
To: Gyorgy Kovesdi <kgy@teledigit.eu>
Cc: barebox@lists.infradead.org
Subject: Re: Compiling barebox for newest Yocto/meta-freescale
Date: Tue, 23 Jun 2015 21:30:04 +0200 [thread overview]
Message-ID: <1435087804.28585.8.camel@lynxeye.de> (raw)
In-Reply-To: <20150623195716.4fda658d@kgy-pc.lan>
Am Dienstag, den 23.06.2015, 19:57 +0200 schrieb Gyorgy Kovesdi:
> Hi all,
> > Better make a Yocto patch. Not everyone compiles Barebox with a "build
> > environment".
> Ok, i will do that.
> However, IMHO it is a wrong idea to hard-wire such a setting, because
> everybody will run into this problem having hard-float-only environment.
> At least it should be configurable.
> BTW everybody must have a (cross) gcc which takes care about that.
>
It's a completely reasonable decision to explicitly build with the
soft-float ABI for a bare metal component like Barebox, in order to
prevent the toolchain from using any part of the ARM VFP state, which
may not be initialized at that point.
This has nothing to do with the decision to build your userspace with
hard-float enabled. Building barebox with the hard-float ABI may
actively yield broken binaries. So no, this is not a thing that should
be configurable.
Also you don't have a hard-float only environment, your toolchain is
perfectly able to build with the soft-float ABI, it's just that Yocto
apparently passes the mfloat-abi=hard flag everywhere instead of setting
a reasonable toolchain default.
Regards,
Lucas
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-06-23 19:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-22 15:18 György Kövesdi
2015-06-23 8:12 ` Jan Lübbe
2015-06-23 11:29 ` György Kövesdi
2015-06-23 12:22 ` Holger Schurig
2015-06-23 13:40 ` György Kövesdi
2015-06-23 14:07 ` Holger Schurig
2015-06-23 14:52 ` György Kövesdi
2015-06-23 15:01 ` Holger Schurig
2015-06-23 17:57 ` Gyorgy Kovesdi
2015-06-23 19:30 ` Lucas Stach [this message]
2015-06-24 14:33 ` Jan Lübbe
2015-06-24 19:59 ` Fabio Estevam
2015-06-29 10:24 ` Gyorgy Kovesdi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435087804.28585.8.camel@lynxeye.de \
--to=dev@lynxeye.de \
--cc=barebox@lists.infradead.org \
--cc=kgy@teledigit.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox