public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Cannot build for arm-linux-gnueabi on macOS 14.3
@ 2024-01-27  6:34 William Tang
  2024-01-27 12:36 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: William Tang @ 2024-01-27  6:34 UTC (permalink / raw)
  To: libc-help

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

Hi all,

I’m building a cross toolchain on macOS, the same toolchain on Linux works fine, but it failed on macOS with error:
/Library/Developer/CommandLineTools/usr/bin/make  subdir=elf -C elf ..=../ subdir_lib
arm-linux-gnueabi-gcc   -nostdlib -nostartfiles -r -o /Volumes/CS/glibc-build/elf/librtld.map.o '-Wl,-(' /Volumes/CS/glibc-build/elf/dl-allobjs.os /Volumes/CS/glibc-build/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/Volumes/CS/glibc-build/elf/librtld.mapT
/opt/toolchains/bin/arm-linux-gnueabi-ld: /Volumes/CS/glibc-build/libc_pic.a: error adding symbols: archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make[2]: *** [/Volumes/CS/glibc-build/elf/librtld.map] Error 1
make[1]: *** [elf/subdir_lib] Error 2
make: *** [all] Error 2

What might be the issue?  See attached file for config.log.

Thanks,
William


[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 45029 bytes --]

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

  $ ../glibc-2.22/configure --build=aarch64-darwin --disable-werror --disable-multi-arch --disable-profile --enable-kernel=4.1 --host=arm-linux-gnueabi --prefix=/ --target=arm-linux-gnueabi --with-headers=/opt/toolchains/arm-linux-gnueabi/include

## --------- ##
## Platform. ##
## --------- ##

hostname = ttc-mbp.local
uname -m = arm64
uname -r = 23.3.0
uname -s = Darwin
uname -v = Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:30 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8122

/usr/bin/uname -p = arm
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:30 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8122
Kernel configured for up to 8 processors.
8 processors are physically available.
8 processors are logically available.
Processor type: arm64e (ARM64E)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 689 tasks, 2579 threads, 8 processors
Load average: 1.65, Mach factor: 6.34
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/homebrew/opt/gnu-sed/libexec/gnubin
PATH: /usr/local/bin
PATH: /System/Cryptexes/App/usr/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
PATH: /Users/william/Applications
PATH: /Users/william/Library/Python/3.9/bin
PATH: /sbin
PATH: /opt/homebrew/bin
PATH: /Applications/CLion.app/Contents/bin/cmake/mac/aarch64/bin
PATH: /Applications/CLion.app/Contents/bin/ninja/mac/aarch64
PATH: /opt/toolchains/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2416: checking build system type
configure:2430: result: aarch64-unknown-darwin
configure:2450: checking host system type
configure:2463: result: arm-unknown-linux-gnueabi
configure:2492: checking for arm-linux-gnueabi-gcc
configure:2508: found /opt/toolchains/bin/arm-linux-gnueabi-gcc
configure:2519: result: arm-linux-gnueabi-gcc
configure:2788: checking for C compiler version
configure:2797: arm-linux-gnueabi-gcc --version >&5
arm-linux-gnueabi-gcc (GCC) 13.2.0
Copyright (C) 2023 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:2808: $? = 0
configure:2797: arm-linux-gnueabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../gcc-13.2.0/configure --disable-decimal-float --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-lto --disable-multilib --disable-nls --disable-plugin --disable-shared --disable-threads --disable-werror --enable-languages=c,c++ --libdir=/opt/toolchains/lib --libexecdir=/opt/toolchains/lib --prefix=/opt/toolchains --program-prefix=arm-linux-gnueabi- --target=arm-linux-gnueabi --with-abi=aapcs-linux --with-as=/opt/toolchains/bin/arm-linux-gnueabi-as --with-build-sysroot=/opt/toolchains/arm-linux-gnueabi --with-cpu=cortex-a53 --with-float=soft --with-gmp=/opt/homebrew --with-mode=arm --with-mpc=/opt/homebrew --with-mpfr=/opt/homebrew --with-ld=/opt/toolchains/bin/arm-linux-gnueabi-ld --with-local-prefix=/opt/toolchains/arm-linux-gnueabi --with-newlib --with-sysroot=/opt/toolchains/arm-linux-gnueabi --with-system-zlib --without-cloog --without-isl
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (GCC) 
configure:2808: $? = 0
configure:2797: arm-linux-gnueabi-gcc -V >&5
arm-linux-gnueabi-gcc: error: unrecognized command-line option '-V'
arm-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:2808: $? = 1
configure:2797: arm-linux-gnueabi-gcc -qversion >&5
arm-linux-gnueabi-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
arm-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:2808: $? = 1
configure:2813: checking for suffix of object files
configure:2835: arm-linux-gnueabi-gcc -c   conftest.c >&5
configure:2839: $? = 0
configure:2860: result: o
configure:2864: checking whether we are using the GNU C compiler
configure:2883: arm-linux-gnueabi-gcc -c   conftest.c >&5
configure:2883: $? = 0
configure:2892: result: yes
configure:2901: checking whether arm-linux-gnueabi-gcc accepts -g
configure:2921: arm-linux-gnueabi-gcc -c -g  conftest.c >&5
configure:2921: $? = 0
configure:2962: result: yes
configure:2991: checking for gcc
configure:3007: found /usr/bin/gcc
configure:3018: result: gcc
configure:3042: checking for arm-linux-gnueabi-readelf
configure:3058: found /opt/toolchains/bin/arm-linux-gnueabi-readelf
configure:3069: result: arm-linux-gnueabi-readelf
configure:3147: checking for arm-linux-gnueabi-g++
configure:3163: found /opt/toolchains/bin/arm-linux-gnueabi-g++
configure:3174: result: arm-linux-gnueabi-g++
configure:3245: checking for C++ compiler version
configure:3254: arm-linux-gnueabi-g++ --version >&5
arm-linux-gnueabi-g++ (GCC) 13.2.0
Copyright (C) 2023 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:3265: $? = 0
configure:3254: arm-linux-gnueabi-g++ -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-g++
COLLECT_LTO_WRAPPER=/opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../gcc-13.2.0/configure --disable-decimal-float --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-lto --disable-multilib --disable-nls --disable-plugin --disable-shared --disable-threads --disable-werror --enable-languages=c,c++ --libdir=/opt/toolchains/lib --libexecdir=/opt/toolchains/lib --prefix=/opt/toolchains --program-prefix=arm-linux-gnueabi- --target=arm-linux-gnueabi --with-abi=aapcs-linux --with-as=/opt/toolchains/bin/arm-linux-gnueabi-as --with-build-sysroot=/opt/toolchains/arm-linux-gnueabi --with-cpu=cortex-a53 --with-float=soft --with-gmp=/opt/homebrew --with-mode=arm --with-mpc=/opt/homebrew --with-mpfr=/opt/homebrew --with-ld=/opt/toolchains/bin/arm-linux-gnueabi-ld --with-local-prefix=/opt/toolchains/arm-linux-gnueabi --with-newlib --with-sysroot=/opt/toolchains/arm-linux-gnueabi --with-system-zlib --without-cloog --without-isl
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (GCC) 
configure:3265: $? = 0
configure:3254: arm-linux-gnueabi-g++ -V >&5
arm-linux-gnueabi-g++: error: unrecognized command-line option '-V'
arm-linux-gnueabi-g++: fatal error: no input files
compilation terminated.
configure:3265: $? = 1
configure:3254: arm-linux-gnueabi-g++ -qversion >&5
arm-linux-gnueabi-g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
arm-linux-gnueabi-g++: fatal error: no input files
compilation terminated.
configure:3265: $? = 1
configure:3269: checking whether we are using the GNU C++ compiler
configure:3288: arm-linux-gnueabi-g++ -c   conftest.cpp >&5
configure:3288: $? = 0
configure:3297: result: yes
configure:3306: checking whether arm-linux-gnueabi-g++ accepts -g
configure:3326: arm-linux-gnueabi-g++ -c -g  conftest.cpp >&5
configure:3326: $? = 0
configure:3367: result: yes
configure:3392: checking whether arm-linux-gnueabi-g++ can link programs
configure:3414: arm-linux-gnueabi-g++ -o conftest -g -O2   conftest.cpp  >&5
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crt1.o: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crti.o: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find -lstdc++: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find -lm: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find -lc: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3414: $? = 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>"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3428: result: no
configure:3899: checking for sysdeps preconfigure fragments
configure:49: WARNING: arm/preconfigure: Did not find ARM architecture type; using default
configure:3906: result: 
configure:3977: running configure fragment for add-on libidn
configure:4077: checking for assembler and linker STT_GNU_IFUNC support

Relocation section '.rel.dyn' at offset 0x74 contains 1 entry:
 Offset     Info    Type            Sym.Value  Sym. Name
00011088  000000a0 R_ARM_IRELATIVE  
configure:4108: result: yes
configure:4111: checking whether .text pseudo-op must be used
configure:4121: arm-linux-gnueabi-gcc  -c conftest.s 1>&5
configure:4124: $? = 0
configure:4135: result: yes
configure:4154: checking sysdep dirs
configure:4374: result: sysdeps/generic
configure:4451: checking for a BSD-compatible install
configure:4519: result: /usr/bin/install -c
configure:4534: checking whether ln -s works
configure:4538: result: yes
configure:4562: checking whether /opt/toolchains/bin/arm-linux-gnueabi-as is GNU as
configure:4576: result: yes
configure:4581: checking whether /opt/toolchains/bin/arm-linux-gnueabi-ld is GNU ld
configure:4595: result: yes
configure:4605: checking for /opt/toolchains/bin/arm-linux-gnueabi-as
configure:4632: result: /opt/toolchains/bin/arm-linux-gnueabi-as
configure:4647: checking version of /opt/toolchains/bin/arm-linux-gnueabi-as
configure:4657: result: 2.41, ok
configure:4668: checking for /opt/toolchains/bin/arm-linux-gnueabi-ld
configure:4695: result: /opt/toolchains/bin/arm-linux-gnueabi-ld
configure:4710: checking version of /opt/toolchains/bin/arm-linux-gnueabi-ld
configure:4720: result: 2.41, ok
configure:4734: checking for gnumake
configure:4750: found /usr/bin/gnumake
configure:4761: result: gnumake
configure:4776: checking version of gnumake
configure:4786: result: 3.81, ok
configure:4798: checking for gnumsgfmt
configure:4828: result: no
configure:4798: checking for gmsgfmt
configure:4828: result: no
configure:4798: checking for msgfmt
configure:4814: found /opt/homebrew/bin/msgfmt
configure:4825: result: msgfmt
configure:4840: checking version of msgfmt
configure:4850: result: 0.22.4, ok
configure:4861: checking for makeinfo
configure:4891: result: no
configure:4924: checking for sed
configure:4940: found /opt/homebrew/opt/gnu-sed/libexec/gnubin/sed
configure:4951: result: sed
configure:4966: checking version of sed
configure:4976: result: 4.9, ok
configure:4987: checking for gawk
configure:5003: found /opt/homebrew/bin/gawk
configure:5014: result: gawk
configure:5029: checking version of gawk
configure:5039: result: 5.3.0, ok
configure:5047: checking if arm-linux-gnueabi-gcc is sufficient to build libc
configure:5067: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:5067: $? = 0
configure:5074: result: yes
configure:5083: checking for arm-linux-gnueabi-nm
configure:5099: found /opt/toolchains/bin/arm-linux-gnueabi-nm
configure:5110: result: arm-linux-gnueabi-nm
configure:5250: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure:5286: checking LD_LIBRARY_PATH variable
configure:5296: result: ok
configure:5305: checking whether GCC supports -static-libgcc
configure:5316: result: -static-libgcc
configure:5322: checking for bash
configure:5340: found /bin/bash
configure:5353: result: /bin/bash
configure:5364: checking for perl
configure:5382: found /usr/bin/perl
configure:5395: result: /usr/bin/perl
configure:5409: checking for install-info
configure:5441: result: no
configure:5453: checking for bison
configure:5469: found /usr/bin/bison
configure:5480: result: bison
configure:5495: checking version of bison
configure:5505: result: 2.3, bad
configure:5513: checking for libc-friendly stddef.h
configure:5537: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
conftest.c: In function 'main':
conftest.c:24:38: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration]
   24 | if (&size == NULL || &wchar == NULL) abort ();
      |                                      ^~~~~
conftest.c:17:1: note: include '<stdlib.h>' or provide a declaration of 'abort'
   16 | #include <stddef.h>
   17 | int
conftest.c:24:38: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch]
   24 | if (&size == NULL || &wchar == NULL) abort ();
      |                                      ^~~~~
conftest.c:24:38: note: include '<stdlib.h>' or provide a declaration of 'abort'
configure:5537: $? = 0
configure:5544: result: yes
configure:5551: checking whether we need to use -P to assemble .S files
configure:5561: arm-linux-gnueabi-gcc   -c conftest.S 1>&5
configure:5564: $? = 0
configure:5572: result: no
configure:5579: checking for .set assembler directive
/opt/toolchains/bin/arm-linux-gnueabi-ld: warning: /var/folders/nz/27tcbsx51xq6ttchfh52ybgw0000gn/T//ccT7on1x.o: missing .note.GNU-stack section implies executable stack
/opt/toolchains/bin/arm-linux-gnueabi-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
configure:5605: result: yes
configure:5612: checking for assembler gnu_unique_object symbol type
configure:5629: result: yes
configure:5636: checking for .previous assembler directive
configure:5646: arm-linux-gnueabi-gcc -c  conftest.s 1>&5
configure:5649: $? = 0
configure:5657: result: yes
configure:5691: checking for .protected and .hidden assembler directive
configure:5703: arm-linux-gnueabi-gcc -c  conftest.s 1>&5
configure:5706: $? = 0
configure:5714: result: yes
configure:5718: checking whether __attribute__((visibility())) is supported
configure:5729: arm-linux-gnueabi-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:5732: $? = 0
configure:5743: result: yes
configure:5751: checking linker support for protected data symbol
configure:5761: arm-linux-gnueabi-gcc -nostdlib -nostartfiles -fPIC -shared conftest.c -o conftest.so
configure:5764: $? = 0
configure:5771: arm-linux-gnueabi-gcc -nostdlib -nostartfiles conftest.c -o conftest conftest.so
/opt/toolchains/bin/arm-linux-gnueabi-ld: copy reloc against protected `bar' is dangerous
/opt/toolchains/bin/arm-linux-gnueabi-ld: warning: cannot find entry symbol _start; defaulting to 00010198
configure:5774: $? = 0
configure:5782: result: yes
configure:5790: checking for broken __attribute__((visibility()))
configure:5802: arm-linux-gnueabi-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:5805: $? = 0
configure:5814: result: no
configure:5821: checking for broken __attribute__((alias()))
configure:5836: arm-linux-gnueabi-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:5839: $? = 0
configure:5849: result: no
configure:5856: checking whether to put _rtld_local into .sdata section
configure:5870: result: no
configure:5878: checking for .preinit_array/.init_array/.fini_array support
configure:5894: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables   -o conftest
		       conftest.c -static -nostartfiles -nostdlib
		       1>&5
configure:5897: $? = 0
configure:5910: result: yes
configure:5916: checking whether to use .ctors/.dtors header and trailer
configure:5933: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables   -o conftest
		       conftest.c -static -nostartfiles -nostdlib
		       1>&5
configure:5936: $? = 0
configure:5962: result: no
configure:5969: checking for libunwind-support in compiler
configure:5986: result: no
configure:5994: checking for linker that supports -z nodelete
configure:6007: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
				-Wl,--enable-new-dtags,-z,nodelete -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:6010: $? = 0
configure:6023: result: yes
configure:6026: checking for linker that supports -z nodlopen
configure:6039: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
				-Wl,--enable-new-dtags,-z,nodlopen -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:6042: $? = 0
configure:6055: result: yes
configure:6058: checking for linker that supports -z initfirst
configure:6071: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
				-Wl,--enable-new-dtags,-z,initfirst -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:6074: $? = 0
configure:6087: result: yes
configure:6090: checking for -Bgroup option
configure:6101: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
			    -fPIC -shared -o conftest.so conftest.c
			    -Wl,-Bgroup -nostdlib 1>&5
configure:6104: $? = 0
configure:6113: result: yes
configure:6118: checking whether --noexecstack is desirable for .S files
configure:6128: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables 
		   -S -o conftest.s conftest.c 1>&5
configure:6131: $? = 0
configure:6136: arm-linux-gnueabi-gcc  -Wa,--noexecstack
		      -c -o conftest.o conftest.s 1>&5
configure:6139: $? = 0
configure:6148: result: yes
configure:6155: checking for -z combreloc
configure:6169: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
			-fPIC -shared -o conftest.so conftest.c
			-nostdlib -nostartfiles
			-Wl,-z,combreloc 1>&5
configure:6172: $? = 0
configure:6185: result: no
configure:6193: checking for linker that supports -z execstack
configure:6206: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
				-Wl,-z,execstack -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:6209: $? = 0
configure:6222: result: yes
configure:6226: checking for -fpie
configure:6232: arm-linux-gnueabi-gcc -fpie -xc /dev/null -S -o /dev/null
configure:6235: $? = 0
configure:6243: result: yes
configure:6248: checking for --hash-style option
configure:6259: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
			    -fPIC -shared -o conftest.so conftest.c
			    -Wl,--hash-style=both -nostdlib 1>&5
configure:6262: $? = 0
configure:6271: result: yes
configure:6279: checking for sufficient default -shared layout
configure:6298:   arm-linux-gnueabi-gcc  -shared -o conftest.so conftest.s 1>&5
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crti.o: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find -lc: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:6301: $? = 1
configure:6333: result: no
configure:6338: checking linker output format
configure:6352: result: elf32-littlearm
configure:6356: checking for -fno-toplevel-reorder -fno-section-anchors
configure:6366: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  -S -fno-toplevel-reorder -fno-section-anchors
			    conftest.c 1>&5
configure:6369: $? = 0
configure:6378: result: yes
configure:6387: checking for -fstack-protector
configure:6393: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  -Werror -fstack-protector -xc /dev/null -S -o /dev/null
configure:6396: $? = 0
configure:6404: result: yes
configure:6408: checking for -fgnu89-inline
configure:6423: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  -S -std=gnu99 -fgnu89-inline
			    -o conftest.s conftest.c 1>&5
conftest.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | main () { return 0;}
      | ^~~~
configure:6426: $? = 0
configure:6435: result: yes
configure:6444: checking whether cc puts quotes around section names
configure:6465: result: no
configure:6472: checking for assembler .weak directive
configure:6485: arm-linux-gnueabi-gcc  -c conftest.s 1>&5
configure:6488: $? = 0
configure:6496: result: yes
configure:6539: checking for ld --no-whole-archive
configure:6552: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
			    -nostdlib -nostartfiles -Wl,--no-whole-archive
			    -o conftest conftest.c 1>&5
conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | _start () {}
      | ^~~~~~
conftest.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | __throw () {}
      | ^~~~~~~
configure:6555: $? = 0
configure:6563: result: yes
configure:6569: checking for gcc -fexceptions
configure:6582: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  
			    -nostdlib -nostartfiles -fexceptions
			    -o conftest conftest.c 1>&5
conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | _start () {}
      | ^~~~~~
conftest.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | __throw () {}
      | ^~~~~~~
configure:6585: $? = 0
configure:6593: result: yes
configure:6599: checking for __builtin_memset
configure:6611: arm-linux-gnueabi-gcc -O3 -S conftest.c -o - | fgrep memset > /dev/null
configure:6614: $? = 0
configure:6623: result: no
configure:6630: checking for redirection of built-in functions
configure:6643: arm-linux-gnueabi-gcc -O3 -S conftest.c -o - | fgrep my_strstr > /dev/null
configure:6646: $? = 0
configure:6655: result: yes
configure:6661: checking for __thread
configure:6670: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  -c conftest.c >&5
configure:6673: $? = 0
configure:6681: result: yes
configure:6687: checking for tls_model attribute
configure:6696: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  -S -Werror conftest.c >&5
configure:6699: $? = 0
configure:6707: result: yes
configure:6713: checking for compiler option to disable generation of FMA instructions
configure:6721: arm-linux-gnueabi-gcc -ffp-contract=off -xc /dev/null -S -o /dev/null
configure:6724: $? = 0
configure:6730: result: -ffp-contract=off
configure:6763: checking if arm-linux-gnueabi-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))
configure:6776: arm-linux-gnueabi-gcc -g -O2 -fno-unwind-tables  -c conftest.c
configure:6779: $? = 0
configure:6786: result: yes
configure:6794: checking for libgd
configure:6814: arm-linux-gnueabi-gcc -o conftest -g -O2 -fno-unwind-tables     conftest.c  -lgd -lpng -lz -lm >&5
conftest.c:18:10: fatal error: gd.h: No such file or directory
   18 | #include <gd.h>
      |          ^~~~~~
compilation terminated.
configure:6814: $? = 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 HAVE_ASM_SET_DIRECTIVE 1
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| #include <gd.h>
| int
| main ()
| {
| gdImagePng (0, 0)
|   ;
|   return 0;
| }
configure:6827: result: no
configure:6836: checking for is_selinux_enabled in -lselinux
configure:6861: arm-linux-gnueabi-gcc -o conftest -g -O2 -fno-unwind-tables   conftest.c -lselinux   >&5
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crt1.o: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crti.o: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find -lselinux: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find -lc: No such file or directory
/opt/toolchains/bin/arm-linux-gnueabi-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:6861: $? = 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 HAVE_ASM_SET_DIRECTIVE 1
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_ASM_WEAK_DIRECTIVE 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:6870: result: no
configure:6997: checking size of long double
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7002: $? = 0
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
conftest.c: In function 'main':
conftest.c:22:12: error: size of array 'test_array' is negative
   22 | static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 0)];
      |            ^~~~~~~~~~
configure:7002: $? = 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 HAVE_ASM_SET_DIRECTIVE 1
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| /* none */
| int
| main ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
conftest.c: In function 'main':
conftest.c:22:12: error: size of array 'test_array' is negative
   22 | static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 1)];
      |            ^~~~~~~~~~
configure:7002: $? = 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 HAVE_ASM_SET_DIRECTIVE 1
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| /* none */
| int
| main ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
conftest.c: In function 'main':
conftest.c:22:12: error: size of array 'test_array' is negative
   22 | static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 3)];
      |            ^~~~~~~~~~
configure:7002: $? = 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 HAVE_ASM_SET_DIRECTIVE 1
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| /* none */
| int
| main ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
conftest.c: In function 'main':
conftest.c:22:12: error: size of array 'test_array' is negative
   22 | static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 7)];
      |            ^~~~~~~~~~
configure:7002: $? = 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 HAVE_ASM_SET_DIRECTIVE 1
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| /* none */
| int
| main ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 7)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7002: $? = 0
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7002: $? = 0
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7002: $? = 0
configure:7002: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7002: $? = 0
configure:7016: result: 8
configure:7030: checking for _FORTIFY_SOURCE predefine
configure:7049: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7049: $? = 0
configure:7056: result: no
configure:7063: checking whether arm-linux-gnueabi-gcc implicitly enables -fstack-protector
configure:7080: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7080: $? = 0
libc_undefs='foobar'
configure:7107: result: no
configure:7118: checking whether the linker provides working __ehdr_start
configure:7141: arm-linux-gnueabi-gcc -o conftest -g -O2 -fno-unwind-tables -fPIC   -nostdlib -nostartfiles -shared conftest.c  >&5
configure:7141: $? = 0
configure:7157: result: yes
configure:7167: checking for __builtin_trap with no external dependencies
configure:7184: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  conftest.c >&5
configure:7184: $? = 0
libc_undefs=''
configure:7198: result: yes
configure:7224: result: running configure fragment for sysdeps/unix/sysv/linux
configure:40: checking installed Linux kernel header files
configure:59: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  -nostdinc -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include-fixed -isystem /opt/toolchains/arm-linux-gnueabi/include conftest.c >&5
configure:59: $? = 0
configure:66: result: 2.6.32 or later
configure:100: checking for kernel header at least 4.1
configure:118: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  -nostdinc -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include-fixed -isystem /opt/toolchains/arm-linux-gnueabi/include conftest.c >&5
configure:118: $? = 0
configure:124: result: ok
configure:142: checking for linux/fanotify.h
configure:142: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  -nostdinc -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include-fixed -isystem /opt/toolchains/arm-linux-gnueabi/include conftest.c >&5
configure:142: $? = 0
configure:142: result: yes
configure:7224: result: running configure fragment for sysdeps/nptl
configure:13: checking for forced unwind support
configure:37: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables  -Dinhibit_libc=1 conftest.c >&5
configure:37: $? = 0
configure:45: result: yes
configure:52: checking for C cleanup handling
configure:72: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables -Werror -fexceptions  conftest.c >&5
configure:72: $? = 0
configure:79: result: yes
configure:7224: result: running configure fragment for sysdeps/gnu
configure:7224: result: running configure fragment for sysdeps/arm
configure:16: checking for grep that handles long lines and -e
configure:74: result: /usr/bin/grep
configure:79: checking for egrep
configure:141: result: /usr/bin/grep -E
configure:146: checking whether the compiler is using the ARM hard-float ABI
configure:167: result: no
configure:179: checking whether the build tools support the GNU descriptor TLS scheme
configure:197: arm-linux-gnueabi-gcc -c -g -O2 -fno-unwind-tables -mtls-dialect=gnu2  conftest.c >&5
configure:197: $? = 0
configure:205: result: yes
configure:215: checking whether PC-relative relocs in movw/movt work properly

Dynamic section at offset 0xfa0 contains 7 entries:
  Tag        Type                         Name/Value
 0x00000004 (HASH)                       0xb4
 0x6ffffef5 (GNU_HASH)                   0xc8
 0x00000005 (STRTAB)                     0x108
 0x00000006 (SYMTAB)                     0xe8
 0x0000000a (STRSZ)                      5 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000000 (NULL)                       0x0

There are no relocations in this file.
configure:256: result: yes
configure:266: 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 04000000                            ....

configure:302: result: yes
configure:7265: checking for old glibc 2.0.x headers
configure:7273: result: no
configure:7301: checking whether -fPIC is default
configure:7317: result: no
configure:7321: checking whether -fPIE is default
configure:7337: result: no
configure:7471: 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 ttc-mbp.local

config.status:936: creating config.make
config.status:936: creating Makefile
config.status:936: creating config.h
config.status:1110: executing default commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=aarch64-unknown-darwin
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=
ac_cv_env_CC_value=
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=aarch64-darwin
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-gnueabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-linux-gnueabi
ac_cv_header_linux_fanotify_h=yes
ac_cv_host=arm-unknown-linux-gnueabi
ac_cv_lib_selinux_is_selinux_enabled=no
ac_cv_objext=o
ac_cv_path_BASH_SHELL=/bin/bash
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_INSTALL_INFO=no
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AS=/opt/toolchains/bin/arm-linux-gnueabi-as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_BUILD_CC=gcc
ac_cv_prog_CC=arm-linux-gnueabi-gcc
ac_cv_prog_CXX=arm-linux-gnueabi-g++
ac_cv_prog_LD=/opt/toolchains/bin/arm-linux-gnueabi-ld
ac_cv_prog_MAKE=gnumake
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_NM=arm-linux-gnueabi-nm
ac_cv_prog_READELF=arm-linux-gnueabi-readelf
ac_cv_prog_SED=sed
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_sizeof_long_double=8
libc_cv_Bgroup=yes
libc_cv_arm_pcrel_movw=yes
libc_cv_arm_pcs_vfp=no
libc_cv_arm_tls_desc=yes
libc_cv_arm_tpoff_addend=yes
libc_cv_as_noexecstack=yes
libc_cv_asm_previous_directive=yes
libc_cv_asm_protected_directive=yes
libc_cv_asm_set_directive=yes
libc_cv_asm_unique_object=yes
libc_cv_asm_weak_directive=yes
libc_cv_broken_alias_attribute=no
libc_cv_broken_visibility_attribute=no
libc_cv_builtin_trap=yes
libc_cv_c_cleanup=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=no
libc_cv_dot_text=.text
libc_cv_ehdr_start=yes
libc_cv_fno_toplevel_reorder=yes
libc_cv_forced_unwind=yes
libc_cv_fpie=yes
libc_cv_friendly_stddef=yes
libc_cv_gcc___thread=yes
libc_cv_gcc_builtin_memset=no
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_exceptions=yes
libc_cv_gcc_static_libgcc=-static-libgcc
libc_cv_gcc_tls_model_attr=yes
libc_cv_gcc_unwind_find_fde=no
libc_cv_gnu89_inline=yes
libc_cv_hashstyle=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_idn=no
libc_cv_initfini_array=yes
libc_cv_ld_gnu_indirect_function=yes
libc_cv_ld_no_whole_archive=yes
libc_cv_linux2632='2.6.32 or later'
libc_cv_localstatedir='${prefix}/var'
libc_cv_need_minus_P=no
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_sysconfdir='${prefix}/etc'
libc_cv_use_default_link=no
libc_cv_visibility_attribute=yes
libc_cv_z_combreloc=no
libc_cv_z_execstack=yes
libc_cv_z_initfirst=yes
libc_cv_z_nodelete=yes
libc_cv_z_nodlopen=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AS='/opt/toolchains/bin/arm-linux-gnueabi-as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/bin/bash'
BISON='no'
BUILD_CC='gcc'
CC='arm-linux-gnueabi-gcc'
CFLAGS='-g -O2'
CPP='arm-linux-gnueabi-gcc -E'
CPPFLAGS=''
CPPUNDEFS=''
CXX=''
CXXFLAGS='-g -O2'
CXX_SYSINCLUDES=''
DEFINES=''
DEFS='-DHAVE_CONFIG_H'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='no'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/opt/toolchains/bin/arm-linux-gnueabi-ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='gnumake'
MAKEINFO=':'
MSGFMT='msgfmt'
NM='arm-linux-gnueabi-nm'
OBJCOPY='objcopy'
OBJDUMP='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-gnueabi-readelf'
RELEASE='stable'
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/sh'
SYSINCLUDES='-nostdinc -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include -isystem /opt/toolchains/lib/gcc/arm-linux-gnueabi/13.2.0/include-fixed -isystem /opt/toolchains/arm-linux-gnueabi/include'
VERSION='2.22'
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='aarch64-unknown-darwin'
build_alias='aarch64-darwin'
build_cpu='aarch64'
build_nscd='yes'
build_os='darwin'
build_pt_chown='no'
build_vendor='unknown'
cross_compiling='yes'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_lock_elision='no'
enable_werror='no'
exceptions='-fexceptions'
exec_prefix='${prefix}'
fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
force_install='yes'
gnu89_inline='-fgnu89-inline'
hardcoded_path_in_tests='no'
have_libaudit=''
have_libcap=''
have_selinux='no'
host='arm-unknown-linux-gnueabi'
host_alias='arm-linux-gnueabi'
host_cpu='arm'
host_os='linux-gnueabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script='no'
libc_cv_Bgroup='yes'
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_forced_unwind='yes'
libc_cv_fpie='yes'
libc_cv_gcc_static_libgcc='-static-libgcc'
libc_cv_gcc_unwind_find_fde='no'
libc_cv_hashstyle='yes'
libc_cv_localedir=''
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_ssp='yes'
libc_cv_sysconfdir='${prefix}/etc'
libc_cv_z_combreloc='no'
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='no'
old_glibc_headers='no'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
sizeof_long_double='8'
static=''
static_nss='no'
subdirs='  '
submachine=''
sysconfdir='${prefix}/etc'
sysdeps_add_ons=''
sysheaders='/opt/toolchains/arm-linux-gnueabi/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 sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic'
target_alias='arm-linux-gnueabi'
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 HAVE_ASM_SET_DIRECTIVE 1
#define HAVE_ASM_UNIQUE_OBJECT 1
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
#define NO_CTORS_DTORS_SECTIONS 1
#define HAVE_ASM_WEAK_DIRECTIVE 1
#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
#define SIZEOF_LONG_DOUBLE 8
#define HAVE_EHDR_START 1
#define HAVE_BUILTIN_TRAP 1
#define __LINUX_KERNEL_VERSION (4 * 65536 + 1 * 256 + 0)
#define __ABI_TAG_VERSION 4,1,0
#define HAVE_LINUX_FANOTIFY_H 1
#define HAVE_INLINED_SYSCALLS 1
#define HAVE_FORCED_UNWIND 1
#define PI_STATIC_AND_HIDDEN 1
#define ARM_PCREL_MOVW_OK 1
#define HAVE_IFUNC 1
#define USE_NSCD 1
#define USE_LDCONFIG 1

configure: exit 0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot build for arm-linux-gnueabi on macOS 14.3
  2024-01-27  6:34 Cannot build for arm-linux-gnueabi on macOS 14.3 William Tang
@ 2024-01-27 12:36 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2024-01-27 12:36 UTC (permalink / raw)
  To: William Tang via Libc-help; +Cc: William Tang

* William Tang via Libc-help:

> AR='ar'

This is probably the problem: it's not the ar from the
cross-toolchain.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-27 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-27  6:34 Cannot build for arm-linux-gnueabi on macOS 14.3 William Tang
2024-01-27 12:36 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).