public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "patrick.oppenlander at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/103676] internal compiler error: in extract_constrain_insn, at recog.c:2671
Date: Mon, 13 Dec 2021 22:56:37 +0000	[thread overview]
Message-ID: <bug-103676-4-i6rGSCqHdl@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103676-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103676

--- Comment #5 from Patrick Oppenlander <patrick.oppenlander at gmail dot com> ---
I'm a little stuck with trying to reduce this.

The instructions linked say to look at "@/tmp/ccXXXXX" to get a list of object
files of interest. In this case the lto1 invocation which is failing only has
one object file in the command file @apex/sys/apex.elf.ltrans1.ltrans.args.0:

% cat apex/sys/apex.elf.ltrans1.ltrans.args.0
apex/sys/apex.elf.ltrans1.o

Am I missing something?

Here's the complete output with '-v -Wl,-debug -save-temps':

armv7em-motec_imxrt_gnu-linux-musleabihf-g++: warning: '-pipe' ignored because
'-save-temps' specified
Using built-in specs.
COLLECT_GCC=armv7em-motec_imxrt_gnu-linux-musleabihf-g++
COLLECT_LTO_WRAPPER=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto-wrapper
Target: armv7em-motec_imxrt_gnu-linux-musleabihf
Configured with: ../src_gcc/configure --enable-languages=c,c++
--with-float=hard CFLAGS='-g0 -Os' CXXFLAGS='-g0 -Os' LDFLAGS=-s --disable-nls
--with-debug-prefix-map=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf=
--enable-languages=c,c++ --disable-libquadmath --disable-decimal-float
--with-cpu=cortex-m7 --enable-default-pie
--enable-cxx-flags=-ffunction-sections --disable-bootstrap --disable-assembly
--disable-werror --target=armv7em-motec_imxrt_gnu-linux-musleabihf --prefix=
--libdir=/lib --disable-multilib
--with-sysroot=/armv7em-motec_imxrt_gnu-linux-musleabihf --enable-tls
--disable-libmudflap --disable-libsanitizer --disable-gnu-indirect-function
--disable-libmpx --enable-initfini-array --enable-libstdcxx-time=rt
--with-build-sysroot=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_sysroot
AR_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ar
AS_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/gas/as-new
LD_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/ld/ld-new
NM_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/nm-new
OBJCOPY_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objcopy
OBJDUMP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objdump
RANLIB_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ranlib
READELF_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/readelf
STRIP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/strip-new
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (GCC) 
COMPILER_PATH=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/
LIBRARY_PATH=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mcpu=cortex-m7' '-mthumb' '-ggdb'
'-pipe' '-Wall' '-O2' '-flto' '-fuse-linker-plugin' '-I'
'/home/patrick/src/motec/adr2/include' '-Wframe-larger-than=384'
'-Wframe-larger-than=384' '-Wundef' '-fno-pie' '-masm-syntax-unified'
'-mslow-flash-data' '-nostdinc++' '-fno-exceptions' '-std=gnu++20' '-D'
'KERNEL' '-D' '_GNU_SOURCE' '-fno-use-cxa-atexit' '-o' 'apex/sys/apex.elf' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu' '-mlibarch=armv7e-m+fp.dp'
'-march=armv7e-m+fp.dp' '-dumpdir' 'apex/sys/apex.elf.'

/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/collect2
-plugin
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/liblto_plugin.so
-plugin-opt=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto-wrapper
-plugin-opt=-fresolution=apex/sys/apex.elf.res -flto
--sysroot=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf
-Bstatic -X -m armelf_linux_eabi -o apex/sys/apex.elf -z max-page-size=32
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/lib
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf/lib
-debug apex/sys/fs/mount.o apex/sys/fs/pipe.o apex/sys/fs/syscalls.o
apex/sys/fs/util/dirbuf_add.o apex/sys/fs/vfs.o apex/sys/fs/vnode.o
apex/sys/kern/clone.o apex/sys/kern/debug.o apex/sys/kern/dma.o
apex/sys/kern/elf_load.o apex/sys/kern/exec.o apex/sys/kern/irq.o
apex/sys/kern/main.o apex/sys/kern/prctl.o apex/sys/kern/proc.o
apex/sys/kern/sch.o apex/sys/kern/sig.o apex/sys/kern/syscall_table.o
apex/sys/kern/syscalls.o apex/sys/kern/syslog.o apex/sys/kern/task.o
apex/sys/kern/thread.o apex/sys/kern/timer.o apex/sys/lib/crypto/sha256.o
apex/sys/lib/errno.o apex/sys/lib/jhash3.o apex/sys/lib/queue.o
apex/sys/lib/raise.o apex/sys/lib/string_utils.o apex/sys/mem/access.o
apex/sys/mem/kmem.o apex/sys/mem/page.o apex/sys/mem/vm.o apex/sys/sync/cond.o
apex/sys/sync/futex.o apex/sys/sync/mutex.o apex/sys/sync/rwlock.o
apex/sys/sync/semaphore.o apex/sys/sync/spinlock.o apex/sys/mem/untranslated.o
apex/sys/fs/arfs/vnops.o apex/sys/fs/devfs/vnops.o apex/sys/fs/ramfs/vfsops.o
apex/sys/fs/ramfs/vnops.o apex/sys/dev/bootdisk/bootdisk.o
apex/sys/dev/console/console.o apex/sys/dev/fsl/gpt-systick/gpt-systick.o
apex/sys/dev/fsl/imx-usbphy/imx-usbphy.o
apex/sys/dev/fsl/imxrt10xx-gpio/imxrt10xx-gpio.o
apex/sys/dev/fsl/lpuart/driver.o apex/sys/dev/fsl/lpuart/early.o
apex/sys/dev/fsl/lpuart/lpuart.o apex/sys/dev/fsl/usb2-udc/usb2-udc.o
apex/sys/dev/fsl/usdhc/usdhc.o apex/sys/dev/gpio/controller.o
apex/sys/dev/gpio/ref.o apex/sys/dev/mmc/command.o apex/sys/dev/mmc/device.o
apex/sys/dev/mmc/host.o apex/sys/dev/mmc/mmc.o apex/sys/dev/mmc/mmc_block.o
apex/sys/dev/mmc/mmc_device.o apex/sys/dev/mmc/sd.o apex/sys/dev/mmc/sd_block.o
apex/sys/dev/mmc/sd_card.o apex/sys/dev/mmc/sdio.o
apex/sys/dev/nxp/imxrt10xx-ocotp/imxrt10xx-ocotp.o
apex/sys/dev/nxp/imxrt10xx-pit/imxrt10xx-pit.o
apex/sys/dev/nxp/imxrt10xx-rtwdog/imxrt10xx-rtwdog.o
apex/sys/dev/nxp/imxrt10xx-trng/imxrt10xx-trng.o
apex/sys/dev/nxp/imxrt10xx-xbara/imxrt10xx-xbara.o
apex/sys/dev/regulator/voltage/regulator.o
apex/sys/dev/regulator/voltage/fixed/fixed.o
apex/sys/dev/usb/string_descriptor.o apex/sys/dev/usb/gadget/composite.o
apex/sys/dev/usb/gadget/configuration.o apex/sys/dev/usb/gadget/device.o
apex/sys/dev/usb/gadget/function.o apex/sys/dev/usb/gadget/gadget.o
apex/sys/dev/usb/gadget/transaction.o apex/sys/dev/usb/gadget/udc.o
apex/sys/dev/usb/gadget/function/cdc_acm/cdc_acm.o
apex/sys/dev/usb/gadget/function/cdc_acm/init.o apex/sys/dev/null/null.o
apex/sys/dev/zero/zero.o apex/sys/dev/tty/tty.o apex/sys/dev/block/device.o
apex/sys/arch/arm/v7em/arch.o apex/sys/arch/arm/v7em/atomic.o
apex/sys/arch/arm/v7em/cache.o apex/sys/arch/arm/v7em/context.o
apex/sys/arch/arm/v7em/emulate.o apex/sys/arch/arm/v7em/exception.o
apex/sys/arch/arm/v7em/interrupt.o apex/sys/arch/arm/v7em/io.o
apex/sys/arch/arm/v7em/locore.o apex/sys/arch/arm/v7em/syscall.o
apex/sys/arch/arm/v7em/mpu.o dev/adr2/adr2.o dev/adr2_pinmux/adr2_pinmux.o
dev/can/can.o dev/fsl/flexcan/flexcan.o dev/fsl/lpspi/fsl_lpspi.o
dev/fsl/lpspi/lpspi.o dev/fsl/qtimer/qtimer.o
dev/nxp/imxrt-flexcan/imxrt-flexcan.o dev/nxp/imxrt10xx-adc/imxrt10xx-adc.o
dev/nxp/imxrt10xx-adc-etc/imxrt10xx-adc-etc.o
dev/nxp/imxrt10xx-tempmon/imxrt10xx-tempmon.o dev/panic_buffer/panic_buffer.o
dev/rv3149/rv3149_init.o dev/rv3149/rv3149_if.o dev/rv3149/rv3149_fs.o
dev/secure/secure.o dev/sti_l9663/l9663_init.o dev/sti_l9663/l9663_dev.o
dev/sti_l9663/l9663_dpc.o dev/sti_l9663/l9663_if.o dev/sti_l9663/l9663_fs.o
dev/sti_l9663/l9663_util.o dev/sti_l9663/l9663_ring.o
dev/sti_l9663/l9663_crc_3.o dev/sti_l9663/psi5_crc_3.o
apex/cpu/nxp/imxrt10xx/sys/cache.o machine/adr2/sys/machine.o
apex/libc++/libc++.a apex/libcxxrt/libcxxrt.a apex/libc/libc.a
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/libgcc.a
--gc-sections -T /home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld
Convert string
'/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/'
into prefixes, separator = ':'
  - add prefix:
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/
  - add prefix:
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/
  - add prefix:
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/
Convert string
'/home/patrick/bin:/opt/cross/aarch64-linux-musl/bin:/opt/cross/arm-cdd-linux-musleabi/bin:/opt/cross/arm_cortex_m0-eabi-newlib/bin:/opt/cross/arm-linux-musleabi/bin:/opt/cross/arm-none-eabi/bin:/opt/cross/armv6-linux-musleabihf/bin:/opt/cross/armv7em-linux-musleabihf/bin:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin:/opt/cross/armv7m-linux-musleabi/bin:/opt/cross/m32c-elf/bin:/opt/cross/m68k-elf/bin:/opt/cross/musl-clang/bin:/opt/cross/powerpc-eabispe/bin:/opt/cross/powerpc-prex-eabispe/bin:/opt/cross/riscv32-linux-musl/bin:/opt/cross/riscv32-linux-muslsf/bin:/opt/cross/riscv32-linux-muslsp/bin:/opt/cross/sh2eb-linux-musl/bin:/opt/cross/x86_64-linux-musl/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl'
into prefixes, separator = ':'
  - add prefix: /home/patrick/bin/
  - add prefix: /opt/cross/aarch64-linux-musl/bin/
  - add prefix: /opt/cross/arm-cdd-linux-musleabi/bin/
  - add prefix: /opt/cross/arm_cortex_m0-eabi-newlib/bin/
  - add prefix: /opt/cross/arm-linux-musleabi/bin/
  - add prefix: /opt/cross/arm-none-eabi/bin/
  - add prefix: /opt/cross/armv6-linux-musleabihf/bin/
  - add prefix: /opt/cross/armv7em-linux-musleabihf/bin/
  - add prefix: /opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/
  - add prefix: /opt/cross/armv7m-linux-musleabi/bin/
  - add prefix: /opt/cross/m32c-elf/bin/
  - add prefix: /opt/cross/m68k-elf/bin/
  - add prefix: /opt/cross/musl-clang/bin/
  - add prefix: /opt/cross/powerpc-eabispe/bin/
  - add prefix: /opt/cross/powerpc-prex-eabispe/bin/
  - add prefix: /opt/cross/riscv32-linux-musl/bin/
  - add prefix: /opt/cross/riscv32-linux-muslsf/bin/
  - add prefix: /opt/cross/riscv32-linux-muslsp/bin/
  - add prefix: /opt/cross/sh2eb-linux-musl/bin/
  - add prefix: /opt/cross/x86_64-linux-musl/bin/
  - add prefix: /usr/local/sbin/
  - add prefix: /usr/local/bin/
  - add prefix: /usr/bin/
  - add prefix: /usr/lib/jvm/default/bin/
  - add prefix: /usr/bin/site_perl/
  - add prefix: /usr/bin/vendor_perl/
  - add prefix: /usr/bin/core_perl/
Looking for 'real-ld'
Looking for 'collect-ld'
Looking for 'ld'
Looking for 'gnm'
Looking for 'armv7em-motec_imxrt_gnu-linux-musleabihf-gnm'
Looking for 'nm'
Looking for 'gstrip'
Looking for 'armv7em-motec_imxrt_gnu-linux-musleabihf-gstrip'
Looking for 'strip'
Looking for 'armv7em-motec_imxrt_gnu-linux-musleabihf-g++'
Looking for 'armv7em-motec_imxrt_gnu-linux-musleabihf-g++'
collect2 version 11.2.0
ld_file_name        =
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/ld
c_file_name         =
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/armv7em-motec_imxrt_gnu-linux-musleabihf-g++
nm_file_name        =
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/nm
strip_file_name     =
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/strip
c_file              = apex/sys/apex.elf.cdtor.c
o_file              = apex/sys/apex.elf.cdtor.o
COLLECT_GCC_OPTIONS = '-v' '-save-temps' '-mcpu=cortex-m7' '-mthumb' '-ggdb'
'-pipe' '-Wall' '-O2' '-flto' '-fuse-linker-plugin' '-I'
'/home/patrick/src/motec/adr2/include' '-Wframe-larger-than=384'
'-Wframe-larger-than=384' '-Wundef' '-fno-pie' '-masm-syntax-unified'
'-mslow-flash-data' '-nostdinc++' '-fno-exceptions' '-std=gnu++20' '-D'
'KERNEL' '-D' '_GNU_SOURCE' '-fno-use-cxa-atexit' '-o' 'apex/sys/apex.elf' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu' '-mlibarch=armv7e-m+fp.dp'
'-march=armv7e-m+fp.dp' '-dumpdir' 'apex/sys/apex.elf.'
COLLECT_GCC         = armv7em-motec_imxrt_gnu-linux-musleabihf-g++
COMPILER_PATH       =
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/
LIBRARY_PATH        =
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/

