Re: Compiling barebox for newest Yocto/meta-freescale

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

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux