[LEDE-DEV] make fail for x86 geode target - 17.01

William Fleurant william at netblazr.com
Fri Apr 27 09:03:22 PDT 2018


Good day,

The pull request fixes this issue, but needs review / sign-off from the
maintainer.

https://github.com/openwrt/packages/pull/5961

-w

On Wed, Feb 8, 2017 at 6:00 AM, Nishant Sharma <codemarauder at gmail.com> wrote:
> Hi,
>
> I am trying to build 17.01 for x86 Geode target but it is failing to build
> luasocket.
>
> My build environment is Debian 8, x86_64.
>
> git branch
> * lede-17.01
>   master
>
> git status
> On branch lede-17.01
> Your branch is up-to-date with 'origin/lede-17.01'.
> nothing to commit, working directory clean
>
> I was able to buid images successfully for x86_64 (APU2) and ar71xx
> (mikrotik). But no joy with x86 geode.
>
> Any pointers would be much appreciated.
>
> Thanks in advance.
> Regards,
> Nishant
>
> Below is the relevant "make -j1 V=s" output:
>
> make[3]: Entering directory
> '/data/openwrt/lede/x86_geode/source/feeds/packages/lang/luasocket'
> make -C
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/
> LIBDIR="-L/data/openwrt/lede/x86_geode/source/staging_dir/target-i386_pentium_musl-1.1.15/usr/lib
> -L/data/openwrt/lede/x86_geode/source/staging_dir/target-i386_pentium_musl-1.1.15/lib
> -L/data/openwrt/lede/x86_geode/source/staging_dir/toolchain-i386_pentium_gcc-5.4.0_musl-1.1.15/usr/lib
> -L/data/openwrt/lede/x86_geode/source/staging_dir/toolchain-i386_pentium_gcc-5.4.0_musl-1.1.15/lib
> -znow -zrelro" CC="i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx
> -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable
> -Wno-error=unused-result -iremap
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909:luasocket-3.0-rc1-20130909
> -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1
> -Wl,-z,now -Wl,-z,relro
> -I/data/openwrt/lede/x86_geode/source/staging_dir/target-i386_pentium_musl-1.1.15/usr/include
> -I/data/openwrt/lede/x86_geode/source/staging_dir/target-i386_pentium_musl-1.1.15/include
> -I/data/openwrt/lede/x86_geode/source/staging_dir/toolchain-i386_pentium_gcc-5.4.0_musl-1.1.15/usr/include
> -I/data/openwrt/lede/x86_geode/source/staging_dir/toolchain-i386_pentium_gcc-5.4.0_musl-1.1.15/include/fortify
> -I/data/openwrt/lede/x86_geode/source/staging_dir/toolchain-i386_pentium_gcc-5.4.0_musl-1.1.15/include
> -std=gnu99" LD="i486-openwrt-linux-musl-ld -shared" all
> make[4]: Entering directory
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909'
> make -C src linux
> make[5]: Entering directory
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src'
> make all-unix PLAT=linux
> make[6]: Entering directory
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src'
> i486-openwrt-linux-musl-ld -shared luasocket.o timeout.o buffer.o io.o
> auxiliar.o options.o inet.o if.o usocket.o except.o select.o tcp.o udp.o  -O
> -shared -fpic -o socket.so.3.0-rc1
> buffer.o: In function `buffer_meth_receive':
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src/buffer.c:151:
> undefined reference to `__stack_chk_fail_local'
> auxiliar.o: In function `auxiliar_tostring':
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src/auxiliar.c:64:
> undefined reference to `__stack_chk_fail_local'
> auxiliar.o: In function `auxiliar_checkclass':
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src/auxiliar.c:98:
> undefined reference to `__stack_chk_fail_local'
> auxiliar.o: In function `auxiliar_checkgroup':
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src/auxiliar.c:112:
> undefined reference to `__stack_chk_fail_local'
> options.o: In function `opt_ip6_setmembership':
> /data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src/options.c:301:
> undefined reference to `__stack_chk_fail_local'
> options.o:/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src/options.c:61:
> more undefined references to `__stack_chk_fail_local' follow
> makefile:348: recipe for target 'socket.so.3.0-rc1' failed
> make[6]: *** [socket.so.3.0-rc1] Error 1
> make[6]: Leaving directory
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src'
> makefile:334: recipe for target 'linux' failed
> make[5]: *** [linux] Error 2
> make[5]: Leaving directory
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/src'
> makefile:18: recipe for target 'linux' failed
> make[4]: *** [linux] Error 2
> make[4]: Leaving directory
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909'
> Makefile:63: recipe for target
> '/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/.built'
> failed
> make[3]: ***
> [/data/openwrt/lede/x86_geode/source/build_dir/target-i386_pentium_musl-1.1.15/luasocket-3.0-rc1-20130909/.built]
> Error 2
> make[3]: Leaving directory
> '/data/openwrt/lede/x86_geode/source/feeds/packages/lang/luasocket'
> package/Makefile:105: recipe for target
> 'package/feeds/packages/luasocket/compile' failed
> make[2]: *** [package/feeds/packages/luasocket/compile] Error 2
> make[2]: Leaving directory '/data/openwrt/lede/x86_geode/source'
> package/Makefile:101: recipe for target
> '/data/openwrt/lede/x86_geode/source/staging_dir/target-i386_pentium_musl-1.1.15/stamp/.package_compile'
> failed
> make[1]: ***
> [/data/openwrt/lede/x86_geode/source/staging_dir/target-i386_pentium_musl-1.1.15/stamp/.package_compile]
> Error 2
> make[1]: Leaving directory '/data/openwrt/lede/x86_geode/source'
> /data/openwrt/lede/x86_geode/source/include/toplevel.mk:197: recipe for
> target 'world' failed
> make: *** [world] Error 2
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



-- 

William Fleurant / Software Developer

william at netBlazr.com / (617) 642-7513

netBlazr
(617) 718-5500
218 Lincoln Street Boston, Massachusetts
http://www.netblazr.com



More information about the Lede-dev mailing list