gcc bork

Format: Batchfile
 ( View Raw)
Date: Mon, 09 Jan 2023 at 12:45:17

hays@e2d32415e1bd:/rk3588$ /rk3588/host/usr/bin/aarch64-linux-gcc -v
Using built-in specs.
COLLECT_GCC=/rk3588/host/bin/aarch64-linux-gcc.br_real
COLLECT_LTO_WRAPPER=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/lto-wrapper
Target: aarch64-buildroot-linux-gnu
Configured with: ./configure --prefix=/rk3588/host --sysconfdir=/rk3588/host/etc --enable-static --target=aarch64-buildroot-linux-gnu --with-sysroot=/rk3588/host/aarch64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/rk3588/host --with-mpc=/rk3588/host --with-mpfr=/rk3588/host --with-pkgversion='Buildroot 2019.11-19258-g52a860b7bc' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --with-isl=/rk3588/host --with-abi=lp64 --with-cpu=cortex-a76.cortex-a55 --enable-languages=c,c++ --with-build-time-tools=/rk3588/host/aarch64-buildroot-linux-gnu/bin --enable-shared --enable-libgomp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.3.0 (Buildroot 2019.11-19258-g52a860b7bc) 
COMPILER_PATH=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/
LIBRARY_PATH=/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/lib/../lib64/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/lib/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/lib/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='-fstack-protector-strong' '-pipe' '-fsigned-char' '-mcpu=cortex-a76.cortex-a55' '-mtune=cortex-a76.cortex-a55' '-march=armv8.2-a+crypto+dotprod+rcpc+sb+ssbs' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.'
 /rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/collect2 -plugin /rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/liblto_plugin.so -plugin-opt=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccmyhOyS.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/rk3588/host/aarch64-buildroot-linux-gnu/sysroot --eh-frame-hdr -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crt1.o /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crti.o /rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/crtbegin.o -L/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0 -L/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/lib/../lib64 -L/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64 -L/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64 -L/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/lib -L/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/lib -L/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib -z max-page-size=4096 -z common-page-size=4096 -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/crtend.o /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crtn.o
/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crt1.o: in function `__wrap_main':
start.o:(.text+0x38): undefined reference to `main'
collect2: error: ld returned 1 exit status