Skip to contentSkip to conversation

poco: disable fpenvironment for soft floating point configuration

PATCH New yegorslists at googlemail.com 3 participants 3 messages Oct 10, 2018 – Oct 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poco: disable fpenvironment for soft floating point configuration

From: Yegor Yefremov <[email protected]>

Many platforms don't provide all FPU features needed by Poco when configured for soft floating point in their fenv.h header. So disable fpenvironment for this configuration to avoid build breakage.

---
 package/poco/poco.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/poco/poco.mk +5 -0
index 018344d5c7..aa96d5127b 100644
@@ -42,6 +42,11 @@ ifeq ($(BR2_sh4a)$(BR2_nios2),y)
 POCO_CONF_OPTS += --no-fpenvironment
 endif
 
+# disable fpenvironment for soft floating point configuration
+ifeq ($(BR2_SOFT_FLOAT),y)
+POCO_CONF_OPTS += --no-fpenvironment
+endif
+
 ifeq ($(BR2_STATIC_LIBS),y)
 POCO_MAKE_TARGET = static_release
 else ifeq ($(BR2_SHARED_LIBS),y)
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 poco: disable fpenvironment for soft floating point configuration

Hello,

Quoted 10 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

Many platforms don't provide all FPU features needed by Poco when configured for soft floating point in their fenv.h header. So disable fpenvironment for this configuration to avoid build breakage.

---
 package/poco/poco.mk | 5 +++++
 1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 poco: disable fpenvironment for soft floating point configuration

In reply to yegorslists at googlemail.com
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"yegorslists" == yegorslists <[email protected]> writes:

From: Yegor Yefremov <[email protected]>
Many platforms don't provide all FPU features needed by Poco when configured for soft floating point in their fenv.h header. So disable fpenvironment for this configuration to avoid build breakage.

Committed to 2018.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard