-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package/libs/wolfssl build fail on ipq807x #11866
Comments
ping @cotequeiroz |
Duplicate of #11839 |
@xabolcs hi,
|
Please post the log with |
@robimarko it build fine on ubuntu 22.04, the pkg
the build fail issue on ubuntu 18.04 is really the problem.
|
That is not from running with V=s for sure |
@robimarko
|
You were right, and I figured out the issue. No clue what is the pre 4.2 alternative |
would this work? use diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index 1500a2cda79..a870a8a5dcd 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -162,7 +162,7 @@ else ifdef CONFIG_aarch64
TARGET_CFLAGS:=$(TARGET_CFLAGS:-mcpu%=-mcpu%+crypto)
WOLFSSL_NOASM_REGEX:=^bcm27xx/.*
Package/libwolfsslcpu-crypto/preinst=\
- $(subst @@WOLFSSL_NOASM_REGEX@@,$(WOLFSSL_NOASM_REGEX),$(file <preinst.arm-ce))
+ $(subst @@WOLFSSL_NOASM_REGEX@@,$(WOLFSSL_NOASM_REGEX),$(shell cat preinst.arm-ce))
else ifdef CONFIG_TARGET_x86_64
CONFIGURE_ARGS += --enable-intelasm
endif |
That will get it compiling, but I am not sure if the desired behaviour will be the same |
ping @nbd168 |
ping @jow- |
I am trying to rewrite the Makefile to achieve the same goal |
Fixes: openwrt#11866 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Inline the preinst.arm-ce script. Support for including was added in make 4.2 and is not working with older make versions. Fixes: openwrt#11866 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Inline the preinst.arm-ce script. Support for including was added in make 4.2 and is not working with older make versions. Fixes: openwrt/openwrt#11866 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Inline the preinst.arm-ce script. Support for including was added in make 4.2 and is not working with older make versions. Fixes: openwrt/openwrt#11866 Signed-off-by: Chen Minqiang <ptpt52@gmail.com> (cherry picked from commit fcde517)
Describe the bug
build on ubuntu 18.04
make V=s -j1 package/libs/wolfssl/compile
Also build failed on ubuntu 22.04:
The text was updated successfully, but these errors were encountered: