[OpenWrt-Devel] Master build failure since NASM for x86_64

Felix Fietkau nbd at nbd.name
Tue Jul 10 07:12:03 EDT 2018


On 2018-07-10 12:37, Koen Vandeputte wrote:
> Hi All,
> 
> Since the NASM additions, I'm getting this build error when compiling 
> for target x86_64:
> I'm NOT getting the errors on builds for targets: ar71xx, cns3xxx, imx6
I did some more digging and figure out that the cause of the build error
was --enable-lto in the nasm configure flags.
There are no checks and no graceful fallback code in the build system to
deal with older versions of GCC (or not even using GCC), so this was
causing the build issues on various systems.

I pushed a change to pass --disable-lto instead and remove the no longer
needed macOS workaround.

- Felix

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list