/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/ld
-plugin
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/liblto_plugin.so
-plugin-opt=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto-wrapper
-plugin-opt=-fresolution=apex/sys/apex.elf.res
--sysroot=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf
-Bstatic -X -m armelf_linux_eabi -o apex/sys/apex.elf -z max-page-size=32
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/lib
-L/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf/lib
apex/sys/fs/mount.o apex/sys/fs/pipe.o apex/sys/fs/syscalls.o
apex/sys/fs/util/dirbuf_add.o apex/sys/fs/vfs.o apex/sys/fs/vnode.o
apex/sys/kern/clone.o apex/sys/kern/debug.o apex/sys/kern/dma.o
apex/sys/kern/elf_load.o apex/sys/kern/exec.o apex/sys/kern/irq.o
apex/sys/kern/main.o apex/sys/kern/prctl.o apex/sys/kern/proc.o
apex/sys/kern/sch.o apex/sys/kern/sig.o apex/sys/kern/syscall_table.o
apex/sys/kern/syscalls.o apex/sys/kern/syslog.o apex/sys/kern/task.o
apex/sys/kern/thread.o apex/sys/kern/timer.o apex/sys/lib/crypto/sha256.o
apex/sys/lib/errno.o apex/sys/lib/jhash3.o apex/sys/lib/queue.o
apex/sys/lib/raise.o apex/sys/lib/string_utils.o apex/sys/mem/access.o
apex/sys/mem/kmem.o apex/sys/mem/page.o apex/sys/mem/vm.o apex/sys/sync/cond.o
apex/sys/sync/futex.o apex/sys/sync/mutex.o apex/sys/sync/rwlock.o
apex/sys/sync/semaphore.o apex/sys/sync/spinlock.o apex/sys/mem/untranslated.o
apex/sys/fs/arfs/vnops.o apex/sys/fs/devfs/vnops.o apex/sys/fs/ramfs/vfsops.o
apex/sys/fs/ramfs/vnops.o apex/sys/dev/bootdisk/bootdisk.o
apex/sys/dev/console/console.o apex/sys/dev/fsl/gpt-systick/gpt-systick.o
apex/sys/dev/fsl/imx-usbphy/imx-usbphy.o
apex/sys/dev/fsl/imxrt10xx-gpio/imxrt10xx-gpio.o
apex/sys/dev/fsl/lpuart/driver.o apex/sys/dev/fsl/lpuart/early.o
apex/sys/dev/fsl/lpuart/lpuart.o apex/sys/dev/fsl/usb2-udc/usb2-udc.o
apex/sys/dev/fsl/usdhc/usdhc.o apex/sys/dev/gpio/controller.o
apex/sys/dev/gpio/ref.o apex/sys/dev/mmc/command.o apex/sys/dev/mmc/device.o
apex/sys/dev/mmc/host.o apex/sys/dev/mmc/mmc.o apex/sys/dev/mmc/mmc_block.o
apex/sys/dev/mmc/mmc_device.o apex/sys/dev/mmc/sd.o apex/sys/dev/mmc/sd_block.o
apex/sys/dev/mmc/sd_card.o apex/sys/dev/mmc/sdio.o
apex/sys/dev/nxp/imxrt10xx-ocotp/imxrt10xx-ocotp.o
apex/sys/dev/nxp/imxrt10xx-pit/imxrt10xx-pit.o
apex/sys/dev/nxp/imxrt10xx-rtwdog/imxrt10xx-rtwdog.o
apex/sys/dev/nxp/imxrt10xx-trng/imxrt10xx-trng.o
apex/sys/dev/nxp/imxrt10xx-xbara/imxrt10xx-xbara.o
apex/sys/dev/regulator/voltage/regulator.o
apex/sys/dev/regulator/voltage/fixed/fixed.o
apex/sys/dev/usb/string_descriptor.o apex/sys/dev/usb/gadget/composite.o
apex/sys/dev/usb/gadget/configuration.o apex/sys/dev/usb/gadget/device.o
apex/sys/dev/usb/gadget/function.o apex/sys/dev/usb/gadget/gadget.o
apex/sys/dev/usb/gadget/transaction.o apex/sys/dev/usb/gadget/udc.o
apex/sys/dev/usb/gadget/function/cdc_acm/cdc_acm.o
apex/sys/dev/usb/gadget/function/cdc_acm/init.o apex/sys/dev/null/null.o
apex/sys/dev/zero/zero.o apex/sys/dev/tty/tty.o apex/sys/dev/block/device.o
apex/sys/arch/arm/v7em/arch.o apex/sys/arch/arm/v7em/atomic.o
apex/sys/arch/arm/v7em/cache.o apex/sys/arch/arm/v7em/context.o
apex/sys/arch/arm/v7em/emulate.o apex/sys/arch/arm/v7em/exception.o
apex/sys/arch/arm/v7em/interrupt.o apex/sys/arch/arm/v7em/io.o
apex/sys/arch/arm/v7em/locore.o apex/sys/arch/arm/v7em/syscall.o
apex/sys/arch/arm/v7em/mpu.o dev/adr2/adr2.o dev/adr2_pinmux/adr2_pinmux.o
dev/can/can.o dev/fsl/flexcan/flexcan.o dev/fsl/lpspi/fsl_lpspi.o
dev/fsl/lpspi/lpspi.o dev/fsl/qtimer/qtimer.o
dev/nxp/imxrt-flexcan/imxrt-flexcan.o dev/nxp/imxrt10xx-adc/imxrt10xx-adc.o
dev/nxp/imxrt10xx-adc-etc/imxrt10xx-adc-etc.o
dev/nxp/imxrt10xx-tempmon/imxrt10xx-tempmon.o dev/panic_buffer/panic_buffer.o
dev/rv3149/rv3149_init.o dev/rv3149/rv3149_if.o dev/rv3149/rv3149_fs.o
dev/secure/secure.o dev/sti_l9663/l9663_init.o dev/sti_l9663/l9663_dev.o
dev/sti_l9663/l9663_dpc.o dev/sti_l9663/l9663_if.o dev/sti_l9663/l9663_fs.o
dev/sti_l9663/l9663_util.o dev/sti_l9663/l9663_ring.o
dev/sti_l9663/l9663_crc_3.o dev/sti_l9663/psi5_crc_3.o
apex/cpu/nxp/imxrt10xx/sys/cache.o machine/adr2/sys/machine.o
apex/libc++/libc++.a apex/libcxxrt/libcxxrt.a apex/libc/libc.a
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/libgcc.a
--gc-sections -T /home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto-wrapper
-fresolution=apex/sys/apex.elf.res -flinker-output=exec apex/sys/fs/mount.o
apex/sys/fs/pipe.o apex/sys/fs/syscalls.o apex/sys/fs/util/dirbuf_add.o
apex/sys/fs/vfs.o apex/sys/fs/vnode.o apex/sys/kern/clone.o
apex/sys/kern/debug.o apex/sys/kern/dma.o apex/sys/kern/elf_load.o
apex/sys/kern/exec.o apex/sys/kern/irq.o apex/sys/kern/main.o
apex/sys/kern/prctl.o apex/sys/kern/proc.o apex/sys/kern/sch.o
apex/sys/kern/sig.o apex/sys/kern/syscall_table.o apex/sys/kern/syscalls.o
apex/sys/kern/syslog.o apex/sys/kern/task.o apex/sys/kern/thread.o
apex/sys/kern/timer.o apex/sys/lib/crypto/sha256.o apex/sys/lib/jhash3.o
apex/sys/lib/queue.o apex/sys/lib/string_utils.o apex/sys/mem/access.o
apex/sys/mem/kmem.o apex/sys/mem/page.o apex/sys/mem/vm.o apex/sys/sync/cond.o
apex/sys/sync/futex.o apex/sys/sync/mutex.o apex/sys/sync/rwlock.o
apex/sys/sync/semaphore.o apex/sys/sync/spinlock.o apex/sys/mem/untranslated.o
apex/sys/fs/arfs/vnops.o apex/sys/fs/devfs/vnops.o apex/sys/fs/ramfs/vfsops.o
apex/sys/fs/ramfs/vnops.o apex/sys/dev/bootdisk/bootdisk.o
apex/sys/dev/console/console.o apex/sys/dev/fsl/gpt-systick/gpt-systick.o
apex/sys/dev/fsl/imx-usbphy/imx-usbphy.o
apex/sys/dev/fsl/imxrt10xx-gpio/imxrt10xx-gpio.o
apex/sys/dev/fsl/lpuart/driver.o apex/sys/dev/fsl/lpuart/early.o
apex/sys/dev/fsl/lpuart/lpuart.o apex/sys/dev/fsl/usb2-udc/usb2-udc.o
apex/sys/dev/fsl/usdhc/usdhc.o apex/sys/dev/gpio/controller.o
apex/sys/dev/gpio/ref.o apex/sys/dev/mmc/command.o apex/sys/dev/mmc/device.o
apex/sys/dev/mmc/host.o apex/sys/dev/mmc/mmc.o apex/sys/dev/mmc/mmc_block.o
apex/sys/dev/mmc/mmc_device.o apex/sys/dev/mmc/sd.o apex/sys/dev/mmc/sd_block.o
apex/sys/dev/mmc/sd_card.o apex/sys/dev/mmc/sdio.o
apex/sys/dev/nxp/imxrt10xx-ocotp/imxrt10xx-ocotp.o
apex/sys/dev/nxp/imxrt10xx-pit/imxrt10xx-pit.o
apex/sys/dev/nxp/imxrt10xx-rtwdog/imxrt10xx-rtwdog.o
apex/sys/dev/nxp/imxrt10xx-trng/imxrt10xx-trng.o
apex/sys/dev/nxp/imxrt10xx-xbara/imxrt10xx-xbara.o
apex/sys/dev/regulator/voltage/regulator.o
apex/sys/dev/regulator/voltage/fixed/fixed.o
apex/sys/dev/usb/string_descriptor.o apex/sys/dev/usb/gadget/composite.o
apex/sys/dev/usb/gadget/configuration.o apex/sys/dev/usb/gadget/device.o
apex/sys/dev/usb/gadget/function.o apex/sys/dev/usb/gadget/gadget.o
apex/sys/dev/usb/gadget/transaction.o apex/sys/dev/usb/gadget/udc.o
apex/sys/dev/usb/gadget/function/cdc_acm/cdc_acm.o
apex/sys/dev/usb/gadget/function/cdc_acm/init.o apex/sys/dev/null/null.o
apex/sys/dev/zero/zero.o apex/sys/dev/tty/tty.o apex/sys/dev/block/device.o
apex/sys/arch/arm/v7em/arch.o apex/sys/arch/arm/v7em/atomic.o
apex/sys/arch/arm/v7em/cache.o apex/sys/arch/arm/v7em/context.o
apex/sys/arch/arm/v7em/exception.o apex/sys/arch/arm/v7em/interrupt.o
apex/sys/arch/arm/v7em/io.o apex/sys/arch/arm/v7em/syscall.o
apex/sys/arch/arm/v7em/mpu.o dev/adr2/adr2.o dev/adr2_pinmux/adr2_pinmux.o
dev/can/can.o dev/fsl/flexcan/flexcan.o dev/fsl/lpspi/fsl_lpspi.o
dev/fsl/lpspi/lpspi.o dev/fsl/qtimer/qtimer.o
dev/nxp/imxrt-flexcan/imxrt-flexcan.o dev/nxp/imxrt10xx-adc/imxrt10xx-adc.o
dev/nxp/imxrt10xx-adc-etc/imxrt10xx-adc-etc.o
dev/nxp/imxrt10xx-tempmon/imxrt10xx-tempmon.o dev/panic_buffer/panic_buffer.o
dev/rv3149/rv3149_init.o dev/rv3149/rv3149_if.o dev/rv3149/rv3149_fs.o
dev/secure/secure.o dev/sti_l9663/l9663_init.o dev/sti_l9663/l9663_dev.o
dev/sti_l9663/l9663_dpc.o dev/sti_l9663/l9663_if.o dev/sti_l9663/l9663_fs.o
dev/sti_l9663/l9663_util.o dev/sti_l9663/l9663_ring.o
dev/sti_l9663/l9663_crc_3.o dev/sti_l9663/psi5_crc_3.o
apex/cpu/nxp/imxrt10xx/sys/cache.o machine/adr2/sys/machine.o
apex/libc++/libc++.a@0xbf10 apex/libc++/libc++.a@0x173e0
apex/libc++/libc++.a@0x1c4d8 apex/libc++/libc++.a@0xdca5c
apex/libc++/libc++.a@0x39e0 apex/libcxxrt/libcxxrt.a@0x3d8c
apex/libcxxrt/libcxxrt.a@0xab00 apex/libcxxrt/libcxxrt.a@0x13f78 
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto-wrapper
-fresolution=apex/sys/apex.elf.res -flinker-output=exec apex/sys/fs/mount.o
apex/sys/fs/pipe.o apex/sys/fs/syscalls.o apex/sys/fs/util/dirbuf_add.o
apex/sys/fs/vfs.o apex/sys/fs/vnode.o apex/sys/kern/clone.o
apex/sys/kern/debug.o apex/sys/kern/dma.o apex/sys/kern/elf_load.o
apex/sys/kern/exec.o apex/sys/kern/irq.o apex/sys/kern/main.o
apex/sys/kern/prctl.o apex/sys/kern/proc.o apex/sys/kern/sch.o
apex/sys/kern/sig.o apex/sys/kern/syscall_table.o apex/sys/kern/syscalls.o
apex/sys/kern/syslog.o apex/sys/kern/task.o apex/sys/kern/thread.o
apex/sys/kern/timer.o apex/sys/lib/crypto/sha256.o apex/sys/lib/jhash3.o
apex/sys/lib/queue.o apex/sys/lib/string_utils.o apex/sys/mem/access.o
apex/sys/mem/kmem.o apex/sys/mem/page.o apex/sys/mem/vm.o apex/sys/sync/cond.o
apex/sys/sync/futex.o apex/sys/sync/mutex.o apex/sys/sync/rwlock.o
apex/sys/sync/semaphore.o apex/sys/sync/spinlock.o apex/sys/mem/untranslated.o
apex/sys/fs/arfs/vnops.o apex/sys/fs/devfs/vnops.o apex/sys/fs/ramfs/vfsops.o
apex/sys/fs/ramfs/vnops.o apex/sys/dev/bootdisk/bootdisk.o
apex/sys/dev/console/console.o apex/sys/dev/fsl/gpt-systick/gpt-systick.o
apex/sys/dev/fsl/imx-usbphy/imx-usbphy.o
apex/sys/dev/fsl/imxrt10xx-gpio/imxrt10xx-gpio.o
apex/sys/dev/fsl/lpuart/driver.o apex/sys/dev/fsl/lpuart/early.o
apex/sys/dev/fsl/lpuart/lpuart.o apex/sys/dev/fsl/usb2-udc/usb2-udc.o
apex/sys/dev/fsl/usdhc/usdhc.o apex/sys/dev/gpio/controller.o
apex/sys/dev/gpio/ref.o apex/sys/dev/mmc/command.o apex/sys/dev/mmc/device.o
apex/sys/dev/mmc/host.o apex/sys/dev/mmc/mmc.o apex/sys/dev/mmc/mmc_block.o
apex/sys/dev/mmc/mmc_device.o apex/sys/dev/mmc/sd.o apex/sys/dev/mmc/sd_block.o
apex/sys/dev/mmc/sd_card.o apex/sys/dev/mmc/sdio.o
apex/sys/dev/nxp/imxrt10xx-ocotp/imxrt10xx-ocotp.o
apex/sys/dev/nxp/imxrt10xx-pit/imxrt10xx-pit.o
apex/sys/dev/nxp/imxrt10xx-rtwdog/imxrt10xx-rtwdog.o
apex/sys/dev/nxp/imxrt10xx-trng/imxrt10xx-trng.o
apex/sys/dev/nxp/imxrt10xx-xbara/imxrt10xx-xbara.o
apex/sys/dev/regulator/voltage/regulator.o
apex/sys/dev/regulator/voltage/fixed/fixed.o
apex/sys/dev/usb/string_descriptor.o apex/sys/dev/usb/gadget/composite.o
apex/sys/dev/usb/gadget/configuration.o apex/sys/dev/usb/gadget/device.o
apex/sys/dev/usb/gadget/function.o apex/sys/dev/usb/gadget/gadget.o
apex/sys/dev/usb/gadget/transaction.o apex/sys/dev/usb/gadget/udc.o
apex/sys/dev/usb/gadget/function/cdc_acm/cdc_acm.o
apex/sys/dev/usb/gadget/function/cdc_acm/init.o apex/sys/dev/null/null.o
apex/sys/dev/zero/zero.o apex/sys/dev/tty/tty.o apex/sys/dev/block/device.o
apex/sys/arch/arm/v7em/arch.o apex/sys/arch/arm/v7em/atomic.o
apex/sys/arch/arm/v7em/cache.o apex/sys/arch/arm/v7em/context.o
apex/sys/arch/arm/v7em/exception.o apex/sys/arch/arm/v7em/interrupt.o
apex/sys/arch/arm/v7em/io.o apex/sys/arch/arm/v7em/syscall.o
apex/sys/arch/arm/v7em/mpu.o dev/adr2/adr2.o dev/adr2_pinmux/adr2_pinmux.o
dev/can/can.o dev/fsl/flexcan/flexcan.o dev/fsl/lpspi/fsl_lpspi.o
dev/fsl/lpspi/lpspi.o dev/fsl/qtimer/qtimer.o
dev/nxp/imxrt-flexcan/imxrt-flexcan.o dev/nxp/imxrt10xx-adc/imxrt10xx-adc.o
dev/nxp/imxrt10xx-adc-etc/imxrt10xx-adc-etc.o
dev/nxp/imxrt10xx-tempmon/imxrt10xx-tempmon.o dev/panic_buffer/panic_buffer.o
dev/rv3149/rv3149_init.o dev/rv3149/rv3149_if.o dev/rv3149/rv3149_fs.o
dev/secure/secure.o dev/sti_l9663/l9663_init.o dev/sti_l9663/l9663_dev.o
dev/sti_l9663/l9663_dpc.o dev/sti_l9663/l9663_if.o dev/sti_l9663/l9663_fs.o
dev/sti_l9663/l9663_util.o dev/sti_l9663/l9663_ring.o
dev/sti_l9663/l9663_crc_3.o dev/sti_l9663/psi5_crc_3.o
apex/cpu/nxp/imxrt10xx/sys/cache.o machine/adr2/sys/machine.o
apex/libc++/libc++.a@0xbf10 apex/libc++/libc++.a@0x173e0
apex/libc++/libc++.a@0x1c4d8 apex/libc++/libc++.a@0xdca5c
apex/libc++/libc++.a@0x39e0 apex/libcxxrt/libcxxrt.a@0x3d8c
apex/libcxxrt/libcxxrt.a@0xab00 apex/libcxxrt/libcxxrt.a@0x13f78 
armv7em-motec_imxrt_gnu-linux-musleabihf-g++ @apex/sys/apex.elf.ltrans_args
armv7em-motec_imxrt_gnu-linux-musleabihf-g++: warning: '-pipe' ignored because
'-save-temps' specified
Using built-in specs.
COLLECT_GCC=armv7em-motec_imxrt_gnu-linux-musleabihf-g++
Target: armv7em-motec_imxrt_gnu-linux-musleabihf
Configured with: ../src_gcc/configure --enable-languages=c,c++
--with-float=hard CFLAGS='-g0 -Os' CXXFLAGS='-g0 -Os' LDFLAGS=-s --disable-nls
--with-debug-prefix-map=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf=
--enable-languages=c,c++ --disable-libquadmath --disable-decimal-float
--with-cpu=cortex-m7 --enable-default-pie
--enable-cxx-flags=-ffunction-sections --disable-bootstrap --disable-assembly
--disable-werror --target=armv7em-motec_imxrt_gnu-linux-musleabihf --prefix=
--libdir=/lib --disable-multilib
--with-sysroot=/armv7em-motec_imxrt_gnu-linux-musleabihf --enable-tls
--disable-libmudflap --disable-libsanitizer --disable-gnu-indirect-function
--disable-libmpx --enable-initfini-array --enable-libstdcxx-time=rt
--with-build-sysroot=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_sysroot
AR_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ar
AS_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/gas/as-new
LD_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/ld/ld-new
NM_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/nm-new
OBJCOPY_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objcopy
OBJDUMP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objdump
RANLIB_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ranlib
READELF_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/readelf
STRIP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/strip-new
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fcf-protection=none'
'-g' '-mfloat-abi=hard' '-mtls-dialect=gnu'  '-O2' '-v' '-save-temps'
'-mcpu=cortex-m7' '-mthumb' '-ggdb' '-pipe' '-O2' '-fuse-linker-plugin'
'-Wframe-larger-than=384' '-Wframe-larger-than=384' '-fno-pie'
'-masm-syntax-unified' '-mslow-flash-data' '-fno-exceptions' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu'    
'-fltrans-output-list=apex/sys/apex.elf.ltrans.out' '-fwpa'
'-fresolution=apex/sys/apex.elf.res' '-flinker-output=exec'
'-mlibarch=armv7e-m+fp.dp' '-march=armv7e-m+fp.dp'

