package/libpng: fix arm soft-float build
PATCH v2 1/1 package/libpng: fix arm soft-float build
Bumping libpng to 1.6.44 with buildroot commit 583bb434ffe1eec0dbf6887dd719c3f41a6253e9
causes a build failure on arm because the NEON code is only available for softfp and hardfp ABIs, and not soft-float.
Fixes:
http://autobuild.buildroot.net/results/021/02158525203d8c7f16a4a32637d44d6c87b7f333/
---
v2: updated LIBPNG_CONF_OPTS (Thomas)
package/libpng/libpng.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/libpng/libpng.mk +3 -1
@@ -17,7 +17,9 @@ HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config LIBPNG_CONF_OPTS = --disable-tools -ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y) +ifeq ($(BR2_aarch64),y) +LIBPNG_CONF_OPTS += --enable-arm-neon +else ifeq ($(BR2_ARM_CPU_HAS_NEON):$(BR2_ARM_SOFT_FLOAT),y:) LIBPNG_CONF_OPTS += --enable-arm-neon else LIBPNG_CONF_OPTS += --disable-arm-neon
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 5 lines · On Mon, 28 Oct 2024 23:37:54 +0100 Bernd Kuhls <[email protected]> wrote:
Bumping libpng to 1.6.44 with buildroot commit
583bb434ffe1eec0dbf6887dd719c3f41a6253e9
causes a build failure on arm because the NEON code is only available for softfp and hardfp ABIs, and not soft-float.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/021/02158525203d8c7f16a4a32637d44d6c87b7f333/Signed-off-by Bernd Kuhls <[email protected]>Co-authored-by Thomas Petazzoni <[email protected]>---
v2: updatedLIBPNG_CONF_OPTS(Thomas)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Bumping libpng to 1.6.44 with buildroot commit
583bb434ffe1eec0dbf6887dd719c3f41a6253e9
causes a build failure on arm because the NEON code is only available for softfp and hardfp ABIs, and not soft-float.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/021/02158525203d8c7f16a4a32637d44d6c87b7f333/Signed-off-by Bernd Kuhls <[email protected]>Co-authored-by Thomas Petazzoni <[email protected]>---
v2: updatedLIBPNG_CONF_OPTS(Thomas)
Committed to 2024.02.x and 2024.08.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Bernd" == Bernd Kuhls <[email protected]> writes:
Bumping libpng to 1.6.44 with buildroot commit
583bb434ffe1eec0dbf6887dd719c3f41a6253e9
causes a build failure on arm because the NEON code is only available for softfp and hardfp ABIs, and not soft-float.Fixes:
http://autobuild.buildroot.net/results/021/02158525203d8c7f16a4a32637d44d6c87b7f333/
Quoted 6 lines
Quoted 4 lines
Signed-off-by Bernd Kuhls <[email protected]>Co-authored-by Thomas Petazzoni <[email protected]>---
v2: updatedLIBPNG_CONF_OPTS(Thomas)Committed to 2024.02.x and 2024.08.x, thanks.
We unfortunately still have a number of autobuilder issues on arm(eb). It looks like we may need to pass -mfpu=neon in CFLAGS.
Is that something you can have a look at doing?
I didn't want to hold up the 2024.02.x release and the 1.6.44 bump is not really that important, so I've reverted it for now for 2024.02.x.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot