Re: [Angstrom-devel] systemd FTBFS

2014-07-24 Thread Koen Kooi

Op 5 jul. 2014, om 20:16 heeft Sergey Lapin slapi...@gmail.com het volgende 
geschreven:

 Hi, all!
 Latest and fresh build from setup-scripts next branch produces this:
 ...
 
 | ./arm-angstrom-linux-gnueabi-libtool  --tag=CC   --mode=link
 arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -mthumb
 -mthumb-interwork -mfloat-abi=hard -mfpu=neon
 --sysroot=/tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard
 -std=gnu99 -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2
 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare
 -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith
 -Winit-self -Wdeclaration-after-statement -Wfloat-equal
 -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes
 -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
 -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long
 -Wno-overlength-strings -Wno-unused-parameter
 -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow
 -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option
 -fno-strict-aliasing -fvisibility=hidden -ffunction-sections
 -fdata-sections -fstack-protector -fPIE --param=ssp-buffer-size=4
 -flto   -O2 -pipe -g -feliminate-unused-debug-types -Wl,--as-needed
 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now
 -Wl,-fuse-ld=gold   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o
 test-udev src/test/test-udev.o libudev-core.la -lblkid  -lkmod
 libsystemd-acl.la -ldl
 | arm-angstrom-linux-gnueabi-libtool: link:
 arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb
 -mthumb-interwork -mfloat-abi=hard -mfpu=neon
 --sysroot=/tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard
 -std=gnu99 -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2
 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare
 -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith
 -Winit-self -Wdeclaration-after-statement -Wfloat-equal
 -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes
 -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
 -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long
 -Wno-overlength-strings -Wno-unused-parameter
 -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow
 -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option
 -fno-strict-aliasing -fvisibility=hidden -ffunction-sections
 -fdata-sections -fstack-protector -fPIE --param=ssp-buffer-size=4
 -flto -O2 -pipe -g -feliminate-unused-debug-types -Wl,--as-needed
 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,-z -Wl,now
 -Wl,-fuse-ld=gold -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o
 systemd-networkd src/network/networkd.o
 ./.libs/libsystemd-networkd-core.a -lrt -L=/usr/lib
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard/usr/lib/libkmod.so
 -lz -ldl -pthread
 | arm-angstrom-linux-gnueabi-libtool: link:
 arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb
 -mthumb-interwork -mfloat-abi=hard -mfpu=neon
 --sysroot=/tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard
 -std=gnu99 -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2
 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare
 -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith
 -Winit-self -Wdeclaration-after-statement -Wfloat-equal
 -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes
 -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
 -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long
 -Wno-overlength-strings -Wno-unused-parameter
 -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow
 -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option
 -fno-strict-aliasing -fvisibility=hidden -ffunction-sections
 -fdata-sections -fstack-protector -fPIE --param=ssp-buffer-size=4
 -flto -O2 -pipe -g -feliminate-unused-debug-types -Wl,--as-needed
 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,-z -Wl,now
 -Wl,-fuse-ld=gold -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o
 test-udev src/test/test-udev.o  ./.libs/libudev-core.a -lrt
 -L=/usr/lib 
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard/usr/lib/libblkid.so
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard/usr/lib/libuuid.so
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard/usr/lib/libkmod.so
 -lz ./.libs/libsystemd-acl.a
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard/usr/lib/libacl.so
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/sysroots/cubieboard/usr/lib/libattr.so
 -ldl -pthread
 | 
 /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/systemd/1_213+gitAUTOINC+c9679c652b-r0/git/src/udev/udev-builtin-kmod.c:71:
 

Re: [Angstrom-devel] systemd FTBFS

2014-07-06 Thread Khem Raj
On Sat, Jul 5, 2014 at 11:16 AM, Sergey Lapin slapi...@gmail.com wrote:
 which seems to be due to bug in linaro-gcc LTO support.
 What are plans regarding this, is temprorary fix .bbappend ongoing or we
 should wait for toolchain fix?

Add a bbappend to disable LTO via cflags, it should be fixed in linaro
GCC but this can take time.

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] systemd FTBFS

2014-07-06 Thread Sergey Lapin
On Sun, Jul 6, 2014 at 6:04 PM, Khem Raj raj.k...@gmail.com wrote:

 On Sat, Jul 5, 2014 at 11:16 AM, Sergey Lapin slapi...@gmail.com wrote:
  which seems to be due to bug in linaro-gcc LTO support.
  What are plans regarding this, is temprorary fix .bbappend ongoing or we
  should wait for toolchain fix?

 Add a bbappend to disable LTO via cflags, it should be fixed in linaro
 GCC but this can take time.

I'd appreciate any examples for such .bbappend file.


 ___
 Angstrom-distro-devel mailing list
 Angstrom-distro-devel@linuxtogo.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] systemd FTBFS

2014-07-06 Thread Khem Raj
On Sun, Jul 6, 2014 at 9:13 AM, Sergey Lapin slapi...@gmail.com wrote:
 I'd appreciate any examples for such .bbappend file.

CFLAGS += -fno-lto

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel