Open kesslerm opened 1 year ago
@kesslerm Thank you!
Merge after the test is run.
@kesslerm I am testing with the combination you mentioned in openwrt, and abs_builddir in libffi seems to be ok with -gnu fixed. If you don't mind, could you give me the detailed conditions?
The issue first occured for me when building TurrisOS (hbd branch) for the turris omnia. Presumably any build for the mvebu
target in OpenWRT master would also require this fix.
I have merged the turris-omnia config into my existing test environment and tested it but could not reproduce it.
I will try to prepare the turris-omnia environment and do a full build. That will take some time.
I was able to reproduce it. The solution is simple, but I will investigate the cause of the suffix change.
A quick look,
> $(top_srcdir)/m4/ax_compiler_vendor.m4 \
but I haven't been able to find out why the results of automake are different.
The reason for the difference of suffix was due to this patch.
Workarounds have been merged.
Due to a hardcoded
gnu
suffix, the node-ffi-napi package fails to compile for other targets than libc. This could be resolved by using the$(TARGET_SUFFIX)
variable, which resolves tognu
on platforms that useglibc
and are notarm
orarmeb
, but to e.g.muslgnueabi
on a target platform using themusl
libc library onarm
orarmeb
.