/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto1
-quiet -dumpbase apex/sys/apex.elf.wpa -mfloat-abi=hard -mtls-dialect=gnu
-mcpu=cortex-m7 -mthumb -masm-syntax-unified -mslow-flash-data -mfloat-abi=hard
-mtls-dialect=gnu -mlibarch=armv7e-m+fp.dp -march=armv7e-m+fp.dp -g -ggdb -O2
-O2 -Wframe-larger-than=384 -Wframe-larger-than=384 -version -fno-openmp
-fno-openacc -fcf-protection=none -fuse-linker-plugin -fno-pie -fno-exceptions
-fltrans-output-list=apex/sys/apex.elf.ltrans.out -fwpa
-fresolution=apex/sys/apex.elf.res -flinker-output=exec
@apex/sys/apex.elf.wpa.args.0
GNU GIMPLE (GCC) version 11.2.0 (armv7em-motec_imxrt_gnu-linux-musleabihf)
        compiled by GNU C version 11.1.0, GMP version 6.1.2, MPFR version
4.0.2, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 11.2.0 (armv7em-motec_imxrt_gnu-linux-musleabihf)
        compiled by GNU C version 11.1.0, GMP version 6.1.2, MPFR version
4.0.2, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COMPILER_PATH=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/
LIBRARY_PATH=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fcf-protection=none'
'-g' '-mfloat-abi=hard' '-mtls-dialect=gnu'  '-O2' '-v' '-save-temps'
'-mcpu=cortex-m7' '-mthumb' '-ggdb' '-pipe' '-O2' '-fuse-linker-plugin'
'-Wframe-larger-than=384' '-Wframe-larger-than=384' '-fno-pie'
'-masm-syntax-unified' '-mslow-flash-data' '-fno-exceptions' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu'    
'-fltrans-output-list=apex/sys/apex.elf.ltrans.out' '-fwpa'
'-fresolution=apex/sys/apex.elf.res' '-flinker-output=exec'
'-mlibarch=armv7e-m+fp.dp' '-march=armv7e-m+fp.dp' '-dumpdir'
'apex/sys/apex.elf.wpa.'
[Leaving LTRANS apex/sys/apex.elf.ltrans.out]
armv7em-motec_imxrt_gnu-linux-musleabihf-g++
@apex/sys/apex.elf.ltrans0.ltrans_args
armv7em-motec_imxrt_gnu-linux-musleabihf-g++: warning: '-pipe' ignored because
'-save-temps' specified
Using built-in specs.
COLLECT_GCC=armv7em-motec_imxrt_gnu-linux-musleabihf-g++
Target: armv7em-motec_imxrt_gnu-linux-musleabihf
Configured with: ../src_gcc/configure --enable-languages=c,c++
--with-float=hard CFLAGS='-g0 -Os' CXXFLAGS='-g0 -Os' LDFLAGS=-s --disable-nls
--with-debug-prefix-map=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf=
--enable-languages=c,c++ --disable-libquadmath --disable-decimal-float
--with-cpu=cortex-m7 --enable-default-pie
--enable-cxx-flags=-ffunction-sections --disable-bootstrap --disable-assembly
--disable-werror --target=armv7em-motec_imxrt_gnu-linux-musleabihf --prefix=
--libdir=/lib --disable-multilib
--with-sysroot=/armv7em-motec_imxrt_gnu-linux-musleabihf --enable-tls
--disable-libmudflap --disable-libsanitizer --disable-gnu-indirect-function
--disable-libmpx --enable-initfini-array --enable-libstdcxx-time=rt
--with-build-sysroot=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_sysroot
AR_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ar
AS_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/gas/as-new
LD_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/ld/ld-new
NM_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/nm-new
OBJCOPY_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objcopy
OBJDUMP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objdump
RANLIB_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ranlib
READELF_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/readelf
STRIP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/strip-new
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fcf-protection=none'
'-g' '-mfloat-abi=hard' '-mtls-dialect=gnu'  '-O2' '-v' '-save-temps'
'-mcpu=cortex-m7' '-mthumb' '-ggdb' '-pipe' '-O2' '-fuse-linker-plugin'
'-Wframe-larger-than=384' '-Wframe-larger-than=384' '-fno-pie'
'-masm-syntax-unified' '-mslow-flash-data' '-fno-exceptions' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu'     '-fltrans' '-o'
'apex/sys/apex.elf.ltrans0.ltrans.o' '-mlibarch=armv7e-m+fp.dp'
'-march=armv7e-m+fp.dp'

/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto1
-quiet -dumpbase apex/sys/apex.elf.ltrans0.ltrans -mfloat-abi=hard
-mtls-dialect=gnu -mcpu=cortex-m7 -mthumb -masm-syntax-unified
-mslow-flash-data -mfloat-abi=hard -mtls-dialect=gnu -mlibarch=armv7e-m+fp.dp
-march=armv7e-m+fp.dp -g -ggdb -O2 -O2 -Wframe-larger-than=384
-Wframe-larger-than=384 -version -fno-openmp -fno-openacc -fcf-protection=none
-fuse-linker-plugin -fno-pie -fno-exceptions -fltrans
@apex/sys/apex.elf.ltrans0.ltrans.args.0 -o apex/sys/apex.elf.ltrans0.ltrans.s
GNU GIMPLE (GCC) version 11.2.0 (armv7em-motec_imxrt_gnu-linux-musleabihf)
        compiled by GNU C version 11.1.0, GMP version 6.1.2, MPFR version
4.0.2, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 11.2.0 (armv7em-motec_imxrt_gnu-linux-musleabihf)
        compiled by GNU C version 11.1.0, GMP version 6.1.2, MPFR version
4.0.2, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fcf-protection=none'
'-g' '-mfloat-abi=hard' '-mtls-dialect=gnu'  '-O2' '-v' '-save-temps'
'-mcpu=cortex-m7' '-mthumb' '-ggdb' '-pipe' '-O2' '-fuse-linker-plugin'
'-Wframe-larger-than=384' '-Wframe-larger-than=384' '-fno-pie'
'-masm-syntax-unified' '-mslow-flash-data' '-fno-exceptions' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu'     '-fltrans' '-o'
'apex/sys/apex.elf.ltrans0.ltrans.o' '-mlibarch=armv7e-m+fp.dp'
'-march=armv7e-m+fp.dp'

/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/as
-v -march=armv7e-m -mfloat-abi=hard -mfloat-abi=hard -meabi=5 -o
apex/sys/apex.elf.ltrans0.ltrans.o apex/sys/apex.elf.ltrans0.ltrans.s
GNU assembler version 2.33.1 (armv7em-motec_imxrt_gnu-linux-musleabihf) using
BFD version (GNU Binutils) 2.33.1
COMPILER_PATH=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../libexec/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/
LIBRARY_PATH=/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/:/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../armv7em-motec_imxrt_gnu-linux-musleabihf/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fcf-protection=none'
'-g' '-mfloat-abi=hard' '-mtls-dialect=gnu'  '-O2' '-v' '-save-temps'
'-mcpu=cortex-m7' '-mthumb' '-ggdb' '-pipe' '-O2' '-fuse-linker-plugin'
'-Wframe-larger-than=384' '-Wframe-larger-than=384' '-fno-pie'
'-masm-syntax-unified' '-mslow-flash-data' '-fno-exceptions' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu'     '-fltrans' '-o'
'apex/sys/apex.elf.ltrans0.ltrans.o' '-mlibarch=armv7e-m+fp.dp'
'-march=armv7e-m+fp.dp' '-dumpdir' 'apex/sys/apex.elf.ltrans0.ltrans.'
[Leaving LTRANS apex/sys/apex.elf.ltrans0.o]
armv7em-motec_imxrt_gnu-linux-musleabihf-g++
@apex/sys/apex.elf.ltrans1.ltrans_args
armv7em-motec_imxrt_gnu-linux-musleabihf-g++: warning: '-pipe' ignored because
'-save-temps' specified
Using built-in specs.
COLLECT_GCC=armv7em-motec_imxrt_gnu-linux-musleabihf-g++
Target: armv7em-motec_imxrt_gnu-linux-musleabihf
Configured with: ../src_gcc/configure --enable-languages=c,c++
--with-float=hard CFLAGS='-g0 -Os' CXXFLAGS='-g0 -Os' LDFLAGS=-s --disable-nls
--with-debug-prefix-map=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf=
--enable-languages=c,c++ --disable-libquadmath --disable-decimal-float
--with-cpu=cortex-m7 --enable-default-pie
--enable-cxx-flags=-ffunction-sections --disable-bootstrap --disable-assembly
--disable-werror --target=armv7em-motec_imxrt_gnu-linux-musleabihf --prefix=
--libdir=/lib --disable-multilib
--with-sysroot=/armv7em-motec_imxrt_gnu-linux-musleabihf --enable-tls
--disable-libmudflap --disable-libsanitizer --disable-gnu-indirect-function
--disable-libmpx --enable-initfini-array --enable-libstdcxx-time=rt
--with-build-sysroot=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_sysroot
AR_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ar
AS_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/gas/as-new
LD_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/ld/ld-new
NM_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/nm-new
OBJCOPY_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objcopy
OBJDUMP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/objdump
RANLIB_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/ranlib
READELF_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/readelf
STRIP_FOR_TARGET=/tmp/makepkg/armv7em-motec_imxrt_gnu-linux-musleabihf/src/musl-cross-make/build/local/armv7em-motec_imxrt_gnu-linux-musleabihf/obj_binutils/binutils/strip-new
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fcf-protection=none'
'-g' '-mfloat-abi=hard' '-mtls-dialect=gnu'  '-O2' '-v' '-save-temps'
'-mcpu=cortex-m7' '-mthumb' '-ggdb' '-pipe' '-O2' '-fuse-linker-plugin'
'-Wframe-larger-than=384' '-Wframe-larger-than=384' '-fno-pie'
'-masm-syntax-unified' '-mslow-flash-data' '-fno-exceptions' '-T'
'/home/patrick/src/motec/adr2/machine/adr2/sys/kernel.ld' '-z'
'max-page-size=32' '-nostartfiles' '-nostdlib' '-static' '-no-pie'
'-mfloat-abi=hard' '-mtls-dialect=gnu'     '-fltrans' '-o'
'apex/sys/apex.elf.ltrans1.ltrans.o' '-mlibarch=armv7e-m+fp.dp'
'-march=armv7e-m+fp.dp'

/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/../../libexec/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/lto1
-quiet -dumpbase apex/sys/apex.elf.ltrans1.ltrans -mfloat-abi=hard
-mtls-dialect=gnu -mcpu=cortex-m7 -mthumb -masm-syntax-unified
-mslow-flash-data -mfloat-abi=hard -mtls-dialect=gnu -mlibarch=armv7e-m+fp.dp
-march=armv7e-m+fp.dp -g -ggdb -O2 -O2 -Wframe-larger-than=384
-Wframe-larger-than=384 -version -fno-openmp -fno-openacc -fcf-protection=none
-fuse-linker-plugin -fno-pie -fno-exceptions -fltrans
@apex/sys/apex.elf.ltrans1.ltrans.args.0 -o apex/sys/apex.elf.ltrans1.ltrans.s
GNU GIMPLE (GCC) version 11.2.0 (armv7em-motec_imxrt_gnu-linux-musleabihf)
        compiled by GNU C version 11.1.0, GMP version 6.1.2, MPFR version
4.0.2, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 11.2.0 (armv7em-motec_imxrt_gnu-linux-musleabihf)
        compiled by GNU C version 11.1.0, GMP version 6.1.2, MPFR version
4.0.2, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
/home/patrick/src/motec/adr2/apex/sys/kern/timer.cpp: In function
'timer_callout':
/home/patrick/src/motec/adr2/apex/sys/kern/timer.cpp:210:1: error:
unrecognizable insn:
  210 | }
      | ^
(insn 92 211 102 6 (parallel [
            (set (reg:DI 7 r7 [orig:136 tmp ] [136])
                (asm_operands/v:DI ("ldrd %Q0, %R0, %1
") ("=lh") 0 [
                        (mem/v/c:DI (plus:SI (reg/f:SI 1 r1 [137])
                                (const_int 8 [0x8])) [27 MEM[(const volatile
uint64_t *)&monotonic]+0 S8 A64])
                    ]
                     [
                        (asm_input:DI ("m")
/home/patrick/src/motec/adr2/apex/sys/arch/arm/v7em/atomic.cpp:24)
                    ]
                     []
/home/patrick/src/motec/adr2/apex/sys/arch/arm/v7em/atomic.cpp:24))
            (clobber (mem:BLK (scratch) [0  A8]))
        ])
"/home/patrick/src/motec/adr2/apex/sys/arch/arm/v7em/atomic.cpp":24:2 -1
     (nil))
during RTL pass: postreload
/home/patrick/src/motec/adr2/apex/sys/kern/timer.cpp:210:1: internal compiler
error: in extract_constrain_insn, at recog.c:2671
0xff33df internal_error(char const*, ...)
        ???:0
0x5d22e2 fancy_abort(char const*, int, char const*)
        ???:0
