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

2018-04-27 Thread William Fleurant
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  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
> 

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

2017-02-08 Thread David Woodhouse
On Wed, 2017-02-08 at 16:30 +0530, Nishant Sharma wrote:
> 
> I was able to buid images successfully for x86_64 (APU2) and ar71xx 
> (mikrotik). But no joy with x86 geode.

It worked for me with the config at http://david.woodhou.se/geos.config
(building on x86_64 Fedora 25). At least, it builds an image. I haven't
found the time to do anything other than that.

I do note that I don't expect it to even boot though, as the grub
config seems to say 'root=/dev/sda3' but the rootfs is /dev/sda2...

smime.p7s
Description: S/MIME cryptographic signature
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


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

2017-02-08 Thread Nishant Sharma

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]: ***