Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528278 - sys-devel/gcc: *eabihf targets should be built --with-float=hard
Summary: sys-devel/gcc: *eabihf targets should be built --with-float=hard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 08:49 UTC by Andrey Golovizin
Modified: 2014-11-15 08:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
toolchain.eclass: append --with-float=hard to GCC configure flags for *abihf targets (abihf.patch,778 bytes, patch)
2014-11-05 08:51 UTC, Andrey Golovizin
Details | Diff
388568: toolchain.eclass: append --with-float=hard to GCC configure flags for *abihf targets (abihf.patch,397 bytes, patch)
2014-11-05 08:54 UTC, Andrey Golovizin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Golovizin 2014-11-05 08:49:07 UTC
Running crossdev arm-linux-gnueabihf results in a GCC using soft-float ABI, which is quite misleading and probably incorrect, because *abihf implies hard-float.

The arm-linux-gnueabihf triplet is used for example by the Debian ARM hard-float port[1] and its derivatives, so it is quite common, and we should support it too.

[1] https://wiki.debian.org/ArmPorts

Reproducible: Always
Comment 1 Andrey Golovizin 2014-11-05 08:51:58 UTC
Created attachment 388568 [details, diff]
toolchain.eclass: append --with-float=hard to GCC configure flags for *abihf targets
Comment 2 Andrey Golovizin 2014-11-05 08:54:07 UTC
Created attachment 388570 [details, diff]
388568: toolchain.eclass: append --with-float=hard to GCC configure flags for *abihf targets

Oops, removed garbage from the patch.
Comment 3 SpanKY gentoo-dev 2014-11-15 08:45:51 UTC
should be fixed by:
http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.646&r2=1.647