-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./build.sh failed #429
Comments
It's very likely your |
This is the gcc I installed via apt-get, is this old?
|
I tried to use gcc 12.2.0 to compile, but problems still occurred.
|
It's still using the 6.3.x installation when Clang is searching for the
libstdc++ headers as can be seen in the log:
… /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/algorithm:62:
On Wed, Sep 18, 2024 at 6:40 AM peakedshout ***@***.***> wrote:
It's very likely your gcc (libstdc++) installation is too old.
#21 [17/24] RUN gcc --version && g++ --version
#21 0.173 gcc (GCC) 12.2.0
#21 0.173 Copyright (C) 2022 Free Software Foundation, Inc.
#21 0.173 This is free software; see the source for copying conditions. There is NO
#21 0.173 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#21 0.173
#21 0.174 g++ (GCC) 12.2.0
#21 0.174 Copyright (C) 2022 Free Software Foundation, Inc.
#21 0.174 This is free software; see the source for copying conditions. There is NO
#21 0.174 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#21 0.174
#21 DONE 0.2s
I tried to use gcc 12.2.0 to compile, but problems still occurred.
#26 143.8 [100%] Building CXX object tools/clang/tools/tapi/lib/ObjCMetadata/CMakeFiles/tapiObjCMetadata.dir/ObjCMachOBinary.cpp.o
#26 143.8 [100%] Building CXX object tools/clang/tools/tapi/lib/ObjCMetadata/CMakeFiles/tapiObjCMetadata.dir/ObjCMetadata.cpp.o
#26 143.9 Scanning dependencies of target tapiCore
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/AvailabilityInfo.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/APIVisitor.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/APIJSONSerializer.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/APIPrinter.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/API.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/FakeSymbols.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/ClangDiagnostics.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/FileListReader.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/FileManager.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/FileSystem.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/Framework.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/InterfaceFile.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/HeaderFile.cpp.o
#26 143.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/InterfaceFileManager.cpp.o
#26 144.5 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/MachODylibReader.cpp.o
#26 144.6 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/MachOReader.cpp.o
#26 144.8 /osxcross/build/apple-libtapi/src/tapi/lib/Core/FileListReader.cpp:152:10: error: no viable conversion from returned value of type 'std::unique_ptr<FileListReader>' to function return type 'Expected<std::unique_ptr<FileListReader> >'
#26 144.8 return reader;
#26 144.8 ^~~~~~
#26 144.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:439:41: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<FileListReader>' to 'const llvm::Expected<std::unique_ptr<tapi::internal::FileListReader, std::default_delete<tapi::internal::FileListReader> > > &' for 1st argument
#26 144.8 template <class T> class LLVM_NODISCARD Expected {
#26 144.8 ^
#26 144.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:461:3: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<FileListReader>' to 'llvm::Error' for 1st argument
#26 144.8 Expected(Error Err)
#26 144.8 ^
#26 144.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:475:3: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<FileListReader>' to 'llvm::ErrorSuccess' for 1st argument
#26 144.8 Expected(ErrorSuccess) = delete;
#26 144.8 ^
#26 144.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:493:3: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<FileListReader>' to 'llvm::Expected<std::unique_ptr<tapi::internal::FileListReader, std::default_delete<tapi::internal::FileListReader> > > &&' for 1st argument
#26 144.8 Expected(Expected &&Other) { moveConstruct(std::move(Other)); }
#26 144.8 ^
#26 144.8 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/type_traits:2523:44: note: candidate template ignored: disabled by 'enable_if' [with OtherT = std::unique_ptr<tapi::internal::FileListReader, std::default_delete<tapi::internal::FileListReader> > &]
#26 144.8 using enable_if_t = typename enable_if<_Cond, _Tp>::type;
#26 144.8 ^
#26 144.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:498:3: note: candidate template ignored: could not match 'Expected' against 'unique_ptr'
#26 144.8 Expected(
#26 144.8 ^
#26 144.9 [100%] Building CXX object tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/PackedVersion.cpp.o
#26 145.0 1 error generated.
#26 145.0 tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/build.make:153: recipe for target 'tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/FileListReader.cpp.o' failed
#26 145.0 make[3]: *** [tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/FileListReader.cpp.o] Error 1
#26 145.0 make[3]: *** Waiting for unfinished jobs....
#26 145.8 /osxcross/build/apple-libtapi/src/tapi/lib/Core/APIJSONSerializer.cpp:1195:10: error: no viable conversion from returned value of type 'tapi::internal::API' to function return type 'Expected<tapi::internal::API>'
#26 145.8 return result;
#26 145.8 ^~~~~~
#26 145.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:439:41: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'tapi::internal::API' to 'const llvm::Expected<tapi::internal::API> &' for 1st argument
#26 145.8 template <class T> class LLVM_NODISCARD Expected {
#26 145.8 ^
#26 145.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:461:3: note: candidate constructor not viable: no known conversion from 'tapi::internal::API' to 'llvm::Error' for 1st argument
#26 145.8 Expected(Error Err)
#26 145.8 ^
#26 145.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:475:3: note: candidate constructor not viable: no known conversion from 'tapi::internal::API' to 'llvm::ErrorSuccess' for 1st argument
#26 145.8 Expected(ErrorSuccess) = delete;
#26 145.8 ^
#26 145.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:493:3: note: candidate constructor not viable: no known conversion from 'tapi::internal::API' to 'llvm::Expected<tapi::internal::API> &&' for 1st argument
#26 145.8 Expected(Expected &&Other) { moveConstruct(std::move(Other)); }
#26 145.8 ^
#26 145.8 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/type_traits:2523:44: note: candidate template ignored: disabled by 'enable_if' [with OtherT = tapi::internal::API &]
#26 145.8 using enable_if_t = typename enable_if<_Cond, _Tp>::type;
#26 145.8 ^
#26 145.8 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:498:3: note: candidate template ignored: could not match 'Expected<type-parameter-0-0>' against 'tapi::internal::API'
#26 145.8 Expected(
#26 145.8 ^
#26 146.1 /osxcross/build/apple-libtapi/src/tapi/lib/Core/MachODylibReader.cpp:167:10: error: no viable conversion from returned value of type 'std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> >' to function return type 'Expected<std::unique_ptr<InterfaceFile> >'
#26 146.1 return file;
#26 146.1 ^~~~
#26 146.1 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:439:41: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> >' to 'const llvm::Expected<std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> > > &' for 1st argument
#26 146.1 template <class T> class LLVM_NODISCARD Expected {
#26 146.1 ^
#26 146.1 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:461:3: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> >' to 'llvm::Error' for 1st argument
#26 146.1 Expected(Error Err)
#26 146.1 ^
#26 146.1 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:475:3: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> >' to 'llvm::ErrorSuccess' for 1st argument
#26 146.1 Expected(ErrorSuccess) = delete;
#26 146.1 ^
#26 146.1 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:493:3: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> >' to 'llvm::Expected<std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> > > &&' for 1st argument
#26 146.1 Expected(Expected &&Other) { moveConstruct(std::move(Other)); }
#26 146.1 ^
#26 146.1 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/type_traits:2523:44: note: candidate template ignored: disabled by 'enable_if' [with OtherT = std::unique_ptr<tapi::internal::InterfaceFile, std::default_delete<tapi::internal::InterfaceFile> > &]
#26 146.1 using enable_if_t = typename enable_if<_Cond, _Tp>::type;
#26 146.1 ^
#26 146.1 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:498:3: note: candidate template ignored: could not match 'Expected' against 'unique_ptr'
#26 146.1 Expected(
#26 146.1 ^
#26 146.1 1 error generated.
#26 146.1 make[3]: *** [tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/APIJSONSerializer.cpp.o] Error 1
#26 146.1 tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/build.make:75: recipe for target 'tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/APIJSONSerializer.cpp.o' failed
#26 146.3 1 error generated.
#26 146.3 tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/build.make:244: recipe for target 'tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/MachODylibReader.cpp.o' failed
#26 146.3 make[3]: *** [tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/MachODylibReader.cpp.o] Error 1
#26 146.5 In file included from /osxcross/build/apple-libtapi/src/tapi/lib/Core/MachOReader.cpp:15:
#26 146.5 In file included from /osxcross/build/apple-libtapi/src/tapi/include/tapi/Core/MachOReader.h:18:
#26 146.5 In file included from /osxcross/build/apple-libtapi/src/tapi/include/tapi/Core/API.h:18:
#26 146.5 In file included from /osxcross/build/apple-libtapi/src/tapi/include/tapi/Core/APICommon.h:19:
#26 146.5 In file included from /osxcross/build/apple-libtapi/src/llvm/include/llvm/ADT/BitmaskEnum.h:16:
#26 146.5 In file included from /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/MathExtras.h:17:
#26 146.5 In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/algorithm:62:
#26 146.5 In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_algo.h:62:
#26 146.5 In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_tempbuf.h:60:
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_construct.h:75:38: error: call to implicitly-deleted copy constructor of 'std::pair<llvm::MachO::Architecture, tapi::internal::API>'
#26 146.5 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
#26 146.5 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_uninitialized.h:75:8: note: in instantiation of function template specialization 'std::_Construct<std::pair<llvm::MachO::Architecture, tapi::internal::API>, const std::pair<llvm::MachO::Architecture, tapi::internal::API> &>' requested here
#26 146.5 std::_Construct(std::__addressof(*__cur), *__first);
#26 146.5 ^
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_uninitialized.h:126:2: note: in instantiation of function template specialization 'std::__uninitialized_copy<false>::__uninit_copy<__gnu_cxx::__normal_iterator<const std::pair<llvm::MachO::Architecture, tapi::internal::API> *, std::vector<std::pair<llvm::MachO::Architecture, tapi::internal::API>, std::allocator<std::pair<llvm::MachO::Architecture, tapi::internal::API> > > >, std::pair<llvm::MachO::Architecture, tapi::internal::API> *>' requested here
#26 146.5 __uninit_copy(__first, __last, __result);
#26 146.5 ^
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_uninitialized.h:281:19: note: in instantiation of function template specialization 'std::uninitialized_copy<__gnu_cxx::__normal_iterator<const std::pair<llvm::MachO::Architecture, tapi::internal::API> *, std::vector<std::pair<llvm::MachO::Architecture, tapi::internal::API>, std::allocator<std::pair<llvm::MachO::Architecture, tapi::internal::API> > > >, std::pair<llvm::MachO::Architecture, tapi::internal::API> *>' requested here
#26 146.5 { return std::uninitialized_copy(__first, __last, __result); }
#26 146.5 ^
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_vector.h:324:9: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<__gnu_cxx::__normal_iterator<const std::pair<llvm::MachO::Architecture, tapi::internal::API> *, std::vector<std::pair<llvm::MachO::Architecture, tapi::internal::API>, std::allocator<std::pair<llvm::MachO::Architecture, tapi::internal::API> > > >, std::pair<llvm::MachO::Architecture, tapi::internal::API> *, std::pair<llvm::MachO::Architecture, tapi::internal::API> >' requested here
#26 146.5 std::__uninitialized_copy_a(__x.begin(), __x.end(),
#26 146.5 ^
#26 146.5 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Error.h:489:24: note: in instantiation of member function 'std::vector<std::pair<llvm::MachO::Architecture, tapi::internal::API>, std::allocator<std::pair<llvm::MachO::Architecture, tapi::internal::API> > >::vector' requested here
#26 146.5 new (getStorage()) storage_type(std::forward<OtherT>(Val));
#26 146.5 ^
#26 146.5 /osxcross/build/apple-libtapi/src/tapi/lib/Core/MachOReader.cpp:704:12: note: in instantiation of function template specialization 'llvm::Expected<std::vector<std::pair<llvm::MachO::Architecture, tapi::internal::API>, std::allocator<std::pair<llvm::MachO::Architecture, tapi::internal::API> > > >::Expected<std::vector<std::pair<llvm::MachO::Architecture, tapi::internal::API>, std::allocator<std::pair<llvm::MachO::Architecture, tapi::internal::API> > > &>' requested here
#26 146.5 return results;
#26 146.5 ^
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_pair.h:288:17: note: explicitly defaulted function was implicitly deleted here
#26 146.5 constexpr pair(const pair&) = default;
#26 146.5 ^
#26 146.5 /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/stl_pair.h:200:11: note: copy constructor of 'pair<llvm::MachO::Architecture, tapi::internal::API>' is implicitly deleted because field 'second' has a deleted copy constructor
#26 146.5 _T2 second; /// @c second is a copy of the second object
#26 146.5 ^
#26 146.5 /osxcross/build/apple-libtapi/src/tapi/include/tapi/Core/API.h:381:26: note: copy constructor of 'API' is implicitly deleted because field 'allocator' has a deleted copy constructor
#26 146.5 llvm::BumpPtrAllocator allocator;
#26 146.5 ^
#26 146.5 /osxcross/build/apple-libtapi/src/llvm/include/llvm/Support/Allocator.h:87:3: note: copy constructor is implicitly deleted because 'BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096, 4096, 128>' has a user-declared move constructor
#26 146.5 BumpPtrAllocatorImpl(BumpPtrAllocatorImpl &&Old)
#26 146.5 ^
#26 146.5 1 error generated.
#26 146.5 tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/build.make:257: recipe for target 'tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/MachOReader.cpp.o' failed
#26 146.5 make[3]: *** [tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/MachOReader.cpp.o] Error 1
#26 146.9 [100%] Linking CXX static library ../../../../../../lib/libtapiObjCMetadata.a
#26 146.9 [100%] Built target tapiObjCMetadata
#26 147.1 /osxcross/build/apple-libtapi/src/tapi/lib/Core/Framework.cpp:44:17: warning: unused variable 'n' [-Wunused-variable]
#26 147.1 else if (auto n = filename.consume_back(".swiftinterface"))
#26 147.1 ^
#26 147.5 1 warning generated.
#26 147.5 CMakeFiles/Makefile2:41118: recipe for target 'tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/all' failed
#26 147.5 make[2]: *** [tools/clang/tools/tapi/lib/Core/CMakeFiles/tapiCore.dir/all] Error 2
#26 147.5 make[1]: *** [tools/clang/tools/tapi/tools/libtapi/CMakeFiles/libtapi.dir/rule] Error 2
#26 147.5 CMakeFiles/Makefile2:41771: recipe for target 'tools/clang/tools/tapi/tools/libtapi/CMakeFiles/libtapi.dir/rule' failed
#26 147.5 Makefile:11522: recipe for target 'libtapi' failed
#26 147.5 make: *** [libtapi] Error 2
#26 147.5 + _exit
#26 147.5 + EC=2
#26 147.5 + '[' 2 -ne 0 ']'
#26 147.5
#26 147.5 + test -z build.sh
#26 147.5 + echo ''
#26 147.5 + echo 'exiting with abnormal exit code (2)'
#26 147.5 + test -n 1
#26 147.5 exiting with abnormal exit code (2)
#26 147.5 + '[' -n apple-libtapi ']'
#26 147.5 + rm -f 'build/*_built_successfully'
#26 147.5
#26 147.5 + echo ''
#26 147.5 + test build.sh = build.sh
#26 147.5 + check_for_bug_1242300
#26 147.5 + '[' -e /etc/issue ']'
#26 147.5 ++ grep -i ubuntu.13.10 /etc/issue
#26 147.5 + '[' '' ']'
#26 ERROR: process "/bin/bash -c UNATTENDED=1 SDK_VERSION=14.5 OSX_VERSION_MIN=10.13 TARGET_DIR=/usr/local/osxcross OCDEBUG=1 ./build.sh" did not complete successfully: exit code: 2
—
Reply to this email directly, view it on GitHub
<#429 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASY5JFLMM7XRSYH6QMQ3KLZXD74RAVCNFSM6AAAAABOGUW5WOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJXGQ4DCMJSGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I can't tell what I'm missing, I've installed gcc12.2.0, clang-11, cmake14, etc., and I'm going crazy with this environment variable problem.
|
I don't understand that when I solve a problem, a new problem arises. It's like endless, it's been going on for a week, I'm tired, let me be autistic. |
You need to check your |
Argh, and I remember some years ago, oxscross can get confused by extra headers / libraries installed by |
now output:
When I install clang16 through the repository source and can view the version normally, the execution shows that I don't have libc++? When I specifically install RUN apt-get install -y --force-yes libc++1=3.5-2 libc++abi1=3.5-2 I even think there's something wrong with my docker image, and it's coming from an image that packages some of the tools I need for my development language. |
This is wrong, / irrelevant :
Your docker image is likely a very old linux distribution with hard dependency on libstdc++=6.3 and having some g++ 6.3 bits. As you known current g++ is about 14 / 15, so 6.3 is really old. |
You are right, when I compile using the debian12 image, everything works fine. But I am not sure if using a higher version will cause compatibility issues with the compiled program. (If I remember correctly, it is usually forward compatible.) |
I build using Xcode_15.4.xip but I get an error, am I missing something?
The text was updated successfully, but these errors were encountered: