Re: Fwd: Is it possible to build Single GCC Executable for armv5, armv6, armv7-{cortex-xx-{A,R,M}},armv8 etc.?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/11/2019 23:07, Israr Sayed wrote:
On Tue, Nov 12, 2019 at 10:00:08AM +0000, Richard Earnshaw (lists) wrote:
On 11/11/2019 17:49, Israr Sayed wrote:
As per your instructions i tried to build the GCC.I got the following errors:
/mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/ -B/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ -B/mnt/clfs/cross-tools/arm-linux-musleabihf/lib/ -isystem /mnt/clfs/cross-tools/arm-linux-musleabihf/include -isystem /mnt/clfs/cross-tools/arm-linux-musleabihf/sys-include    -g -O2 -mthumb -march=armv6s-m -mfloat-abi=soft -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fPIC -fno-inline -I. -I. -I../../../../.././gcc -I../../../../../../gcc-9.2.0/libgcc -I../../../../../../gcc-9.2.0/libgcc/. -I../../../../../../gcc-9.2.0/libgcc/../gcc -I../../../../../../gcc-9.2.0/libgcc/../include  -DHAVE_CC_TLS  -o _dvmd_lnx_s.o -MT _dvmd_lnx_s.o -MD -MP -MF _dvmd_lnx_s.dep -DSHARED -DL_dvmd_lnx -xassembler-with-cpp -c ../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S: Assembler messages:
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S:1482: Error: bad instruction `arm_func_start aeabi_idiv0'
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S:1483: Error: bad instruction `arm_func_start aeabi_ldiv0'
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S:1484: Error: selected processor does not support `stmfd sp!,{r1,lr}' in Thumb mode
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S:1495: Error: lo register required -- `ldmia sp!,{r1,pc}'
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S:1485: Error: invalid operands (.text and *UND* sections) for `-'
../../../../../../gcc-9.2.0/libgcc/config/arm/lib1funcs.S:1479: Error: can't resolve `.text' {.text section} - `__aeabi_ldiv0' {*UND* section}
/tmp/cc0Si52Z.s: Error: .size expression for __aeabi_ldiv0 does not evaluate to a constant
/tmp/cc0Si52Z.s: Error: .size expression for __aeabi_idiv0 does not evaluate to a constant
make[3]: *** [Makefile:488: _dvmd_lnx_s.o] Error 1
make[3]: Leaving directory '/mnt/clfs/sources/gcc-build/arm-linux-musleabihf/thumb/v6-m/nofp/libgcc'
make[2]: *** [Makefile:1210: multi-do] Error 1
make[2]: Leaving directory '/mnt/clfs/sources/gcc-build/arm-linux-musleabihf/libgcc'
make[1]: *** [Makefile:127: all-multi] Error 2
make[1]: Leaving directory '/mnt/clfs/sources/gcc-build/arm-linux-musleabihf/libgcc'
make: *** [Makefile:12499: all-target-libgcc] Error 2
----------------------------------------------------------
Config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

    $ ../gcc-9.2.0/configure --prefix=/mnt/clfs/cross-tools --build=x86_64-cross-linux-gnu --host=x86_64-cross-linux-gnu --target=arm-linux-musleabihf --with-sysroot=/mnt/clfs/cross-tools/arm-linux-musleabihf --disable-nls --disable-shared --without-headers --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap --disable-libssp --disable-libatomic --disable-libquadmath --disable-threads --enable-languages=c --enable-multilib --with-mpfr-include=/mnt/clfs/sources/gcc-build/../gcc-9.2.0/mpfr/src --with-mpfr-lib=/mnt/clfs/sources/gcc-build/mpfr/src/.libs --with-multilib-list=rmprofile


Sorry, I should have said that these multilib configs have only been tested
with bare metal tools (arm-none-eabi).  The error you are seeing is because
the Linux configurations assume that the Arm instruction set exists and on
M-profile devices this is not true.

Standard linux configurations also assume the presence of an MMU and no
M-profile devices support this.

R.


  So, both the 2 conditions i.e. ARM Instructions Set and presence of MMU, M and R Profile devices Lack.
  Onyly ARMv7-A Profile Devices have both the capabilities.
  So, My Question is ,Is it then possible to build the GCC with Multilib for A Profile devices,
  Using --with-multilib-list=aprofile ?


That should certainly work for bare-metal configurations (eg arm-none-eabi); that's the intended use case. It may work for arm-linux-gnueabi configurations as well, but I haven't tried that.

R.

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

hostname = hib
uname -m = x86_64
uname -r = 5.3.0-19-generic
uname -s = Linux
uname -v = #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019

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

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /mnt/clfs/cross-tools/bin
PATH: /bin
PATH: /usr/bin


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

configure:2348: checking build system type
configure:2362: result: x86_64-cross-linux-gnu
configure:2409: checking host system type
configure:2422: result: x86_64-cross-linux-gnu
configure:2442: checking target system type
configure:2455: result: arm-unknown-linux-musleabihf
configure:2509: checking for a BSD-compatible install
configure:2577: result: /bin/install -c
configure:2588: checking whether ln works
configure:2610: result: yes
configure:2614: checking whether ln -s works
configure:2618: result: yes
configure:2625: checking for a sed that does not truncate output
configure:2689: result: /bin/sed
configure:2698: checking for gawk
configure:2714: found /bin/gawk
configure:2725: result: gawk
configure:3257: checking for libitm support
configure:3267: result: yes
configure:3276: checking for libsanitizer support
configure:3286: result: yes
configure:3295: checking for libvtv support
configure:3305: result: yes
configure:3315: checking for libhsail-rt support
configure:3321: result: no
configure:3406: checking for libphobos support
configure:3416: result: yes
configure:4036: checking for x86_64-cross-linux-gnu-gcc
configure:4066: result: no
configure:4076: checking for gcc
configure:4092: found /bin/gcc
configure:4103: result: gcc
configure:4332: checking for C compiler version
configure:4341: gcc --version >&5
gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008
Copyright (C) 2019 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:4352: $? = 0
configure:4341: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.2.1-9ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)
configure:4352: $? = 0
configure:4341: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4352: $? = 1
configure:4341: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4352: $? = 1
configure:4372: checking whether the C compiler works
configure:4394: gcc    conftest.c  >&5
configure:4398: $? = 0
configure:4446: result: yes
configure:4449: checking for C compiler default output file name
configure:4451: result: a.out
configure:4457: checking for suffix of executables
configure:4464: gcc -o conftest    conftest.c  >&5
configure:4468: $? = 0
configure:4490: result:
configure:4512: checking whether we are cross compiling
configure:4520: gcc -o conftest    conftest.c  >&5
configure:4524: $? = 0
configure:4531: ./conftest
configure:4535: $? = 0
configure:4523: result: no
configure:4528: checking for suffix of object files
configure:4550: gcc -c   conftest.c >&5
configure:4554: $? = 0
configure:4575: result: o
configure:4579: checking whether we are using the GNU C compiler
configure:4598: gcc -c   conftest.c >&5
configure:4598: $? = 0
configure:4607: result: yes
configure:4616: checking whether gcc accepts -g
configure:4636: gcc -c -g  conftest.c >&5
configure:4636: $? = 0
configure:4677: result: yes
configure:4694: checking for gcc option to accept ISO C89
configure:4757: gcc  -c -g -O2  conftest.c >&5
configure:4757: $? = 0
configure:4770: result: none needed
configure:4804: checking for x86_64-cross-linux-gnu-g++
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-c++
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-gpp
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-aCC
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-CC
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-cxx
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-cc++
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-cl.exe
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-FCC
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-KCC
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-RCC
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-xlC_r
configure:4834: result: no
configure:4804: checking for x86_64-cross-linux-gnu-xlC
configure:4834: result: no
configure:4848: checking for g++
configure:4864: found /bin/g++
configure:4875: result: g++
configure:4902: checking for C++ compiler version
configure:4911: g++ --version >&5
g++ (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008
Copyright (C) 2019 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:4922: $? = 0
configure:4911: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.2.1-9ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)
configure:4922: $? = 0
configure:4911: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4922: $? = 1
configure:4911: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:4922: $? = 1
configure:4926: checking whether we are using the GNU C++ compiler
configure:4945: g++ -c   conftest.cpp >&5
configure:4945: $? = 0
configure:4954: result: yes
configure:4963: checking whether g++ accepts -g
configure:4983: g++ -c -g  conftest.cpp >&5
configure:4983: $? = 0
configure:5024: result: yes
configure:5073: checking whether g++ accepts -static-libstdc++ -static-libgcc
configure:5090: g++ -o conftest -g -O2   -static-libstdc++ -static-libgcc conftest.cpp  >&5
configure:5090: $? = 0
configure:5091: result: yes
configure:5115: checking for x86_64-cross-linux-gnu-gnatbind
configure:5145: result: no
configure:5155: checking for gnatbind
configure:5185: result: no
configure:5207: checking for x86_64-cross-linux-gnu-gnatmake
configure:5237: result: no
configure:5247: checking for gnatmake
configure:5277: result: no
configure:5296: checking whether compiler driver understands Ada
configure:5319: result: no
configure:5328: checking how to compare bootstrapped objects
configure:5353: result: cmp --ignore-initial=16 $$f1 $$f2
configure:5413: checking for objdir
configure:5428: result: .libs
configure:5976: checking for isl 0.15 or later
configure:5989: gcc -o conftest -g -O2  -I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I/mnt/clfs/sources/gcc-build/../gcc-9.2.0/mpfr/src -I$$s/mpc/src     -lisl -L$$r/$(HOST_SUBDIR)/gmp/.libs -L/mnt/clfs/sources/gcc-build/mpfr/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp conftest.c  -lisl -lgmp >&5
conftest.c:10:10: fatal error: isl/schedule.h: No such file or directory
     10 | #include <isl/schedule.h>
        |          ^~~~~~~~~~~~~~~~
compilation terminated.
configure:5989: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <isl/schedule.h>
| int
| main ()
| {
| isl_options_set_schedule_serialize_sccs (NULL, 0);
|   ;
|   return 0;
| }
configure:5996: result: no
configure:6000: result: required isl version is 0.15 or later
configure:7093: checking for default BUILD_CONFIG
configure:7125: result:
configure:7130: checking for --enable-vtable-verify
configure:7143: result: no
configure:7744: checking for bison
configure:7760: found /bin/bison
configure:7771: result: bison -y
configure:7791: checking for bison
configure:7807: found /bin/bison
configure:7818: result: bison
configure:7838: checking for gm4
configure:7868: result: no
configure:7838: checking for gnum4
configure:7868: result: no
configure:7838: checking for m4
configure:7854: found /bin/m4
configure:7865: result: m4
configure:7885: checking for flex
configure:7901: found /bin/flex
configure:7912: result: flex
configure:7933: checking for flex
configure:7949: found /bin/flex
configure:7960: result: flex
configure:7980: checking for makeinfo
configure:7996: found /bin/makeinfo
configure:8007: result: makeinfo
configure:8041: checking for expect
configure:8057: found /bin/expect
configure:8068: result: expect
configure:8090: checking for runtest
configure:8120: result: no
configure:8196: checking for x86_64-cross-linux-gnu-ar
configure:8226: result: no
configure:8235: checking for ar
configure:8251: found /bin/ar
configure:8262: result: ar
configure:8337: checking for x86_64-cross-linux-gnu-as
configure:8367: result: no
configure:8376: checking for as
configure:8392: found /bin/as
configure:8403: result: as
configure:8478: checking for x86_64-cross-linux-gnu-dlltool
configure:8508: result: no
configure:8517: checking for dlltool
configure:8547: result: no
configure:8619: checking for x86_64-cross-linux-gnu-ld
configure:8649: result: no
configure:8658: checking for ld
configure:8674: found /bin/ld
configure:8685: result: ld
configure:8760: checking for x86_64-cross-linux-gnu-lipo
configure:8790: result: no
configure:8799: checking for lipo
configure:8829: result: no
configure:8901: checking for x86_64-cross-linux-gnu-nm
configure:8931: result: no
configure:8940: checking for nm
configure:8956: found /bin/nm
configure:8967: result: nm
configure:9042: checking for x86_64-cross-linux-gnu-ranlib
configure:9072: result: no
configure:9081: checking for ranlib
configure:9097: found /bin/ranlib
configure:9108: result: ranlib
configure:9178: checking for x86_64-cross-linux-gnu-strip
configure:9208: result: no
configure:9217: checking for strip
configure:9233: found /bin/strip
configure:9244: result: strip
configure:9314: checking for x86_64-cross-linux-gnu-windres
configure:9344: result: no
configure:9353: checking for windres
configure:9383: result: no
configure:9455: checking for x86_64-cross-linux-gnu-windmc
configure:9485: result: no
configure:9494: checking for windmc
configure:9524: result: no
configure:9596: checking for x86_64-cross-linux-gnu-objcopy
configure:9626: result: no
configure:9635: checking for objcopy
configure:9651: found /bin/objcopy
configure:9662: result: objcopy
configure:9737: checking for x86_64-cross-linux-gnu-objdump
configure:9767: result: no
configure:9776: checking for objdump
configure:9792: found /bin/objdump
configure:9803: result: objdump
configure:9878: checking for x86_64-cross-linux-gnu-otool
configure:9908: result: no
configure:9917: checking for otool
configure:9947: result: no
configure:10019: checking for x86_64-cross-linux-gnu-readelf
configure:10049: result: no
configure:10058: checking for readelf
configure:10074: found /bin/readelf
configure:10085: result: readelf
configure:10199: checking for arm-linux-musleabihf-cc
configure:10229: result: no
configure:10199: checking for arm-linux-musleabihf-gcc
configure:10229: result: no
configure:10360: checking for arm-linux-musleabihf-c++
configure:10390: result: no
configure:10360: checking for arm-linux-musleabihf-g++
configure:10390: result: no
configure:10360: checking for arm-linux-musleabihf-cxx
configure:10390: result: no
configure:10360: checking for arm-linux-musleabihf-gxx
configure:10390: result: no
configure:10521: checking for arm-linux-musleabihf-gcc
configure:10551: result: no
configure:10677: checking for arm-linux-musleabihf-gfortran
configure:10707: result: no
configure:10838: checking for arm-linux-musleabihf-gccgo
configure:10868: result: no
configure:10999: checking for arm-linux-musleabihf-gdc
configure:11029: result: no
configure:11129: checking for ar
configure:11147: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ar
configure:11159: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ar
configure:11359: checking for as
configure:11377: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/as
configure:11389: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/as
configure:11589: checking for dlltool
configure:11622: result: no
configure:11700: checking for arm-linux-musleabihf-dlltool
configure:11730: result: no
configure:11819: checking for ld
configure:11837: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ld
configure:11849: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ld
configure:12049: checking for lipo
configure:12082: result: no
configure:12160: checking for arm-linux-musleabihf-lipo
configure:12190: result: no
configure:12279: checking for nm
configure:12297: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/nm
configure:12309: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/nm
configure:12509: checking for objcopy
configure:12527: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objcopy
configure:12539: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objcopy
configure:12739: checking for objdump
configure:12757: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objdump
configure:12769: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objdump
configure:12969: checking for otool
configure:13002: result: no
configure:13080: checking for arm-linux-musleabihf-otool
configure:13110: result: no
configure:13199: checking for ranlib
configure:13217: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ranlib
configure:13229: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ranlib
configure:13429: checking for readelf
configure:13447: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/readelf
configure:13459: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/readelf
configure:13659: checking for strip
configure:13677: found /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/strip
configure:13689: result: /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/strip
configure:13889: checking for windres
configure:13922: result: no
configure:14000: checking for arm-linux-musleabihf-windres
configure:14030: result: no
configure:14119: checking for windmc
configure:14152: result: no
configure:14230: checking for arm-linux-musleabihf-windmc
configure:14260: result: no
configure:14327: checking where to find the target ar
configure:14355: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:14369: checking where to find the target as
configure:14397: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:14411: checking where to find the target cc
configure:14434: result: just compiled
configure:14453: checking where to find the target c++
configure:14493: result: pre-installed
configure:14498: checking where to find the target c++ for libstdc++
configure:14538: result: pre-installed
configure:14543: checking where to find the target dlltool
configure:14580: result: pre-installed
configure:14585: checking where to find the target gcc
configure:14608: result: just compiled
configure:14627: checking where to find the target gfortran
configure:14667: result: pre-installed
configure:14672: checking where to find the target gccgo
configure:14712: result: pre-installed
configure:14717: checking where to find the target gdc
configure:14757: result: pre-installed
configure:14762: checking where to find the target ld
configure:14790: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:14804: checking where to find the target lipo
configure:14830: result: pre-installed
configure:14835: checking where to find the target nm
configure:14863: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:14877: checking where to find the target objcopy
configure:14905: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:14919: checking where to find the target objdump
configure:14947: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:14961: checking where to find the target otool
configure:14987: result: pre-installed
configure:14992: checking where to find the target ranlib
configure:15020: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:15034: checking where to find the target readelf
configure:15062: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:15076: checking where to find the target strip
configure:15104: result: pre-installed in /mnt/clfs/cross-tools/arm-linux-musleabihf/bin
configure:15118: checking where to find the target windres
configure:15155: result: pre-installed
configure:15160: checking where to find the target windmc
configure:15197: result: pre-installed
configure:15230: checking whether to enable maintainer-specific portions of Makefiles
configure:15239: result: no
configure:15474: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.69.  Invocation command line was

    CONFIG_FILES    =
    CONFIG_HEADERS  =
    CONFIG_LINKS    =
    CONFIG_COMMANDS =
    $ ./config.status

on hib

config.status:1016: creating Makefile

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

ac_cv_build=x86_64-cross-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GDC_FOR_TARGET_set=
ac_cv_env_GDC_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_OTOOL_FOR_TARGET_set=
ac_cv_env_OTOOL_FOR_TARGET_value=
ac_cv_env_OTOOL_set=
ac_cv_env_OTOOL_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-cross-linux-gnu
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-cross-linux-gnu
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-linux-musleabihf
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-cross-linux-gnu
ac_cv_objext=o
ac_cv_path_AR_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ar
ac_cv_path_AS_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/as
ac_cv_path_LD_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ld
ac_cv_path_NM_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/nm
ac_cv_path_OBJCOPY_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objcopy
ac_cv_path_OBJDUMP_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objdump
ac_cv_path_RANLIB_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ranlib
ac_cv_path_READELF_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/readelf
ac_cv_path_SED=/bin/sed
ac_cv_path_STRIP_FOR_TARGET=/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/strip
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_EXPECT=expect
ac_cv_prog_FLEX=flex
ac_cv_prog_LD=ld
ac_cv_prog_LEX=flex
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_READELF=readelf
ac_cv_prog_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=arm-unknown-linux-musleabihf
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_isl=no
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/mnt/clfs/cross-tools/libexec/gcc/arm-linux-musleabihf/9.2.0:/mnt/clfs/cross-tools/libexec/gcc/arm-linux-musleabihf:/usr/lib/gcc/arm-linux-musleabihf/9.2.0:/usr/lib/gcc/arm-linux-musleabihf:/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/arm-linux-musleabihf/9.2.0:/mnt/clfs/cross-tools/arm-linux-musleabihf/bin:
gcc_cv_tool_prefix=/mnt/clfs/cross-tools
lt_cv_objdir=.libs

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

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/as'
AWK='gawk'
BISON='bison'
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='arm-linux-musleabihf-c++'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DLT_OBJDIR=\".libs/\"'
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='arm-linux-musleabihf-dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GDB_TK=''
GDC_FOR_BUILD='$(GDC)'
GDC_FOR_TARGET='arm-linux-musleabihf-gdc'
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='arm-linux-musleabihf-gfortran'
GNATBIND='no'
GNATMAKE='no'
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET='arm-linux-musleabihf-gccgo'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ld'
LEX='flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='arm-linux-musleabihf-lipo'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/nm'
OBJCOPY='objcopy'
OBJCOPY_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/objdump'
OBJEXT='o'
OTOOL='otool'
OTOOL_FOR_TARGET='arm-linux-musleabihf-otool'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ranlib'
RAW_CXX_FOR_TARGET='arm-linux-musleabihf-c++'
READELF='readelf'
READELF_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/readelf'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SED='/bin/sed'
SHELL='/bin/bash'
STRIP='strip'
STRIP_FOR_TARGET='/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-9.2.0/configure --prefix=/mnt/clfs/cross-tools --build=x86_64-cross-linux-gnu --host=x86_64-cross-linux-gnu --target=arm-linux-musleabihf --with-sysroot=/mnt/clfs/cross-tools/arm-linux-musleabihf --disable-nls --disable-shared --without-headers --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap --disable-libssp --disable-libatomic --disable-libquadmath --disable-threads --enable-languages=c --enable-multilib --with-mpfr-include=/mnt/clfs/sources/gcc-build/../gcc-9.2.0/mpfr/src --with-mpfr-lib=/mnt/clfs/sources/gcc-build/mpfr/src/.libs --with-multilib-list=rmprofile'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='arm-linux-musleabihf-windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='arm-linux-musleabihf-windres'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-cross-linux-gnu'
build_alias='x86_64-cross-linux-gnu'
build_configargs=' --cache-file=./config.cache '\''--prefix=/mnt/clfs/cross-tools'\'' '\''--with-sysroot=/mnt/clfs/cross-tools/arm-linux-musleabihf'\'' '\''--disable-nls'\'' '\''--disable-shared'\'' '\''--without-headers'\'' '\''--with-newlib'\'' '\''--disable-decimal-float'\'' '\''--disable-libgomp'\'' '\''--disable-libmudflap'\'' '\''--disable-libssp'\'' '\''--disable-libatomic'\'' '\''--disable-libquadmath'\'' '\''--disable-threads'\'' '\''--enable-multilib'\'' '\''--with-mpfr-include=/mnt/clfs/sources/gcc-build/../gcc-9.2.0/mpfr/src'\'' '\''--with-mpfr-lib=/mnt/clfs/sources/gcc-build/mpfr/src/.libs'\'' '\''--with-multilib-list=rmprofile'\'' '\''--enable-languages=c,lto'\'' --program-transform-name='\''s&^&arm-linux-musleabihf-&'\'' --disable-option-checking'
build_configdirs=' libiberty libcpp fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-cross-linux-gnu'
build_noncanonical='x86_64-cross-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-cross-linux-gnu'
build_tooldir='${exec_prefix}/arm-linux-musleabihf'
build_vendor='cross'
compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/*tools/*'
configdirs=' intl libiberty zlib libbacktrace libcpp libdecnumber gmp mpfr mpc fixincludes gcc libcc1 lto-plugin'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extra_host_libiberty_configure_flags='--enable-shared'
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
get_gcc_base_ver='cat'
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I/mnt/clfs/sources/gcc-build/../gcc-9.2.0/mpfr/src -I$$s/mpc/src '
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L/mnt/clfs/sources/gcc-build/mpfr/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp'
host='x86_64-cross-linux-gnu'
host_alias='x86_64-cross-linux-gnu'
host_configargs=' --cache-file=./config.cache  '\''--prefix=/mnt/clfs/cross-tools'\'' '\''--with-sysroot=/mnt/clfs/cross-tools/arm-linux-musleabihf'\'' '\''--disable-nls'\'' '\''--disable-shared'\'' '\''--without-headers'\'' '\''--with-newlib'\'' '\''--disable-decimal-float'\'' '\''--disable-libgomp'\'' '\''--disable-libmudflap'\'' '\''--disable-libssp'\'' '\''--disable-libatomic'\'' '\''--disable-libquadmath'\'' '\''--disable-threads'\'' '\''--enable-multilib'\'' '\''--with-mpfr-include=/mnt/clfs/sources/gcc-build/../gcc-9.2.0/mpfr/src'\'' '\''--with-mpfr-lib=/mnt/clfs/sources/gcc-build/mpfr/src/.libs'\'' '\''--with-multilib-list=rmprofile'\'' '\''--enable-languages=c,lto'\'' --program-transform-name='\''s&^&arm-linux-musleabihf-&'\'' --disable-option-checking'
host_cpu='x86_64'
host_noncanonical='x86_64-cross-linux-gnu'
host_os='linux-gnu'
host_shared='no'
host_subdir='.'
host_vendor='cross'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags='-static-libstdc++ -static-libgcc'
poststage1_libs=''
prefix='/mnt/clfs/cross-tools'
program_transform_name='s&^&arm-linux-musleabihf-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c,lto'
stage1_ldflags='-static-libstdc++ -static-libgcc'
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='arm-unknown-linux-musleabihf'
target_alias='arm-linux-musleabihf'
target_configargs='--cache-file=./config.cache --with-cross-host=x86_64-cross-linux-gnu   '\''--prefix=/mnt/clfs/cross-tools'\'' '\''--with-sysroot=/mnt/clfs/cross-tools/arm-linux-musleabihf'\'' '\''--disable-nls'\'' '\''--disable-shared'\'' '\''--without-headers'\'' '\''--with-newlib'\'' '\''--disable-decimal-float'\'' '\''--disable-libgomp'\'' '\''--disable-libmudflap'\'' '\''--disable-libssp'\'' '\''--disable-libatomic'\'' '\''--disable-libquadmath'\'' '\''--disable-threads'\'' '\''--enable-multilib'\'' '\''--with-multilib-list=rmprofile'\'' '\''--enable-languages=c,lto'\'' --program-transform-name='\''s&^&arm-linux-musleabihf-&'\'' --disable-option-checking'
target_configdirs=' libgcc'
target_cpu='arm'
target_noncanonical='arm-linux-musleabihf'
target_os='linux-musleabihf'
target_subdir='arm-linux-musleabihf'
target_vendor='unknown'
tooldir='${exec_prefix}/arm-linux-musleabihf'

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='/dev/null'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../gcc-9.2.0/config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LT_OBJDIR ".libs/"

configure: exit 0

What could be the problem?
---------------------------------------------------------------
On Mon, Nov 11, 2019 at 01:42:43PM +0000, Richard Earnshaw (lists) wrote:
On 11/11/2019 13:33, sayed israr wrote:
---------- Forwarded message ---------
From: Israr Sayed <sd.israr@xxxxxxxxx>
Date: Mon, Nov 11, 2019 at 5:38 PM
Subject: Re: Is it possible to build Single GCC Executable for armv5,
armv6, armv7-{cortex-xx-{A,R,M}},armv8 etc.?
To: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>


I am building GCC from sources.Where i can configure it with 2 ways:
(1) --with-arch  --with-cpu --with-fpu --with-float options .
(2) --with-multilib-list= .
In --with-multilib-list, we can configure for various combinations of
armv*-*-*.
For example, I want to build gcc for with arch = armv7, armv7-m, armv7e-m,
with float = hard, softfp, soft.
    with fpu = fpv, fpv4, fpv4-d16 etc..
whereas if in configure i mention --with-arch --with-fpu --with-float.That
will build GCC for those options only.
I have a prebuilt arm GCC binary for STM32F controllers, which is built for
whole range of armv7-M, armv7e-m along with FPUs.
there configure options show --with-multilib-list=rmprofile.
rmprofile is the multilib option for configure.Which is exactly what
gcc/config/arm/t-rmprofile file is about.
I hope i can explain my question better.

You can configure the compiler with --with-multlib-list=xxx

where xxx is any of "aprofile", "rmprofile" and "aprofile,rmprofile"

If you do this, DO NOT specify any of --with-fpu, --with-cpu, --with-tune or
--with-arch.

Be warned, the full set of multilibs is LARGE.  It requires a fast machine
and/or a lot of time to build them all.

You can, of course, edit any of the files - the GPL gives you that right,
but if you do so, you're most likely on your own.  The multilib
configurations are complex and rely heavily on GNU Makefile trickery to
express all the required combinations.

R.

------------------------------------------------------

On Mon, Nov 11, 2019 at 11:40:39AM +0000, Jonathan Wakely wrote:
On Sun, 10 Nov 2019 at 11:36, Israr Sayed <sd.israr@xxxxxxxxx> wrote:

Digging into the sources of GCC I noticed in files gcc/config/arm/t-*,
There are multiple arm target options.

Reading [GCC internal Manual], These are called Target Makefile
Fragments, which will be included in main Makefile, like MULTILIB_OPTIONS,
MULTILIB_DIRNAMES, MULTILIB_MATCHES, MULTILIB_REQUIRED, MULTILIB_REUSE,
MULTILIB_EXTRA_OPTS, MULTILIB_OSDIRNAMES, MULTIARCH_DIRNAME.

What I am not able to understand that how to bring it in at the time of
configure.Which option to choose?

More over is it possible to edit those t-* files as per the requirement
and how?
Please Help.

I don't understand your question. Your email's subject talks about a
single GCC executable for multiple ARM variants, which is supported
automatically. When you configure GCC for an ARM target you can select
the specific processor type using the -march and/or -mcpu options. See
the documentation of command-line options in the GCC manual.

You don't need to do anything special to use the target makefile
fragments, they're used automatically, as needed.








[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux