This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/19769] glibc cross-compile fails with syntax error


https://sourceware.org/bugzilla/show_bug.cgi?id=19769

--- Comment #8 from Martin Galvan <martin.galvan at tallertechnologies dot com> ---
Comment on attachment 9070
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9070
New configure log

>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
>
>  $ ../source/configure --prefix=/home/martin/glibc-git/cross-install CC=arm-linux-gnueabihf-gcc arm-linux-gnueabihf
>
>## --------- ##
>## Platform. ##
>## --------- ##
>
>hostname = martin
>uname -m = x86_64
>uname -r = 3.13.0-32-generic
>uname -s = Linux
>uname -v = #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014
>
>/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/martin/linaro/bin
>PATH: /home/martin/GNC/systec_can/can-utils
>PATH: /usr/local/sbin
>PATH: /usr/local/bin
>PATH: /usr/sbin
>PATH: /usr/bin
>PATH: /sbin
>PATH: /bin
>PATH: /usr/games
>PATH: /usr/local/games
>
>
>## ----------- ##
>## Core tests. ##
>## ----------- ##
>
>configure:2188: checking build system type
>configure:2202: result: arm-unknown-linux-gnueabihf
>configure:2222: checking host system type
>configure:2235: result: arm-unknown-linux-gnueabihf
>configure:2264: checking for arm-linux-gnueabihf-gcc
>configure:2291: result: arm-linux-gnueabihf-gcc
>configure:2560: checking for C compiler version
>configure:2569: arm-linux-gnueabihf-gcc --version >&5
>arm-linux-gnueabihf-gcc (Linaro GCC 5.1-2015.08) 5.1.1 20150608
>Copyright (C) 2015 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:2580: $? = 0
>configure:2569: arm-linux-gnueabihf-gcc -v >&5
>Using built-in specs.
>COLLECT_GCC=arm-linux-gnueabihf-gcc
>COLLECT_LTO_WRAPPER=/home/martin/linaro/bin/../libexec/gcc/arm-linux-gnueabihf/5.1.1/lto-wrapper
>Target: arm-linux-gnueabihf
>Configured with: /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/gcc-linaro-5.1-2015.08/configure SHELL=/bin/bash --with-bugurl=https://bugs.linaro.org --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libstdcxx-pch --disable-libmudflap --with-cloog=no --with-ppl=no --with-isl=no --disable-nls --enable-c99 --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-multilib --enable-multiarch --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --enable-lto --enable-linker-build-id --enable-long-long --enable-shared --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc --enable-languages=c,c++,fortran,lto --enable-checking=release --disable-bootstrap --with-bugurl=https://bugs.linaro.org --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
>Thread model: posix
>gcc version 5.1.1 20150608 (Linaro GCC 5.1-2015.08)
>configure:2580: $? = 0
>configure:2569: arm-linux-gnueabihf-gcc -V >&5
>arm-linux-gnueabihf-gcc: error: unrecognized command line option '-V'
>arm-linux-gnueabihf-gcc: fatal error: no input files
>compilation terminated.
>configure:2580: $? = 1
>configure:2569: arm-linux-gnueabihf-gcc -qversion >&5
>arm-linux-gnueabihf-gcc: error: unrecognized command line option '-qversion'
>arm-linux-gnueabihf-gcc: fatal error: no input files
>compilation terminated.
>configure:2580: $? = 1
>configure:2585: checking for suffix of object files
>configure:2607: arm-linux-gnueabihf-gcc -c   conftest.c >&5
>configure:2611: $? = 0
>configure:2632: result: o
>configure:2636: checking whether we are using the GNU C compiler
>configure:2655: arm-linux-gnueabihf-gcc -c   conftest.c >&5
>configure:2655: $? = 0
>configure:2664: result: yes
>configure:2673: checking whether arm-linux-gnueabihf-gcc accepts -g
>configure:2693: arm-linux-gnueabihf-gcc -c -g  conftest.c >&5
>configure:2693: $? = 0
>configure:2734: result: yes
>configure:2814: checking for arm-linux-gnueabihf-readelf
>configure:2830: found /home/martin/linaro/bin/arm-linux-gnueabihf-readelf
>configure:2841: result: arm-linux-gnueabihf-readelf
>configure:2919: checking for arm-linux-gnueabihf-g++
>configure:2935: found /home/martin/linaro/bin/arm-linux-gnueabihf-g++
>configure:2946: result: arm-linux-gnueabihf-g++
>configure:3017: checking for C++ compiler version
>configure:3026: arm-linux-gnueabihf-g++ --version >&5
>arm-linux-gnueabihf-g++ (Linaro GCC 5.1-2015.08) 5.1.1 20150608
>Copyright (C) 2015 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:3037: $? = 0
>configure:3026: arm-linux-gnueabihf-g++ -v >&5
>Using built-in specs.
>COLLECT_GCC=arm-linux-gnueabihf-g++
>COLLECT_LTO_WRAPPER=/home/martin/linaro/bin/../libexec/gcc/arm-linux-gnueabihf/5.1.1/lto-wrapper
>Target: arm-linux-gnueabihf
>Configured with: /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/gcc-linaro-5.1-2015.08/configure SHELL=/bin/bash --with-bugurl=https://bugs.linaro.org --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libstdcxx-pch --disable-libmudflap --with-cloog=no --with-ppl=no --with-isl=no --disable-nls --enable-c99 --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-multilib --enable-multiarch --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --enable-lto --enable-linker-build-id --enable-long-long --enable-shared --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc --enable-languages=c,c++,fortran,lto --enable-checking=release --disable-bootstrap --with-bugurl=https://bugs.linaro.org --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
>Thread model: posix
>gcc version 5.1.1 20150608 (Linaro GCC 5.1-2015.08)
>configure:3037: $? = 0
>configure:3026: arm-linux-gnueabihf-g++ -V >&5
>arm-linux-gnueabihf-g++: error: unrecognized command line option '-V'
>arm-linux-gnueabihf-g++: fatal error: no input files
>compilation terminated.
>configure:3037: $? = 1
>configure:3026: arm-linux-gnueabihf-g++ -qversion >&5
>arm-linux-gnueabihf-g++: error: unrecognized command line option '-qversion'
>arm-linux-gnueabihf-g++: fatal error: no input files
>compilation terminated.
>configure:3037: $? = 1
>configure:3041: checking whether we are using the GNU C++ compiler
>configure:3060: arm-linux-gnueabihf-g++ -c   conftest.cpp >&5
>configure:3060: $? = 0
>configure:3069: result: yes
>configure:3078: checking whether arm-linux-gnueabihf-g++ accepts -g
>configure:3098: arm-linux-gnueabihf-g++ -c -g  conftest.cpp >&5
>configure:3098: $? = 0
>configure:3139: result: yes
>configure:3164: checking whether arm-linux-gnueabihf-g++ can link programs
>configure:3187: arm-linux-gnueabihf-g++ -o conftest -g -O2   conftest.cpp  >&5
>configure:3187: $? = 0
>configure:3210: arm-linux-gnueabihf-g++ -o conftest -g -O2   -static conftest.cpp  >&5
>configure:3210: $? = 0
>configure:3225: result: yes
>configure:3704: checking for sysdeps preconfigure fragments
>configure:33: Found compiler is configured for armv7
>configure:3711: result:
>configure:3782: running configure fragment for add-on libidn
>configure:3878: checking for assembler and linker STT_GNU_IFUNC support
>
>Relocation section '.rel.dyn' at offset 0xb8 contains 1 entries:
> Offset     Info    Type            Sym.Value  Sym. Name
>000200cc  000000a0 R_ARM_IRELATIVE
>configure:3909: result: yes
>configure:3927: checking sysdep dirs
>configure:4147: result: sysdeps/generic
>configure:4224: checking for a BSD-compatible install
>configure:4292: result: /usr/bin/install -c
>configure:4307: checking whether ln -s works
>configure:4311: result: yes
>configure:4335: checking whether /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/as is GNU as
>configure:4349: result: yes
>configure:4354: checking whether /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld is GNU ld
>configure:4368: result: yes
>configure:4378: checking for /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/as
>configure:4405: result: /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/as
>configure:4420: checking version of /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/as
>configure:4430: result: 2015.10, ok
>configure:4441: checking for /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld
>configure:4468: result: /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld
>configure:4483: checking version of /home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld
>configure:4493: result: 2015.10, ok
>configure:4507: checking for gnumake
>configure:4537: result: no
>configure:4507: checking for gmake
>configure:4537: result: no
>configure:4507: checking for make
>configure:4523: found /usr/bin/make
>configure:4534: result: make
>configure:4549: checking version of make
>configure:4559: result: 3.81, ok
>configure:4571: checking for gnumsgfmt
>configure:4601: result: no
>configure:4571: checking for gmsgfmt
>configure:4601: result: no
>configure:4571: checking for msgfmt
>configure:4587: found /usr/bin/msgfmt
>configure:4598: result: msgfmt
>configure:4613: checking version of msgfmt
>configure:4623: result: 0.18.3, ok
>configure:4634: checking for makeinfo
>configure:4650: found /usr/bin/makeinfo
>configure:4661: result: makeinfo
>configure:4676: checking version of makeinfo
>configure:4686: result: 5.2, ok
>configure:4697: checking for sed
>configure:4713: found /bin/sed
>configure:4724: result: sed
>configure:4739: checking version of sed
>configure:4749: result: 4.2.2, ok
>configure:4760: checking for gawk
>configure:4776: found /usr/bin/gawk
>configure:4787: result: gawk
>configure:4802: checking version of gawk
>configure:4812: result: 4.0.1, ok
>configure:4820: checking if arm-linux-gnueabihf-gcc is sufficient to build libc
>configure:4840: arm-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
>configure:4840: $? = 0
>configure:4847: result: yes
>configure:4856: checking for arm-linux-gnueabihf-nm
>configure:4872: found /home/martin/linaro/bin/arm-linux-gnueabihf-nm
>configure:4883: result: arm-linux-gnueabihf-nm
>configure:5059: checking LD_LIBRARY_PATH variable
>configure:5069: result: ok
>configure:5080: checking for bash
>configure:5098: found /bin/bash
>configure:5111: result: /bin/bash
>configure:5122: checking for perl
>configure:5140: found /usr/bin/perl
>configure:5153: result: /usr/bin/perl
>configure:5167: checking for install-info
>configure:5186: found /usr/bin/install-info
>configure:5199: result: /usr/bin/install-info
>configure:5211: checking for bison
>configure:5227: found /usr/bin/bison
>configure:5238: result: bison
>configure:5253: checking version of bison
>configure:5263: result: 3.0.2, ok
>configure:5271: checking for .set assembler directive
>configure:5297: result: yes
>configure:5304: checking linker support for protected data symbol
>configure:5314: arm-linux-gnueabihf-gcc -nostdlib -nostartfiles -fPIC -shared conftest.c -o conftest.so
>configure:5317: $? = 0
>configure:5324: arm-linux-gnueabihf-gcc -nostdlib -nostartfiles conftest.c -o conftest conftest.so
>/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000010270
>configure:5327: $? = 0
>configure:5335: result: yes
>configure:5339: checking for broken __attribute__((alias()))
>configure:5354: arm-linux-gnueabihf-gcc -Werror -S conftest.c -o conftest.s 1>&5
>configure:5357: $? = 0
>configure:5367: result: no
>configure:5373: checking whether to put _rtld_local into .sdata section
>configure:5387: result: no
>configure:5394: checking whether to use .ctors/.dtors header and trailer
>configure:5411: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables   -o conftest
>		       conftest.c -static -nostartfiles -nostdlib
>		       1>&5
>configure:5414: $? = 0
>configure:5440: result: no
>configure:5447: checking for libunwind-support in compiler
>configure:5464: result: no
>configure:5473: checking whether --noexecstack is desirable for .S files
>configure:5483: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables
>		   -S -o conftest.s conftest.c 1>&5
>configure:5486: $? = 0
>configure:5491: arm-linux-gnueabihf-gcc  -Wa,--noexecstack
>		      -c -o conftest.o conftest.s 1>&5
>configure:5494: $? = 0
>configure:5503: result: yes
>configure:5510: checking for -z combreloc
>configure:5524: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables
>			-fPIC -shared -o conftest.so conftest.c
>			-nostdlib -nostartfiles
>			-Wl,-z,combreloc 1>&5
>configure:5527: $? = 0
>configure:5540: result: yes
>configure:5548: checking for linker that supports -z execstack
>configure:5561: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables
>				-Wl,-z,execstack -nostdlib -nostartfiles
>				-fPIC -shared -o conftest.so conftest.c
>				1>&5
>configure:5564: $? = 0
>configure:5577: result: yes
>configure:5581: checking for -fpie
>configure:5587: arm-linux-gnueabihf-gcc -fpie -xc /dev/null -S -o /dev/null
>configure:5590: $? = 0
>configure:5598: result: yes
>configure:5603: checking for --hash-style option
>configure:5614: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables
>			    -fPIC -shared -o conftest.so conftest.c
>			    -Wl,--hash-style=both -nostdlib 1>&5
>configure:5617: $? = 0
>configure:5626: result: yes
>configure:5634: checking for sufficient default -shared layout
>configure:5653:   arm-linux-gnueabihf-gcc  -shared -o conftest.so conftest.s 1>&5
>configure:5656: $? = 0
>nono from:
>
>NOTE .note.gnu.build-i
>HASH .hash
>DYNSYM .dynsym
>STRTAB .dynstr
>VERSYM .gnu.version
>VERNEED .gnu.version_r
>REL .rel.dyn
>REL .rel.plt
>PROGBITS .init
>PROGBITS .plt
>PROGBITS .text
>PROGBITS .fini
>NOTE .note.a
>NOTE .note.b
>PROGBITS .eh_frame
>INIT_ARRAY .init_array
>FINI_ARRAY .fini_array
>PROGBITS .jcr
>DYNAMIC .dynamic
>PROGBITS .got
>PROGBITS .data
>NOBITS .bss
>PROGBITS .comment
>ARM_ATTRIBUTES .ARM.attributes
>PROGBITS .debug_aranges
>PROGBITS .debug_info
>PROGBITS .debug_abbrev
>PROGBITS .debug_line
>PROGBITS .debug_ranges
>STRTAB .shstrtab
>SYMTAB .symtab
>STRTAB .strtab
>configure:5688: result: no
>configure:5693: checking for GLOB_DAT reloc
>configure:5706: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables
>			-fPIC -shared -o conftest.so conftest.c
>			-nostdlib -nostartfiles
>			1>&5
>configure:5709: $? = 0
>configure:5722: result: yes
>configure:5726: checking linker output format
>configure:5740: result: elf32-littlearm
>configure:5744: checking for -fno-toplevel-reorder -fno-section-anchors
>configure:5754: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables  -S -fno-toplevel-reorder -fno-section-anchors
>			    conftest.c 1>&5
>configure:5757: $? = 0
>configure:5766: result: yes
>configure:5775: checking for -fstack-protector
>configure:5781: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables  -Werror -fstack-protector -xc /dev/null -S -o /dev/null
>configure:5784: $? = 0
>configure:5792: result: yes
>configure:5795: checking for -fstack-protector-strong
>configure:5801: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables  -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null
>configure:5804: $? = 0
>configure:5812: result: yes
>configure:5823: checking whether cc puts quotes around section names
>configure:5844: result: no
>configure:5851: checking for __builtin_memset
>configure:5863: arm-linux-gnueabihf-gcc -O3 -S conftest.c -o - | fgrep memset > /dev/null
>configure:5866: $? = 0
>configure:5875: result: no
>configure:5882: checking for redirection of built-in functions
>configure:5895: arm-linux-gnueabihf-gcc -O3 -S conftest.c -o - | fgrep my_strstr > /dev/null
>configure:5898: $? = 0
>configure:5907: result: yes
>configure:5913: checking for compiler option to disable generation of FMA instructions
>configure:5921: arm-linux-gnueabihf-gcc -ffp-contract=off -xc /dev/null -S -o /dev/null
>configure:5924: $? = 0
>configure:5930: result: -ffp-contract=off
>configure:5963: checking if arm-linux-gnueabihf-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))
>configure:5976: arm-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables  -c conftest.c
>configure:5979: $? = 0
>configure:5986: result: yes
>configure:5994: checking for libgd
>configure:6014: arm-linux-gnueabihf-gcc -o conftest -g -O2 -fno-unwind-tables     conftest.c  -lgd -lpng -lz -lm >&5
>conftest.c:17:16: fatal error: gd.h: No such file or directory
>compilation terminated.
>configure:6014: $? = 1
>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 "http://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_LIBIDN 1
>| #define USE_MULTIARCH 1
>| #define HAVE_ASM_SET_DIRECTIVE 1
>| #define NO_CTORS_DTORS_SECTIONS 1
>| #define HAVE_Z_COMBRELOC 1
>| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
>| /* end confdefs.h.  */
>| #include <gd.h>
>| int
>| main ()
>| {
>| gdImagePng (0, 0)
>|   ;
>|   return 0;
>| }
>configure:6027: result: no
>configure:6036: checking for is_selinux_enabled in -lselinux
>configure:6061: arm-linux-gnueabihf-gcc -o conftest -g -O2 -fno-unwind-tables   conftest.c -lselinux   >&5
>/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lselinux
>collect2: error: ld returned 1 exit status
>configure:6061: $? = 1
>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 "http://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_LIBIDN 1
>| #define USE_MULTIARCH 1
>| #define HAVE_ASM_SET_DIRECTIVE 1
>| #define NO_CTORS_DTORS_SECTIONS 1
>| #define HAVE_Z_COMBRELOC 1
>| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
>| /* end confdefs.h.  */
>|
>| /* Override any GCC internal prototype to avoid an error.
>|    Use char because int might match the return type of a GCC
>|    builtin and then its argument prototype would still apply.  */
>| #ifdef __cplusplus
>| extern "C"
>| #endif
>| char is_selinux_enabled ();
>| int
>| main ()
>| {
>| return is_selinux_enabled ();
>|   ;
>|   return 0;
>| }
>configure:6070: result: no
>configure:6193: checking for _FORTIFY_SOURCE predefine
>configure:6212: arm-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
>configure:6212: $? = 0
>configure:6219: result: no
>configure:6226: checking whether arm-linux-gnueabihf-gcc implicitly enables -fstack-protector
>configure:6243: arm-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
>configure:6243: $? = 0
>libc_undefs='foobar'
>configure:6270: result: no
>configure:6281: checking whether the linker provides working __ehdr_start
>configure:6304: arm-linux-gnueabihf-gcc -o conftest -g -O2 -fno-unwind-tables -fPIC   -nostdlib -nostartfiles -shared conftest.c  >&5
>configure:6304: $? = 0
>configure:6320: result: yes
>configure:6330: checking for __builtin_trap with no external dependencies
>configure:6347: arm-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
>configure:6347: $? = 0
>libc_undefs=''
>configure:6361: result: yes
>configure:6375: checking whether the C++ compiler supports thread_local
>configure:6403: arm-linux-gnueabihf-g++ -c -g -O2 -std=gnu++11  conftest.cpp >&5
>conftest.cpp:33:2: error: #error __cxa_thread_atexit_impl not supported
> #error __cxa_thread_atexit_impl not supported
>  ^
>configure:6403: $? = 1
>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 "http://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_LIBIDN 1
>| #define USE_MULTIARCH 1
>| #define HAVE_ASM_SET_DIRECTIVE 1
>| #define NO_CTORS_DTORS_SECTIONS 1
>| #define HAVE_Z_COMBRELOC 1
>| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
>| #define HAVE_EHDR_START 1
>| #define HAVE_BUILTIN_TRAP 1
>| /* end confdefs.h.  */
>|
>| #include <thread>
>|
>| // Compiler support.
>| struct S
>| {
>|   S ();
>|   ~S ();
>| };
>| thread_local S s;
>| S * get () { return &s; }
>|
>| // libstdc++ support.
>| #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
>| #error __cxa_thread_atexit_impl not supported
>| #endif
>|
>configure:6412: result: no
>configure:6442: result: running configure fragment for sysdeps/unix/sysv/linux
>configure:9: checking installed Linux kernel header files
>configure:28: arm-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
>configure:28: $? = 0
>configure:35: result: 3.2.0 or later
>configure:69: checking for kernel header at least 3.2.0
>configure:87: arm-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
>configure:87: $? = 0
>configure:93: result: ok
>configure:142: checking for symlinks in /home/martin/glibc-git/cross-install/include
>configure:159: result: ok
>configure:6442: result: running configure fragment for sysdeps/gnu
>configure:6442: result: running configure fragment for sysdeps/arm
>configure:16: checking for grep that handles long lines and -e
>configure:74: result: /bin/grep
>configure:79: checking for egrep
>configure:141: result: /bin/grep -E
>configure:146: checking whether the compiler is using the ARM hard-float ABI
>configure:167: result: yes
>configure:179: checking whether PC-relative relocs in movw/movt work properly
>
>Dynamic section at offset 0x224 contains 6 entries:
>  Tag        Type                         Name/Value
> 0x00000004 (HASH)                       0xd8
> 0x00000005 (STRTAB)                     0x1c8
> 0x00000006 (SYMTAB)                     0x118
> 0x0000000a (STRSZ)                      63 (bytes)
> 0x0000000b (SYMENT)                     16 (bytes)
> 0x00000000 (NULL)                       0x0
>
>There are no relocations in this file.
>configure:220: result: yes
>configure:230: checking whether TPOFF relocs with addends are assembled correctly
>
>Hex dump of section '.text':
> NOTE: This section has relocations against it, but these have NOT been applied to this dump.
>  0x00000000 08000000                            ....
>
>configure:266: result: no
>configure:6498: checking whether -fPIC is default
>configure:6514: result: no
>configure:6518: checking whether -fPIE is default
>configure:6534: result: no
>configure:6668: creating ./config.status
>
>## ---------------------- ##
>## Running config.status. ##
>## ---------------------- ##
>
>This file was extended by GNU C Library config.status (see version.h), which was
>generated by GNU Autoconf 2.69.  Invocation command line was
>
>  CONFIG_FILES    =
>  CONFIG_HEADERS  =
>  CONFIG_LINKS    =
>  CONFIG_COMMANDS =
>  $ ./config.status
>
>on martin-galvan
>
>config.status:928: creating config.make
>config.status:928: creating Makefile
>config.status:928: creating config.h
>config.status:1102: executing default commands
>
>## ---------------- ##
>## Cache variables. ##
>## ---------------- ##
>
>ac_cv_build=arm-unknown-linux-gnueabihf
>ac_cv_c_compiler_gnu=yes
>ac_cv_cxx_compiler_gnu=yes
>ac_cv_env_CCC_set=
>ac_cv_env_CCC_value=
>ac_cv_env_CC_set=set
>ac_cv_env_CC_value=arm-linux-gnueabihf-gcc
>ac_cv_env_CFLAGS_set=
>ac_cv_env_CFLAGS_value=
>ac_cv_env_CPPFLAGS_set=
>ac_cv_env_CPPFLAGS_value=
>ac_cv_env_CPP_set=
>ac_cv_env_CPP_value=
>ac_cv_env_CXXFLAGS_set=
>ac_cv_env_CXXFLAGS_value=
>ac_cv_env_CXX_set=
>ac_cv_env_CXX_value=
>ac_cv_env_LDFLAGS_set=
>ac_cv_env_LDFLAGS_value=
>ac_cv_env_LIBS_set=
>ac_cv_env_LIBS_value=
>ac_cv_env_build_alias_set=set
>ac_cv_env_build_alias_value=arm-linux-gnueabihf
>ac_cv_env_host_alias_set=set
>ac_cv_env_host_alias_value=arm-linux-gnueabihf
>ac_cv_env_target_alias_set=set
>ac_cv_env_target_alias_value=arm-linux-gnueabihf
>ac_cv_host=arm-unknown-linux-gnueabihf
>ac_cv_lib_selinux_is_selinux_enabled=no
>ac_cv_objext=o
>ac_cv_path_BASH_SHELL=/bin/bash
>ac_cv_path_EGREP='/bin/grep -E'
>ac_cv_path_GREP=/bin/grep
>ac_cv_path_INSTALL_INFO=/usr/bin/install-info
>ac_cv_path_PERL=/usr/bin/perl
>ac_cv_path_install='/usr/bin/install -c'
>ac_cv_prog_AS=/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/as
>ac_cv_prog_AWK=gawk
>ac_cv_prog_BISON=bison
>ac_cv_prog_CC=arm-linux-gnueabihf-gcc
>ac_cv_prog_CXX=arm-linux-gnueabihf-g++
>ac_cv_prog_LD=/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld
>ac_cv_prog_MAKE=make
>ac_cv_prog_MAKEINFO=makeinfo
>ac_cv_prog_MSGFMT=msgfmt
>ac_cv_prog_NM=arm-linux-gnueabihf-nm
>ac_cv_prog_READELF=arm-linux-gnueabihf-readelf
>ac_cv_prog_SED=sed
>ac_cv_prog_cc_g=yes
>ac_cv_prog_cxx_g=yes
>libc_cv_arm_pcrel_movw=yes
>libc_cv_arm_pcs_vfp=yes
>libc_cv_arm_tpoff_addend=no
>libc_cv_as_noexecstack=yes
>libc_cv_asm_set_directive=yes
>libc_cv_broken_alias_attribute=no
>libc_cv_builtin_trap=yes
>libc_cv_cc_loop_to_function=yes
>libc_cv_cc_nofma=-ffp-contract=off
>libc_cv_cc_with_libunwind=no
>libc_cv_compiler_ok=yes
>libc_cv_ctors_header=no
>libc_cv_cxx_link_ok=yes
>libc_cv_cxx_thread_local=no
>libc_cv_ehdr_start=yes
>libc_cv_fno_toplevel_reorder=yes
>libc_cv_fpie=yes
>libc_cv_gcc_builtin_memset=no
>libc_cv_gcc_builtin_redirection=yes
>libc_cv_gcc_unwind_find_fde=no
>libc_cv_has_glob_dat=yes
>libc_cv_hashstyle=yes
>libc_cv_have_sdata_section=no
>libc_cv_have_section_quotes=no
>libc_cv_idn=no
>libc_cv_ld_gnu_indirect_function=yes
>libc_cv_linux320='3.2.0 or later'
>libc_cv_localstatedir='${prefix}/var'
>libc_cv_nss_crypt=no
>libc_cv_output_format=elf32-littlearm
>libc_cv_pic_default=no
>libc_cv_pie_default=no
>libc_cv_predef_fortify_source=no
>libc_cv_predef_stack_protector=no
>libc_cv_prog_as_gnu=yes
>libc_cv_prog_ld_gnu=yes
>libc_cv_protected_data=yes
>libc_cv_ssp=yes
>libc_cv_ssp_strong=yes
>libc_cv_sysconfdir='${prefix}/etc'
>libc_cv_use_default_link=no
>libc_cv_z_combreloc=yes
>libc_cv_z_execstack=yes
>
>## ----------------- ##
>## Output variables. ##
>## ----------------- ##
>
>AR='/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ar'
>AS='/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/as'
>ASFLAGS_config=' -Wa,--noexecstack'
>AUTOCONF='no'
>AWK='gawk'
>BASH_SHELL='/bin/bash'
>BISON='bison'
>BUILD_CC=''
>CC='arm-linux-gnueabihf-gcc'
>CFLAGS='-g -O2'
>CPP='arm-linux-gnueabihf-gcc -E'
>CPPFLAGS=''
>CPPUNDEFS=''
>CXX='arm-linux-gnueabihf-g++'
>CXXFLAGS='-g -O2'
>CXX_SYSINCLUDES=''
>DEFINES=''
>DEFS='-DHAVE_CONFIG_H'
>ECHO_C=''
>ECHO_N='-n'
>ECHO_T=''
>INSTALL_DATA='${INSTALL} -m 644'
>INSTALL_INFO='/usr/bin/install-info'
>INSTALL_PROGRAM='${INSTALL}'
>INSTALL_SCRIPT='${INSTALL}'
>LD='/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld'
>LDFLAGS=''
>LIBGD='no'
>LIBOBJS=''
>LIBS=''
>LN_S='ln -s'
>LTLIBOBJS=''
>MAKE='make'
>MAKEINFO='makeinfo'
>MSGFMT='msgfmt'
>NM='arm-linux-gnueabihf-nm'
>OBJCOPY='/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/objcopy'
>OBJDUMP='/home/martin/linaro/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/objdump'
>OBJEXT='o'
>PACKAGE_BUGREPORT='http://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='/usr/bin/perl'
>PKGVERSION='(GNU libc) '
>PKGVERSION_TEXI='(GNU libc) '
>READELF='arm-linux-gnueabihf-readelf'
>RELEASE='development'
>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=''
>VERSION='2.23.90'
>ac_ct_CC=''
>ac_ct_CXX=''
>add_on_subdirs=' libidn'
>add_ons='libidn'
>all_warnings=''
>base_machine='arm'
>bindir='${exec_prefix}/bin'
>bindnow='no'
>build='arm-unknown-linux-gnueabihf'
>build_alias='arm-linux-gnueabihf'
>build_cpu='arm'
>build_nscd='yes'
>build_os='linux-gnueabihf'
>build_pt_chown='no'
>build_vendor='unknown'
>cross_compiling='no'
>datadir='${datarootdir}'
>datarootdir='${prefix}/share'
>docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
>dvidir='${docdir}'
>enable_lock_elision='no'
>enable_timezone_tools='yes'
>enable_werror='yes'
>exec_prefix='${prefix}'
>fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
>force_install='yes'
>hardcoded_path_in_tests='no'
>have_libaudit=''
>have_libcap=''
>have_selinux='no'
>host='arm-unknown-linux-gnueabihf'
>host_alias='arm-linux-gnueabihf'
>host_cpu='arm'
>host_os='linux-gnueabihf'
>host_vendor='unknown'
>htmldir='${docdir}'
>includedir='${prefix}/include'
>infodir='${datarootdir}/info'
>ldd_rewrite_script='no'
>libc_cv_cc_loop_to_function='yes'
>libc_cv_cc_nofma='-ffp-contract=off'
>libc_cv_cc_submachine=''
>libc_cv_cc_with_libunwind='no'
>libc_cv_complocaledir=''
>libc_cv_cxx_thread_local='no'
>libc_cv_fpie='yes'
>libc_cv_gcc_unwind_find_fde='no'
>libc_cv_has_glob_dat='yes'
>libc_cv_hashstyle='yes'
>libc_cv_localstatedir='${prefix}/var'
>libc_cv_nss_crypt='no'
>libc_cv_output_format='elf32-littlearm'
>libc_cv_pic_default='no'
>libc_cv_pie_default='no'
>libc_cv_protected_data='yes'
>libc_cv_rootsbindir=''
>libc_cv_rtlddir=''
>libc_cv_slibdir=''
>libc_cv_sysconfdir='${prefix}/etc'
>libc_cv_z_combreloc='yes'
>libc_cv_z_execstack='yes'
>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='default'
>oldincludedir='/usr/include'
>pdfdir='${docdir}'
>prefix='/home/martin/glibc-git/cross-install'
>profile='no'
>program_transform_name='s,x,x,'
>psdir='${docdir}'
>sbindir='${exec_prefix}/sbin'
>shared='yes'
>sharedstatedir='${prefix}/com'
>stack_protector='-fstack-protector-strong'
>static=''
>static_nss='no'
>subdirs='  '
>submachine=''
>sysconfdir='${prefix}/etc'
>sysdeps_add_ons=''
>sysheaders=''
>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/armv7/multiarch sysdeps/arm/armv7 sysdeps/arm/armv6t2 sysdeps/arm/armv6 sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic'
>target_alias='arm-linux-gnueabihf'
>use_default_link='no'
>use_ldconfig='yes'
>use_nscd='yes'
>with_fp='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 "http://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_LIBIDN 1
>#define USE_MULTIARCH 1
>#define HAVE_ASM_SET_DIRECTIVE 1
>#define NO_CTORS_DTORS_SECTIONS 1
>#define HAVE_Z_COMBRELOC 1
>#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
>#define HAVE_EHDR_START 1
>#define HAVE_BUILTIN_TRAP 1
>#define __LINUX_KERNEL_VERSION (3 * 65536 + 2 * 256 + 0)
>#define __ABI_TAG_VERSION 3,2,0
>#define HAVE_INLINED_SYSCALLS 1
>#define PI_STATIC_AND_HIDDEN 1
>#define HAVE_ARM_PCS_VFP 1
>#define ARM_PCREL_MOVW_OK 1
>#define HAVE_IFUNC 1
>#define USE_NSCD 1
>#define USE_LDCONFIG 1
>
>configure: exit 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]