0x5d1ded _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ???:0
0x5d1e10 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ???:0
0x8a659a extract_constrain_insn(rtx_insn*)
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: armv7em-motec_imxrt_gnu-linux-musleabihf-g++ returned
1 exit status
compilation terminated.
[Leaving LTRANS apex/sys/fs/mount.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/pipe.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/syscalls.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/util/dirbuf_add.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/vfs.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/vnode.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/clone.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/debug.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/dma.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/elf_load.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/exec.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/irq.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/main.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/prctl.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/proc.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/sch.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/sig.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/syscall_table.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/syscalls.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/syslog.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/task.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/thread.o.debug.temp.o]
[Leaving LTRANS apex/sys/kern/timer.o.debug.temp.o]
[Leaving LTRANS apex/sys/lib/crypto/sha256.o.debug.temp.o]
[Leaving LTRANS apex/sys/lib/jhash3.o.debug.temp.o]
[Leaving LTRANS apex/sys/lib/queue.o.debug.temp.o]
[Leaving LTRANS apex/sys/lib/string_utils.o.debug.temp.o]
[Leaving LTRANS apex/sys/mem/access.o.debug.temp.o]
[Leaving LTRANS apex/sys/mem/kmem.o.debug.temp.o]
[Leaving LTRANS apex/sys/mem/page.o.debug.temp.o]
[Leaving LTRANS apex/sys/mem/vm.o.debug.temp.o]
[Leaving LTRANS apex/sys/sync/cond.o.debug.temp.o]
[Leaving LTRANS apex/sys/sync/futex.o.debug.temp.o]
[Leaving LTRANS apex/sys/sync/mutex.o.debug.temp.o]
[Leaving LTRANS apex/sys/sync/rwlock.o.debug.temp.o]
[Leaving LTRANS apex/sys/sync/semaphore.o.debug.temp.o]
[Leaving LTRANS apex/sys/sync/spinlock.o.debug.temp.o]
[Leaving LTRANS apex/sys/mem/untranslated.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/arfs/vnops.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/devfs/vnops.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/ramfs/vfsops.o.debug.temp.o]
[Leaving LTRANS apex/sys/fs/ramfs/vnops.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/bootdisk/bootdisk.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/console/console.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/gpt-systick/gpt-systick.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/imx-usbphy/imx-usbphy.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/imxrt10xx-gpio/imxrt10xx-gpio.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/lpuart/driver.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/lpuart/early.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/lpuart/lpuart.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/usb2-udc/usb2-udc.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/fsl/usdhc/usdhc.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/gpio/controller.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/gpio/ref.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/command.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/device.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/host.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/mmc.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/mmc_block.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/mmc_device.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/sd.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/sd_block.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/sd_card.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/mmc/sdio.o.debug.temp.o]
[Leaving LTRANS
apex/sys/dev/nxp/imxrt10xx-ocotp/imxrt10xx-ocotp.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/nxp/imxrt10xx-pit/imxrt10xx-pit.o.debug.temp.o]
[Leaving LTRANS
apex/sys/dev/nxp/imxrt10xx-rtwdog/imxrt10xx-rtwdog.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/nxp/imxrt10xx-trng/imxrt10xx-trng.o.debug.temp.o]
[Leaving LTRANS
apex/sys/dev/nxp/imxrt10xx-xbara/imxrt10xx-xbara.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/regulator/voltage/regulator.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/regulator/voltage/fixed/fixed.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/string_descriptor.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/composite.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/configuration.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/device.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/function.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/gadget.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/transaction.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/udc.o.debug.temp.o]
[Leaving LTRANS
apex/sys/dev/usb/gadget/function/cdc_acm/cdc_acm.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/usb/gadget/function/cdc_acm/init.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/null/null.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/zero/zero.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/tty/tty.o.debug.temp.o]
[Leaving LTRANS apex/sys/dev/block/device.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/arch.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/atomic.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/cache.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/context.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/exception.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/interrupt.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/io.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/syscall.o.debug.temp.o]
[Leaving LTRANS apex/sys/arch/arm/v7em/mpu.o.debug.temp.o]
[Leaving LTRANS dev/adr2/adr2.o.debug.temp.o]
[Leaving LTRANS dev/adr2_pinmux/adr2_pinmux.o.debug.temp.o]
[Leaving LTRANS dev/can/can.o.debug.temp.o]
[Leaving LTRANS dev/fsl/flexcan/flexcan.o.debug.temp.o]
[Leaving LTRANS dev/fsl/lpspi/fsl_lpspi.o.debug.temp.o]
[Leaving LTRANS dev/fsl/lpspi/lpspi.o.debug.temp.o]
[Leaving LTRANS dev/fsl/qtimer/qtimer.o.debug.temp.o]
[Leaving LTRANS dev/nxp/imxrt-flexcan/imxrt-flexcan.o.debug.temp.o]
[Leaving LTRANS dev/nxp/imxrt10xx-adc/imxrt10xx-adc.o.debug.temp.o]
[Leaving LTRANS dev/nxp/imxrt10xx-adc-etc/imxrt10xx-adc-etc.o.debug.temp.o]
[Leaving LTRANS dev/nxp/imxrt10xx-tempmon/imxrt10xx-tempmon.o.debug.temp.o]
[Leaving LTRANS dev/panic_buffer/panic_buffer.o.debug.temp.o]
[Leaving LTRANS dev/rv3149/rv3149_init.o.debug.temp.o]
[Leaving LTRANS dev/rv3149/rv3149_if.o.debug.temp.o]
[Leaving LTRANS dev/rv3149/rv3149_fs.o.debug.temp.o]
[Leaving LTRANS dev/secure/secure.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_init.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_dev.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_dpc.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_if.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_fs.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_util.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_ring.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/l9663_crc_3.o.debug.temp.o]
[Leaving LTRANS dev/sti_l9663/psi5_crc_3.o.debug.temp.o]
[Leaving LTRANS apex/cpu/nxp/imxrt10xx/sys/cache.o.debug.temp.o]
[Leaving LTRANS machine/adr2/sys/machine.o.debug.temp.o]
[Leaving LTRANS apex/libc++/libc++.a@0xbf10.debug.temp.o]
[Leaving LTRANS apex/libc++/libc++.a@0x173e0.debug.temp.o]
[Leaving LTRANS apex/libc++/libc++.a@0x1c4d8.debug.temp.o]
[Leaving LTRANS apex/libc++/libc++.a@0xdca5c.debug.temp.o]
[Leaving LTRANS apex/libc++/libc++.a@0x39e0.debug.temp.o]
[Leaving LTRANS apex/libcxxrt/libcxxrt.a@0x3d8c.debug.temp.o]
[Leaving LTRANS apex/libcxxrt/libcxxrt.a@0xab00.debug.temp.o]
[Leaving LTRANS apex/libcxxrt/libcxxrt.a@0x13f78.debug.temp.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans0.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans0.ltrans.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans1.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans2.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans3.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans4.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans5.o]
[Leaving LTRANS apex/sys/apex.elf.ltrans6.o]
/opt/cross/armv7em-motec_imxrt_gnu-linux-musleabihf/bin/../lib/gcc/armv7em-motec_imxrt_gnu-linux-musleabihf/11.2.0/../../../../armv7em-motec_imxrt_gnu-linux-musleabihf/bin/ld:
error: lto-wrapper failed
[Leaving apex/sys/apex.elf.lto_wrapper_args]
collect2: error: ld returned 1 exit status

  parent reply	other threads:[~2021-12-13 22:56 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-12 22:32 [Bug target/103676] New: " patrick.oppenlander at gmail dot com
2021-12-12 23:31 ` [Bug target/103676] " pinskia at gcc dot gnu.org
2021-12-12 23:32 ` pinskia at gcc dot gnu.org
2021-12-12 23:54 ` patrick.oppenlander at gmail dot com
2021-12-12 23:58 ` patrick.oppenlander at gmail dot com
2021-12-13 22:56 ` patrick.oppenlander at gmail dot com [this message]
2021-12-13 23:06 ` pinskia at gcc dot gnu.org
2021-12-13 23:13 ` pinskia at gcc dot gnu.org
2021-12-14  0:48 ` patrick.oppenlander at gmail dot com
2021-12-14  0:48 ` patrick.oppenlander at gmail dot com
2021-12-14  0:51 ` pinskia at gcc dot gnu.org
2021-12-14  0:52 ` pinskia at gcc dot gnu.org
2021-12-14  1:16 ` patrick.oppenlander at gmail dot com
2021-12-14  1:17 ` patrick.oppenlander at gmail dot com
2021-12-14  1:48 ` pinskia at gcc dot gnu.org
2021-12-14  1:50 ` [Bug target/103676] [10/11/12 Regression] " pinskia at gcc dot gnu.org
2021-12-14  2:07 ` pinskia at gcc dot gnu.org
2021-12-14  2:11 ` pinskia at gcc dot gnu.org
2021-12-14  2:15 ` pinskia at gcc dot gnu.org
2021-12-29 17:02 ` jakub at gcc dot gnu.org
2021-12-29 17:06 ` jakub at gcc dot gnu.org
2022-01-17 12:46 ` rguenth at gcc dot gnu.org
2022-01-17 16:43 ` vmakarov at gcc dot gnu.org
2022-01-17 17:00 ` jakub at gcc dot gnu.org
2022-01-18 13:38 ` vmakarov at gcc dot gnu.org
2022-01-21 18:37 ` cvs-commit at gcc dot gnu.org
2022-01-28 16:38 ` [Bug target/103676] [10/11 " jakub at gcc dot gnu.org
2022-06-28 10:47 ` jakub at gcc dot gnu.org
2023-07-07 10:41 ` [Bug target/103676] [11 " rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-103676-4-i6rGSCqHdl@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).