[poky] glibc-initial fails to build in Thud with arm926ejs tune
Khem Raj
raj.khem at gmail.com
Wed Jan 2 22:00:34 PST 2019
On Wed, Jan 2, 2019 at 2:42 PM Martin Jansa <martin.jansa at gmail.com> wrote:
>
> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>
> Is IMHO the root cause, try enabling thumb for you DISTRO (set -march to armv5te).
We expect ARM_INSTRUCTION_SET = "thumb" for the tunes to be set to use
-march=arm??t?. for compiler which in my mind is wrong constraint.
semantically armv5te does not mean the instruction set used to
generate code can only be thumb. It indicates that it can execute
thumb code, so what ISA is used should not be tied to what -march is
used.
The spaghetti we have for arm tunes is incredibly hard to fathom. With
gcc9 dropping all arches below armv5t means we need to rework these
tunes for arm specifically for armv4 and armv5.
>
> On Wed, Jan 2, 2019 at 11:33 PM Matthew Stanger <matthew_stanger at trimble.com> wrote:
>>>
>>> yes that would be helpful. Since gcc has become stricter with option
>>> checks, its possibly ending in some combination which either is invalid
>>> or is wrongly computed by gcc from -mcpu
>>
>>
>> ************************* GCC Config Output Below *************************
>> This file contains any messages produced by compilers while
>> running configure, to aid debugging if configure makes a mistake.
>>
>> It was created by GNU C Library configure (see version.h), which was
>> generated by GNU Autoconf 2.69. Invocation command line was
>>
>> $ ../git/configure --host=arm-poky-linux-gnueabi --build=x86_64-linux --prefix=/usr --disable-sanity-checks --with-headers=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot/usr/include --enable-hacker-mode
>>
>> ## --------- ##
>> ## Platform. ##
>> ## --------- ##
>>
>> hostname = matt-dev
>> uname -m = x86_64
>> uname -r = 4.18.0-13-generic
>> uname -s = Linux
>> uname -v = #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018
>>
>> /usr/bin/uname -p = unknown
>> /bin/uname -X = unknown
>>
>> /bin/arch = unknown
>> /usr/bin/arch -k = unknown
>> /usr/convex/getsysinfo = unknown
>> /usr/bin/hostinfo = unknown
>> /bin/machine = unknown
>> /usr/bin/oslevel = unknown
>> /bin/universe = unknown
>>
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm
>> PATH: /home/matt/renew_thud/build/tmp/sysroots-uninative/x86_64-linux/usr/bin
>> PATH: /home/matt/renew_thud/oe/poky/scripts
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot/usr/bin/crossscripts
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/sbin
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/sbin
>> PATH: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/bin
>> PATH: /home/matt/renew_thud/oe/poky/bitbake/bin
>> PATH: /home/matt/renew_thud/build/tmp/hosttools
>>
>>
>> ## ----------- ##
>> ## Core tests. ##
>> ## ----------- ##
>>
>> configure:2213: checking build system type
>> configure:2227: result: x86_64-pc-linux-gnu
>> configure:2247: checking host system type
>> configure:2260: result: arm-poky-linux-gnueabi
>> configure:2289: checking for arm-poky-linux-gnueabi-gcc
>> configure:2316: result: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot
>> configure:2585: checking for C compiler version
>> configure:2594: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot --version >&5
>> arm-poky-linux-gnueabi-gcc (GCC) 8.2.0
>> Copyright (C) 2018 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>
>> configure:2605: $? = 0
>> configure:2594: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -v >&5
>> Using built-in specs.
>> COLLECT_GCC=arm-poky-linux-gnueabi-gcc
>> COLLECT_LTO_WRAPPER=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/lto-wrapper
>> Target: arm-poky-linux-gnueabi
>> Configured with: ../../../../../../work-shared/gcc-8.2.0-r0/gcc-8.2.0/configure --build=x86_64-linux --host=x86_64-linux --target=arm-poky-linux-gnueabi --prefix=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr --exec_prefix=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr --bindir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm --sbindir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm --libexecdir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm --datadir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/share --sysconfdir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/etc --sharedstatedir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/com --localstatedir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/var --libdir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi.gcc-cross-initial-arm --includedir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/include --oldincludedir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/include --infodir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/share/info --mandir=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot-native --with-newlib --without-headers --disable-shared --disable-threads --disable-multilib --disable-__cxa_atexit --enable-languages=c --program-prefix=arm-poky-linux-gnueabi- --with-sysroot=/not/exist --with-build-sysroot=/home/matt/renew_thud/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/8.2.0-r0/recipe-sysroot --disable-libmudflap --disable-libgomp --disable-libitm --disable-libquadmath --with-system-zlib --disable-lto --disable-plugin --enable-linker-build-id --enable-decimal-float=no --without-isl --disable-libssp --with-native-system-header-dir=/usr/include --disable-static --disable-nls --enable-initfini-array
>> Thread model: single
>> gcc version 8.2.0 (GCC)
>> configure:2605: $? = 0
>> configure:2594: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -V >&5
>> arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-V'
>> arm-poky-linux-gnueabi-gcc: fatal error: no input files
>> compilation terminated.
>> configure:2605: $? = 1
>> configure:2594: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -qversion >&5
>> arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
>> arm-poky-linux-gnueabi-gcc: fatal error: no input files
>> compilation terminated.
>> configure:2605: $? = 1
>> configure:2610: checking for suffix of object files
>> configure:2632: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= conftest.c >&5
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:2636: $? = 0
>> configure:2657: result: o
>> configure:2661: checking whether we are using the GNU C compiler
>> configure:2680: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= conftest.c >&5
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:2680: $? = 0
>> configure:2689: result: yes
>> configure:2698: checking whether arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot accepts -g
>> configure:2718: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -g conftest.c >&5
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:2718: $? = 0
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:2733: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c conftest.c >&5
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:2733: $? = 0
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:2749: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -g conftest.c >&5
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:2749: $? = 0
>> configure:2759: result: yes
>> configure:2788: checking for gcc
>> configure:2815: result: gcc
>> configure:2839: checking for arm-poky-linux-gnueabi-readelf
>> configure:2866: result: arm-poky-linux-gnueabi-readelf
>> configure:3042: checking for C++ compiler version
>> configure:3051: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot --version >&5
>> ../git/configure: line 3053: arm-poky-linux-gnueabi-g++: command not found
>> configure:3062: $? = 127
>> configure:3051: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -v >&5
>> ../git/configure: line 3053: arm-poky-linux-gnueabi-g++: command not found
>> configure:3062: $? = 127
>> configure:3051: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -V >&5
>> ../git/configure: line 3053: arm-poky-linux-gnueabi-g++: command not found
>> configure:3062: $? = 127
>> configure:3051: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -qversion >&5
>> ../git/configure: line 3053: arm-poky-linux-gnueabi-g++: command not found
>> configure:3062: $? = 127
>> configure:3066: checking whether we are using the GNU C++ compiler
>> configure:3085: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fvisibility-inlines-hidden conftest.cpp >&5
>> ../git/configure: line 1633: arm-poky-linux-gnueabi-g++: command not found
>> configure:3085: $? = 127
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> | #ifndef __GNUC__
>> | choke me
>> | #endif
>> |
>> | ;
>> | return 0;
>> | }
>> configure:3094: result: no
>> configure:3103: checking whether arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot accepts -g
>> configure:3123: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -g conftest.cpp >&5
>> ../git/configure: line 1633: arm-poky-linux-gnueabi-g++: command not found
>> configure:3123: $? = 127
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:3138: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c conftest.cpp >&5
>> ../git/configure: line 1633: arm-poky-linux-gnueabi-g++: command not found
>> configure:3138: $? = 127
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:3154: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -g conftest.cpp >&5
>> ../git/configure: line 1633: arm-poky-linux-gnueabi-g++: command not found
>> configure:3154: $? = 127
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:3164: result: no
>> configure:3189: checking whether arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot can link programs
>> configure:3212: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -o conftest -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now conftest.cpp >&5
>> ../git/configure: line 1671: arm-poky-linux-gnueabi-g++: command not found
>> configure:3212: $? = 127
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | int
>> | main ()
>> | {
>> |
>> | ;
>> | return 0;
>> | }
>> configure:3235: arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -o conftest -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -static conftest.cpp >&5
>> ../git/configure: line 1671: arm-poky-linux-gnueabi-g++: command not found
>> configure:3235: $? = 127
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Library"
>> | #define PACKAGE_TARNAME "glibc"
>> | #define PACKAGE_VERSION "(see version.h)"
>> | #define PACKAGE_STRING "GNU C Library (see version.h)"
>> | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> | #define PKGVERSION "(GNU libc) "
>> | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> | /* end confdefs.h. */
>> |
>> | #include <iostream>
>> |
>> | int
>> | main()
>> | {
>> | std::cout << "Hello, world!";
>> | return 0;
>> | }
>> |
>> configure:3250: result: no
>> configure:3817: checking for sysdeps preconfigure fragments
>> configure:49: WARNING: arm/preconfigure: Did not find ARM architecture type; using default
>> configure:3824: result:
>> configure:3854: checking for use of fpu sysdeps directories
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> conftest.c:4:3: error: #error "no hardware floating point"
>> # error "no hardware floating point"
>> ^~~~~
>> configure:3873: result: no
>> configure:3877: checking for -fstack-protector
>> configure:3883: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fno-unwind-tables -Werror -fstack-protector -xc /dev/null -S -o /dev/null
>> cc1: error: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch [-Werror]
>> cc1: all warnings being treated as errors
>> configure:3886: $? = 1
>> configure:3894: result: no
>> configure:3897: checking for -fstack-protector-strong
>> configure:3903: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fno-unwind-tables -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null
>> cc1: error: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch [-Werror]
>> cc1: all warnings being treated as errors
>> configure:3906: $? = 1
>> configure:3914: result: no
>> configure:3917: checking for -fstack-protector-all
>> configure:3923: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fno-unwind-tables -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null
>> cc1: error: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch [-Werror]
>> cc1: all warnings being treated as errors
>> configure:3926: $? = 1
>> configure:3934: result: no
>> configure:3977: checking for assembler and linker STT_GNU_IFUNC support
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>>
>> Relocation section '.rel.dyn' at offset 0xd8 contains 1 entry:
>> Offset Info Type Sym.Value Sym. Name
>> 00020ffc 000000a0 R_ARM_IRELATIVE
>> configure:4008: result: yes
>> configure:4012: checking for gcc attribute ifunc support
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:4038: result: yes
>> configure:4042: checking if compiler warns about alias for function with incompatible types
>> cc1: error: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch [-Werror]
>> conftest.c:9:34: error: 'foo_alias' alias between functions of incompatible types 'int(const void *, int)' and 'int (*(void))(const void *, int)' [-Werror=attribute-alias]
>> extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo")));
>> ^~~~~~~~~
>> conftest.c:4:28: note: aliased declaration here
>> __typeof (__redirect_foo) *foo_impl (void)
>> ^~~~~~~~
>> cc1: all warnings being treated as errors
>> configure:4064: result: yes
>> configure:4102: checking sysdep dirs
>> configure:4299: result: sysdeps/generic
>> configure:4319: checking for a BSD-compatible install
>> configure:4387: result: /home/matt/renew_thud/build/tmp/hosttools/install -c
>> configure:4402: checking whether ln -s works
>> configure:4406: result: yes
>> configure:4432: checking whether /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/as is GNU as
>> configure:4446: result: yes
>> configure:4451: checking whether /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld is GNU ld
>> configure:4465: result: yes
>> configure:4475: checking for /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/as
>> configure:4502: result: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/as
>> configure:4517: checking version of /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/as
>> configure:4527: result: 2.31.1.20180818, ok
>> configure:4605: checking for /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld
>> configure:4632: result: /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld
>> configure:4647: checking version of /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld
>> configure:4657: result: 2.31.1.20180818, ok
>> configure:4672: checking for gnumake
>> configure:4699: result: make
>> configure:4714: checking version of make
>> configure:4724: result: 4.2.1, ok
>> configure:4736: checking for gnumsgfmt
>> configure:4766: result: no
>> configure:4736: checking for gmsgfmt
>> configure:4766: result: no
>> configure:4736: checking for msgfmt
>> configure:4766: result: no
>> configure:4799: checking for makeinfo
>> configure:4815: found /home/matt/renew_thud/build/tmp/hosttools/makeinfo
>> configure:4826: result: makeinfo
>> configure:4841: checking version of makeinfo
>> configure:4851: result: 6.5, ok
>> configure:4862: checking for sed
>> configure:4878: found /home/matt/renew_thud/build/tmp/hosttools/sed
>> configure:4889: result: sed
>> configure:4904: checking version of sed
>> configure:4914: result: 4.5, ok
>> configure:4925: checking for gawk
>> configure:4941: found /home/matt/renew_thud/build/tmp/hosttools/gawk
>> configure:4952: result: gawk
>> configure:4967: checking version of gawk
>> configure:4977: result: 4.1.4, ok
>> configure:4988: checking for bison
>> configure:5004: found /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/bison
>> configure:5015: result: bison
>> configure:5030: checking version of bison
>> configure:5040: result: 3.0.4, ok
>> configure:5048: checking if arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot is sufficient to build libc
>> configure:5068: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fno-unwind-tables conftest.c >&5
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:5068: $? = 0
>> configure:5075: result: yes
>> configure:5084: checking for arm-poky-linux-gnueabi-nm
>> configure:5111: result: arm-poky-linux-gnueabi-nm
>> configure:5249: checking for python3
>> configure:5265: found /home/matt/renew_thud/build/tmp/hosttools/python3
>> configure:5276: result: python3
>> configure:5307: WARNING:
>> *** These auxiliary programs are missing or incompatible versions: msgfmt
>> *** some features or tests will be disabled.
>> *** Check the INSTALL file for required versions.
>> configure:5358: checking LD_LIBRARY_PATH variable
>> configure:5368: result: ok
>> configure:5379: checking for bash
>> configure:5397: found /home/matt/renew_thud/build/tmp/hosttools/bash
>> configure:5410: result: /home/matt/renew_thud/build/tmp/hosttools/bash
>> configure:5421: checking for perl
>> configure:5439: found /home/matt/renew_thud/build/tmp/hosttools/perl
>> configure:5452: result: /home/matt/renew_thud/build/tmp/hosttools/perl
>> configure:5466: checking for install-info
>> configure:5485: found /usr/bin/install-info
>> configure:5498: result: /usr/bin/install-info
>> configure:5507: checking for .set assembler directive
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:5533: result: yes
>> configure:5540: checking linker support for protected data symbol
>> configure:5550: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:5553: $? = 0
>> configure:5560: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld: warning: cannot find entry symbol _start; defaulting to 00000000000101dc
>> configure:5563: $? = 0
>> configure:5571: result: yes
>> configure:5575: checking linker support for INSERT in linker script
>> configure:5593: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so
>> cc1: warning: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch
>> configure:5596: $? = 0
>> configure:5603: result: yes
>> configure:5607: checking for broken __attribute__((alias()))
>> configure:5622: arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -Werror -S conftest.c -o conftest.s 1>&5
>> cc1: error: switch -mcpu=arm926ej-s conflicts with -march=armv5e switch [-Werror]
>> cc1: all warnings being treated as errors
>> configure:5625: $? = 1
>> configure:5635: result: yes
>> configure:5638: error: working alias attribute support required
>>
>> ## ---------------- ##
>> ## Cache variables. ##
>> ## ---------------- ##
>>
>> ac_cv_build=x86_64-pc-linux-gnu
>> ac_cv_c_compiler_gnu=yes
>> ac_cv_cxx_compiler_gnu=no
>> ac_cv_env_CCC_set=
>> ac_cv_env_CCC_value=
>> ac_cv_env_CC_set=set
>> ac_cv_env_CC_value='arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot'
>> ac_cv_env_CFLAGS_set=set
>> ac_cv_env_CFLAGS_value=' -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= '
>> ac_cv_env_CPPFLAGS_set=set
>> ac_cv_env_CPPFLAGS_value=
>> ac_cv_env_CPP_set=set
>> ac_cv_env_CPP_value='arm-poky-linux-gnueabi-gcc -E --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -march=armv5e -marm -mcpu=arm926ej-s '
>> ac_cv_env_CXXFLAGS_set=set
>> ac_cv_env_CXXFLAGS_value=' -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fvisibility-inlines-hidden'
>> ac_cv_env_CXX_set=set
>> ac_cv_env_CXX_value='arm-poky-linux-gnueabi-g++ -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot'
>> ac_cv_env_LDFLAGS_set=set
>> ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now'
>> ac_cv_env_LIBS_set=
>> ac_cv_env_LIBS_value=
>> ac_cv_env_build_alias_set=set
>> ac_cv_env_build_alias_value=x86_64-linux
>> ac_cv_env_host_alias_set=set
>> ac_cv_env_host_alias_value=arm-poky-linux-gnueabi
>> ac_cv_env_target_alias_set=
>> ac_cv_env_target_alias_value=
>> ac_cv_host=arm-poky-linux-gnueabi
>> ac_cv_objext=o
>> ac_cv_path_BASH_SHELL=/home/matt/renew_thud/build/tmp/hosttools/bash
>> ac_cv_path_INSTALL_INFO=/usr/bin/install-info
>> ac_cv_path_PERL=/home/matt/renew_thud/build/tmp/hosttools/perl
>> ac_cv_path_install='/home/matt/renew_thud/build/tmp/hosttools/install -c'
>> ac_cv_prog_AS=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/as
>> ac_cv_prog_AWK=gawk
>> ac_cv_prog_BISON=bison
>> ac_cv_prog_BUILD_CC='gcc '
>> ac_cv_prog_CC='arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot'
>> ac_cv_prog_LD=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld
>> ac_cv_prog_MAKE=make
>> ac_cv_prog_MAKEINFO=makeinfo
>> ac_cv_prog_NM=arm-poky-linux-gnueabi-nm
>> ac_cv_prog_PYTHON_PROG=python3
>> ac_cv_prog_READELF=arm-poky-linux-gnueabi-readelf
>> ac_cv_prog_SED=sed
>> ac_cv_prog_cc_g=yes
>> ac_cv_prog_cxx_g=no
>> libc_cv_asm_set_directive=yes
>> libc_cv_broken_alias_attribute=yes
>> libc_cv_compiler_ok=yes
>> libc_cv_cxx_link_ok=no
>> libc_cv_gcc_incompatible_alias=yes
>> libc_cv_gcc_indirect_function=yes
>> libc_cv_insert=yes
>> libc_cv_ld_gnu_indirect_function=yes
>> libc_cv_nss_crypt=no
>> libc_cv_prog_as_gnu=yes
>> libc_cv_prog_ld_gnu=yes
>> libc_cv_protected_data=yes
>> libc_cv_ssp=no
>> libc_cv_ssp_all=no
>> libc_cv_ssp_strong=no
>> libc_cv_static_nss_crypt=no
>> libc_cv_with_fp=no
>> lt_cv_sys_lib_dlsearch_path_spec='/usr/lib /lib'
>>
>> ## ----------------- ##
>> ## Output variables. ##
>> ## ----------------- ##
>>
>> AR='/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ar'
>> AS='/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/as'
>> ASFLAGS_config=''
>> AUTOCONF='no'
>> AWK='gawk'
>> BASH_SHELL='/home/matt/renew_thud/build/tmp/hosttools/bash'
>> BISON='bison'
>> BUILD_CC='gcc '
>> CC='arm-poky-linux-gnueabi-gcc -march=armv5e -marm -mcpu=arm926ej-s --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot'
>> CFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fno-unwind-tables'
>> CPP='arm-poky-linux-gnueabi-gcc -E --sysroot=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot -march=armv5e -marm -mcpu=arm926ej-s '
>> CPPFLAGS=''
>> CPPUNDEFS=''
>> CXX=''
>> CXXFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0=/usr/src/debug/glibc-initial/2.28-r0 -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot= -fdebug-prefix-map=/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native= -fvisibility-inlines-hidden'
>> CXX_BITS_STD_ABS_H=''
>> CXX_CMATH_HEADER=''
>> CXX_CSTDLIB_HEADER=''
>> CXX_SYSINCLUDES=''
>> DEFINES=''
>> DEFS=''
>> ECHO_C=''
>> ECHO_N='-n'
>> ECHO_T=''
>> GPROF='gprof'
>> INSTALL_DATA='${INSTALL} -m 644'
>> INSTALL_INFO='/usr/bin/install-info'
>> INSTALL_PROGRAM='${INSTALL}'
>> INSTALL_SCRIPT='${INSTALL}'
>> LD='/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/ld'
>> LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now'
>> LIBGD=''
>> LIBOBJS=''
>> LIBS=''
>> LN_S='ln -s'
>> LTLIBOBJS=''
>> MAKE='make'
>> MAKEINFO='makeinfo'
>> MSGFMT=':'
>> NM='arm-poky-linux-gnueabi-nm'
>> OBJCOPY='/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/objcopy'
>> OBJDUMP='/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../libexec/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/objdump'
>> OBJEXT='o'
>> PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/'
>> PACKAGE_NAME='GNU C Library'
>> PACKAGE_STRING='GNU C Library (see version.h)'
>> PACKAGE_TARNAME='glibc'
>> PACKAGE_URL='http://www.gnu.org/software/glibc/'
>> PACKAGE_VERSION='(see version.h)'
>> PATH_SEPARATOR=':'
>> PERL='/home/matt/renew_thud/build/tmp/hosttools/perl'
>> PKGVERSION='(GNU libc) '
>> PKGVERSION_TEXI='(GNU libc) '
>> PYTHON='python3 -B'
>> PYTHON_PROG='python3'
>> READELF='arm-poky-linux-gnueabi-readelf'
>> RELEASE=''
>> REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/libc/bugs.html}'
>> REPORT_BUGS_TO='<http://www.gnu.org/software/libc/bugs.html>'
>> SED='sed'
>> SHELL='/bin/bash'
>> SYSINCLUDES='-nostdinc -isystem /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../lib/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/include -isystem /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/../../lib/arm-poky-linux-gnueabi.gcc-cross-initial-arm/gcc/arm-poky-linux-gnueabi/8.2.0/include-fixed -isystem /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot/usr/include'
>> VERSION=''
>> ac_ct_CC=''
>> ac_ct_CXX=''
>> all_warnings=''
>> base_machine='arm'
>> bindir='${exec_prefix}/bin'
>> bindnow='no'
>> build='x86_64-pc-linux-gnu'
>> build_alias='x86_64-linux'
>> build_cpu='x86_64'
>> build_crypt='yes'
>> build_nscd='default'
>> build_obsolete_nsl='no'
>> build_os='linux-gnu'
>> build_pt_chown='no'
>> build_vendor='pc'
>> cross_compiling='yes'
>> datadir='${datarootdir}'
>> datarootdir='${prefix}/share'
>> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
>> dvidir='${docdir}'
>> enable_timezone_tools='yes'
>> enable_werror='yes'
>> exec_prefix='NONE'
>> experimental_malloc='yes'
>> fno_unit_at_a_time=''
>> force_install='yes'
>> hardcoded_path_in_tests='no'
>> have_libaudit=''
>> have_libcap=''
>> have_selinux=''
>> have_tunables='yes'
>> host='arm-poky-linux-gnueabi'
>> host_alias='arm-poky-linux-gnueabi'
>> host_cpu='arm'
>> host_os='linux-gnueabi'
>> host_vendor='poky'
>> htmldir='${docdir}'
>> includedir='${prefix}/include'
>> infodir='${datarootdir}/info'
>> ldd_rewrite_script=''
>> libc_cv_cc_loop_to_function=''
>> libc_cv_cc_nofma=''
>> libc_cv_cc_pie_default=''
>> libc_cv_cc_submachine=''
>> libc_cv_cc_with_libunwind=''
>> libc_cv_complocaledir=''
>> libc_cv_cxx_thread_local=''
>> libc_cv_fpie=''
>> libc_cv_gcc_unwind_find_fde=''
>> libc_cv_has_glob_dat=''
>> libc_cv_hashstyle=''
>> libc_cv_insert='yes'
>> libc_cv_localstatedir=''
>> libc_cv_mtls_dialect_gnu2=''
>> libc_cv_multidir=''
>> libc_cv_nss_crypt='no'
>> libc_cv_output_format=''
>> libc_cv_pic_default=''
>> libc_cv_pie_default=''
>> libc_cv_protected_data='yes'
>> libc_cv_rootsbindir=''
>> libc_cv_rtlddir=''
>> libc_cv_slibdir=''
>> libc_cv_ssp='no'
>> libc_cv_static_nss_crypt='no'
>> libc_cv_sysconfdir=''
>> libc_cv_with_fp='no'
>> libc_cv_z_combreloc=''
>> libc_cv_z_execstack=''
>> libc_extra_cflags=''
>> libc_extra_cppflags=''
>> libdir='${exec_prefix}/lib'
>> libexecdir='${exec_prefix}/libexec'
>> link_obsolete_rpc='no'
>> localedir='${datarootdir}/locale'
>> localstatedir='${prefix}/var'
>> mach_interface_list=''
>> mandir='${datarootdir}/man'
>> multi_arch='no'
>> no_stack_protector=''
>> oldincludedir='/usr/include'
>> pdfdir='${docdir}'
>> prefix='/usr'
>> profile='no'
>> program_transform_name='s,x,x,'
>> psdir='${docdir}'
>> sbindir='${exec_prefix}/sbin'
>> shared='yes'
>> sharedstatedir='${prefix}/com'
>> stack_protector='-fno-stack-protector'
>> static=''
>> static_nss='no'
>> subdirs=' '
>> submachine=''
>> sysconfdir='${prefix}/etc'
>> sysheaders='/home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/recipe-sysroot/usr/include'
>> sysnames=' sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic'
>> target_alias=''
>> use_default_link='default'
>> use_ldconfig=''
>> use_nscd='yes'
>>
>> ## ----------- ##
>> ## confdefs.h. ##
>> ## ----------- ##
>>
>> /* confdefs.h */
>> #define PACKAGE_NAME "GNU C Library"
>> #define PACKAGE_TARNAME "glibc"
>> #define PACKAGE_VERSION "(see version.h)"
>> #define PACKAGE_STRING "GNU C Library (see version.h)"
>> #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/"
>> #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
>> #define PKGVERSION "(GNU libc) "
>> #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>> #define HAVE_TUNABLES 1
>> #define STACK_PROTECTOR_LEVEL 0
>> #define HAVE_ASM_SET_DIRECTIVE 1
>>
>> configure: exit 1
>>
>>
>> On Wed, Jan 2, 2019 at 3:19 PM Khem Raj <raj.khem at gmail.com> wrote:
>>>
>>> On Wed, Jan 2, 2019 at 12:37 PM Matthew Stanger
>>> <matthew_stanger at trimble.com> wrote:
>>> >
>>> > Hi,
>>> >
>>> > I'm getting a build failure under Thud when trying to use the
>>> > following tune in my machine.conf:
>>> > #at91sam9.inc is from meta-atmel - at91sam9263 is ARM target
>>> > require conf/machine/include/at91sam9.inc
>>> > DEFAULTTUNE = "arm926ejs"
>>> >
>>> >
>>> > When doing a fresh build 'glibc-initial' config stage fail's with:
>>> > | checking for broken __attribute__((alias()))... yes
>>> > | configure: error: working alias attribute support required
>>> > | WARNING: exit code 1 from a shell command.
>>> > | ERROR: Function failed: do_configure (log file is located at
>>> > /home/matt/renew_thud/build/tmp/work/arm926ejse-poky-linux-gnueabi/glibc-initial/2.28-r0/temp/log.do_configure.1177)
>>> > ERROR: Task (/home/matt/renew_thud/build/../oe/poky/meta/recipes-core/glibc/glibc-initial_2.28.bb:do_configure)
>>> > failed with exit code '1'
>>> > NOTE: Tasks Summary: Attempted 2173 tasks of which 0 didn't need to be
>>> > rerun and 1 failed.
>>> >
>>> > Summary: 1 task failed:
>>> > /home/matt/renew_thud/build/../oe/poky/meta/recipes-core/glibc/glibc-initial_2.28.bb:do_configure
>>> >
>>> > Can give follow on config.log's and such as required.
>>>
>>> yes that would be helpful. Since gcc has become stricter with option
>>> checks, its possibly ending in some combination which either is invalid
>>> or is wrongly computed by gcc from -mcpu
>>>
>>> >
>>> > If I edit 'poky/meta/conf/machine/include/tune-arm926ejs.inc' to
>>> > change the '-mcpu' back to 'mtune'(commit f29d642c) then glibc builds
>>> > fine. GCC tuning is totally outside my expertise so I'm hoping someone
>>> > can confirm if '-mcpu' is really desired over '-mtune'? And also if
>>> > this look like a Poky issue or something else?
>>> >
>>> > Cheers,
>>> > Matt
>>> > --
>>> > _______________________________________________
>>> > poky mailing list
>>> > poky at yoctoproject.org
>>> > https://lists.yoctoproject.org/listinfo/poky
>>
>> --
>> _______________________________________________
>> poky mailing list
>> poky at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list