[Olsr-dev] Need Help Fixing glibc openwrt compilation
Nick
(spam-protected)
Thu Jun 3 14:00:47 CEST 2021
I added the multiarch build environment tests for the openwrt-routing feed.
Testing now against multiple platforms I realized that olsrd is not
building for arc_archs (builds with glibc instead of musl)
https://github.com/OLSR/olsrd/issues/96
|[CC] src/context.c In file included from
/home/build/openwrt/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/bits/libc-header-start.h:33,
from
/home/build/openwrt/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/stdlib.h:25,
from ./include/nmealib/util.h:23, from src/context.c:20:
/home/build/openwrt/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/include/features.h:397:4:
error: #warning _FORTIFY_SOURCE requires compiling with optimization
(-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with
optimization (-O) ^~~~~~~ cc1: all warnings being treated as errors |||
|Another person from the openwrt community already had a look at it, but
was also not able fix the issue. Any ideas?
|It seems that arch linux already had similar issues:
https://aur.archlinux.org/packages/olsrd/#comment-652222
Bests,
Nick
||
More information about the Olsr-dev
mailing list