Skip to content

Build failed while trying to build libcxxabi #1

@jakesays-old

Description

@jakesays-old

here's the output:

"/home/jake/pax/flutter_embedded/sdk/toolchain/bin/clang++"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/jake/pax/flutter_embedded/build/libcxxabi-prefix/src/libcxxabi-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f318f/fast"
/usr/bin/make -f CMakeFiles/cmTC_f318f.dir/build.make CMakeFiles/cmTC_f318f.dir/build
make[1]: Entering directory '/home/jake/pax/flutter_embedded/build/libcxxabi-prefix/src/libcxxabi-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f318f.dir/testCXXCompiler.cxx.o
/home/jake/pax/flutter_embedded/sdk/toolchain/bin/clang++ --sysroot=/home/jake/pax/flutter_embedded/sdk/sysroot    --target=arm-linux-gnueabihf -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS --target=arm-linux-gnueabihf -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS    -o CMakeFiles/cmTC_f318f.dir/testCXXCompiler.cxx.o -c /home/jake/pax/flutter_embedded/build/libcxxabi-prefix/src/libcxxabi-build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_f318f
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f318f.dir/link.txt --verbose=1
/home/jake/pax/flutter_embedded/sdk/toolchain/bin/clang++ --sysroot=/home/jake/pax/flutter_embedded/sdk/sysroot   --target=arm-linux-gnueabihf -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS --target=arm-linux-gnueabihf -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS     CMakeFiles/cmTC_f318f.dir/testCXXCompiler.cxx.o  -o cmTC_f318f
/usr/bin/arm-linux-gnueabihf-ld: cannot find crt1.o: No such file or directory
/usr/bin/arm-linux-gnueabihf-ld: cannot find crti.o: No such file or directory
/usr/bin/arm-linux-gnueabihf-ld: cannot find crtbegin.o: No such file or directory
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lstdc++
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lm
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lgcc_s
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lgcc
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lc
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lgcc_s
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lgcc
/usr/bin/arm-linux-gnueabihf-ld: cannot find crtend.o: No such file or directory
/usr/bin/arm-linux-gnueabihf-ld: cannot find crtn.o: No such file or directory
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_f318f.dir/build.make:87: cmTC_f318f] Error 1
make[1]: Leaving directory '/home/jake/pax/flutter_embedded/build/libcxxabi-prefix/src/libcxxabi-build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_f318f/fast] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions