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:
> error: undefined reference to 'udev_main_log'
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [test-udev] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | make[1]: *** [all-recursive] Error 1
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: 
> /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/systemd/1_213+gitAUTOINC+c9679c652b-r0/temp/run.do_compile.6494:1
> exit 1 from
> |   exit 1
> | ERROR: Function failed: do_compile (log file is located at
> /tmp/workspace/build-oe-allwinner/build/tmp-angstrom_next-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/systemd/1_213+gitAUTOINC+c9679c652b-r0/temp/log.do_compile.6494)
> NOTE: recipe systemd-1_213+gitAUTOINC+c9679c652b-r0: task do_compile: Failed
> ERROR: Task 275
> (/tmp/workspace/build-oe-allwinner/sources/openembedded-core/meta/recipes-core/systemd/systemd_213.bb,
> do_compile) failed with exit code '1'
> NOTE: recipe libnss-mdns-0.10-r7: task do_package: Succeeded
> NOTE: Tasks Summary: Attempted 2557 tasks of which 28 didn't need to
> be rerun and 1 failed.
> NOTE: Writing buildhistory
> 
> 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?

FWIW, I pushed systemd v215 to meta-angstrom with an LTO fix, so everything 
should work now on ARM.

regards,

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

Reply via email to