Skip to content

Instantly share code, notes, and snippets.

@markmandel
Created November 30, 2022 01:35
Show Gist options
  • Save markmandel/0f5c270c80f138d2ca7be63d18f0f201 to your computer and use it in GitHub Desktop.
Save markmandel/0f5c270c80f138d2ca7be63d18f0f201 to your computer and use it in GitHub Desktop.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Protocol Buffers configure 3.21.5, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/configure --prefix=/workspace/target/build-image/release/build/protobuf-src-a2a5be1d214dd3cd/out/install --disable-shared --enable-static --disable-maintainer-mode
## --------- ##
## Platform. ##
## --------- ##
hostname = c1de6a500db9
uname -m = x86_64
uname -r = 6.0.0-4-amd64
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Debian 6.0.8-1 (2022-11-11)
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /root/.cargo/bin/
PATH: /usr/local/musl/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/local/osxcross/target/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3059: looking for aux files: ltmain.sh ar-lib compile missing install-sh config.guess config.sub
configure:3072: trying /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/
configure:3101: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/ltmain.sh found
configure:3101: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/ar-lib found
configure:3101: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/compile found
configure:3101: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/missing found
configure:3083: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/install-sh found
configure:3101: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/config.guess found
configure:3101: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/config.sub found
configure:3214: checking whether to enable maintainer-specific portions of Makefiles
configure:3224: result: no
configure:3275: checking build system type
configure:3290: result: x86_64-pc-linux-gnu
configure:3310: checking host system type
configure:3324: result: x86_64-pc-linux-gnu
configure:3344: checking target system type
configure:3358: result: x86_64-pc-linux-gnu
configure:3402: checking for a BSD-compatible install
configure:3475: result: /usr/bin/install -c
configure:3486: checking whether build environment is sane
configure:3541: result: yes
configure:3700: checking for a race-free mkdir -p
configure:3744: result: /bin/mkdir -p
configure:3751: checking for gawk
configure:3786: result: no
configure:3751: checking for mawk
configure:3772: found /usr/bin/mawk
configure:3783: result: mawk
configure:3794: checking whether make sets $(MAKE)
configure:3817: result: yes
configure:3847: checking whether make supports nested variables
configure:3865: result: yes
configure:3950: checking whether UID '0' is supported by ustar format
configure:3953: result: yes
configure:3960: checking whether GID '0' is supported by ustar format
configure:3963: result: yes
configure:3971: checking how to create a ustar tar archive
configure:3982: tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:3985: $? = 0
configure:4025: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:4028: $? = 0
configure:4032: tar -xf - <conftest.tar
configure:4035: $? = 0
configure:4037: cat conftest.dir/file
GrepMe
configure:4040: $? = 0
configure:4054: result: gnutar
configure:4134: checking whether make supports nested variables
configure:4152: result: yes
configure:4263: checking for gcc
configure:4295: result: o64-clang
configure:4648: checking for C compiler version
configure:4657: o64-clang --version >&5
Debian clang version 11.0.1-2
Target: x86_64-apple-darwin21.4
Thread model: posix
InstalledDir: /usr/bin
configure:4668: $? = 0
configure:4657: o64-clang -v >&5
Debian clang version 11.0.1-2
Target: x86_64-apple-darwin21.4
Thread model: posix
InstalledDir: /usr/bin
clang: warning: argument unused during compilation: '-mlinker-version=609' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-isystem /usr/lib/llvm-11/bin/../lib/clang/11.0.1/include' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-isysroot /usr/local/osxcross/target/bin/../SDK/MacOSX12.3.sdk' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-cxx-isystem /usr/local/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-Wno-liblto' [-Wunused-command-line-argument]
... rest of stderr output deleted ...
configure:4668: $? = 0
configure:4657: o64-clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4668: $? = 1
configure:4657: o64-clang -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:4668: $? = 1
configure:4657: o64-clang -version >&5
clang: error: unknown argument '-version'; did you mean '--version'?
clang: error: no input files
configure:4668: $? = 1
configure:4688: checking whether the C compiler works
configure:4710: o64-clang -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:4714: $? = 0
configure:4764: result: yes
configure:4767: checking for C compiler default output file name
configure:4769: result: a.out
configure:4775: checking for suffix of executables
configure:4782: o64-clang -o conftest -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:4786: $? = 0
configure:4809: result:
configure:4831: checking whether we are cross compiling
configure:4839: o64-clang -o conftest -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:4843: $? = 0
configure:4850: ./conftest
configure:4854: $? = 0
configure:4869: result: no
configure:4874: checking for suffix of object files
configure:4897: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:4901: $? = 0
configure:4923: result: o
configure:4927: checking whether the compiler supports GNU C
configure:4947: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:4947: $? = 0
configure:4957: result: yes
configure:4968: checking whether o64-clang accepts -g
configure:4989: o64-clang -c -g conftest.c >&5
configure:4989: $? = 0
configure:5033: result: yes
configure:5053: checking for o64-clang option to enable C11 features
configure:5068: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:5068: $? = 0
configure:5086: result: none needed
configure:5202: checking whether o64-clang understands -c and -o together
configure:5225: o64-clang -c conftest.c -o conftest2.o
configure:5228: $? = 0
configure:5225: o64-clang -c conftest.c -o conftest2.o
configure:5228: $? = 0
configure:5240: result: yes
configure:5260: checking whether make supports the include directive
configure:5275: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:5278: $? = 0
configure:5297: result: yes (GNU style)
configure:5323: checking dependency style of o64-clang
configure:5435: result: gcc3
configure:5578: checking for C++ compiler version
configure:5587: o64-clang++ --version >&5
Debian clang version 11.0.1-2
Target: x86_64-apple-darwin21.4
Thread model: posix
InstalledDir: /usr/bin
configure:5598: $? = 0
configure:5587: o64-clang++ -v >&5
Debian clang version 11.0.1-2
Target: x86_64-apple-darwin21.4
Thread model: posix
InstalledDir: /usr/bin
configure:5598: $? = 0
configure:5587: o64-clang++ -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:5598: $? = 1
configure:5587: o64-clang++ -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:5598: $? = 1
configure:5602: checking whether the compiler supports GNU C++
configure:5622: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:5622: $? = 0
configure:5632: result: yes
configure:5643: checking whether o64-clang++ accepts -g
configure:5664: o64-clang++ -c -g conftest.cpp >&5
configure:5664: $? = 0
configure:5708: result: yes
configure:5728: checking for o64-clang++ option to enable C++11 features
configure:5743: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
In file included from conftest.cpp:20:
In file included from /usr/local/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/exception:80:
/usr/local/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found
#include_next <stddef.h>
^~~~~~~~~~
1 error generated.
configure:5743: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
|
| // Does the compiler advertise C++98 conformance?
| #if !defined __cplusplus || __cplusplus < 199711L
| # error "Compiler does not advertise C++98 conformance"
| #endif
|
| // These inclusions are to reject old compilers that
| // lack the unsuffixed header files.
| #include <cstdlib>
| #include <exception>
|
| // <cassert> and <cstring> are *not* freestanding headers in C++98.
| extern void assert (int);
| namespace std {
| extern int strcmp (const char *, const char *);
| }
|
| // Namespaces, exceptions, and templates were all added after "C++ 2.0".
| using std::exception;
| using std::strcmp;
|
| namespace {
|
| void test_exception_syntax()
| {
| try {
| throw "test";
| } catch (const char *s) {
| // Extra parentheses suppress a warning when building autoconf itself,
| // due to lint rules shared with more typical C programs.
| assert (!(strcmp) (s, "test"));
| }
| }
|
| template <typename T> struct test_template
| {
| T const val;
| explicit test_template(T t) : val(t) {}
| template <typename U> T add(U u) { return static_cast<T>(u) + val; }
| };
|
| } // anonymous namespace
|
|
| // Does the compiler advertise C++ 2011 conformance?
| #if !defined __cplusplus || __cplusplus < 201103L
| # error "Compiler does not advertise C++11 conformance"
| #endif
|
| namespace cxx11test
| {
| constexpr int get_val() { return 20; }
|
| struct testinit
| {
| int i;
| double d;
| };
|
| class delegate
| {
| public:
| delegate(int n) : n(n) {}
| delegate(): delegate(2354) {}
|
| virtual int getval() { return this->n; };
| protected:
| int n;
| };
|
| class overridden : public delegate
| {
| public:
| overridden(int n): delegate(n) {}
| virtual int getval() override final { return this->n * 2; }
| };
|
| class nocopy
| {
| public:
| nocopy(int i): i(i) {}
| nocopy() = default;
| nocopy(const nocopy&) = delete;
| nocopy & operator=(const nocopy&) = delete;
| private:
| int i;
| };
|
| // for testing lambda expressions
| template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
| {
| return f(v);
| }
|
| // for testing variadic templates and trailing return types
| template <typename V> auto sum(V first) -> V
| {
| return first;
| }
| template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
| {
| return first + sum(rest...);
| }
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| assert (argc);
| assert (! argv[0]);
| {
| test_exception_syntax ();
| test_template<double> tt (2.0);
| assert (tt.add (4) == 6.0);
| assert (true && !false);
| }
|
|
| {
| // Test auto and decltype
| auto a1 = 6538;
| auto a2 = 48573953.4;
| auto a3 = "String literal";
|
| int total = 0;
| for (auto i = a3; *i; ++i) { total += *i; }
|
| decltype(a2) a4 = 34895.034;
| }
| {
| // Test constexpr
| short sa[cxx11test::get_val()] = { 0 };
| }
| {
| // Test initializer lists
| cxx11test::testinit il = { 4323, 435234.23544 };
| }
| {
| // Test range-based for
| int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
| 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
| for (auto &x : array) { x += 23; }
| }
| {
| // Test lambda expressions
| using cxx11test::eval;
| assert (eval ([](int x) { return x*2; }, 21) == 42);
| double d = 2.0;
| assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
| assert (d == 5.0);
| assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
| assert (d == 5.0);
| }
| {
| // Test use of variadic templates
| using cxx11test::sum;
| auto a = sum(1);
| auto b = sum(1, 2);
| auto c = sum(1.0, 2.0, 3.0);
| }
| {
| // Test constructor delegation
| cxx11test::delegate d1;
| cxx11test::delegate d2();
| cxx11test::delegate d3(45);
| }
| {
| // Test override and final
| cxx11test::overridden o1(55464);
| }
| {
| // Test nullptr
| char *c = nullptr;
| }
| {
| // Test template brackets
| test_template<::test_template<int>> v(test_template<int>(12));
| }
| {
| // Unicode literals
| char const *utf8 = u8"UTF-8 string \u2500";
| char16_t const *utf16 = u"UTF-8 string \u2500";
| char32_t const *utf32 = U"UTF-32 string \u2500";
| }
|
| return ok;
| }
|
configure:5761: result: none needed
configure:5827: checking dependency style of o64-clang++
configure:5939: result: gcc3
configure:5959: checking how to run the C preprocessor
configure:5985: o64-clang -E conftest.c
configure:5985: $? = 0
configure:6000: o64-clang -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:6000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6027: result: o64-clang -E
configure:6041: o64-clang -E conftest.c
configure:6041: $? = 0
configure:6056: o64-clang -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:6056: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6147: checking for gcc
configure:6168: found /usr/bin/gcc
configure:6179: result: gcc
configure:6532: checking for C compiler version
configure:6541: gcc --version >&5
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 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:6552: $? = 0
configure:6541: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --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 --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=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=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
... rest of stderr output deleted ...
configure:6552: $? = 0
configure:6541: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:6552: $? = 1
configure:6541: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:6552: $? = 1
configure:6541: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:6552: $? = 1
configure:6556: checking whether the compiler supports GNU C
configure:6586: result: yes
configure:6597: checking whether gcc accepts -g
configure:6618: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:6618: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:6634: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:6634: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:6651: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:6651: $? = 0
configure:6662: result: yes
configure:6682: checking for gcc option to enable C11 features
configure:6715: result: none needed
configure:6831: checking whether gcc understands -c and -o together
configure:6869: result: yes
configure:6888: checking dependency style of gcc
configure:7000: result: gcc3
configure:7020: checking how to run the C preprocessor
configure:7046: o64-clang -E conftest.c
configure:7046: $? = 0
configure:7061: o64-clang -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:7061: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7088: result: gcc -E
configure:7102: o64-clang -E conftest.c
configure:7102: $? = 0
configure:7117: o64-clang -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:7117: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7161: checking how to run the C++ preprocessor
configure:7183: o64-clang++ -E conftest.cpp
configure:7183: $? = 0
configure:7198: o64-clang++ -E conftest.cpp
conftest.cpp:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:7198: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7225: result: o64-clang++ -E
configure:7239: o64-clang++ -E conftest.cpp
configure:7239: $? = 0
configure:7254: o64-clang++ -E conftest.cpp
conftest.cpp:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
configure:7254: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7354: checking for g++
configure:7375: found /usr/bin/g++
configure:7386: result: g++
configure:7413: checking for C++ compiler version
configure:7422: g++ --version >&5
g++ (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 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:7433: $? = 0
configure:7422: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --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 --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=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=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
... rest of stderr output deleted ...
configure:7433: $? = 0
configure:7422: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:7433: $? = 1
configure:7422: g++ -qversion >&5
g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:7433: $? = 1
configure:7437: checking whether the compiler supports GNU C++
configure:7467: result: yes
configure:7478: checking whether g++ accepts -g
configure:7499: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:7499: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:7515: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:7515: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:7532: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:7532: $? = 0
configure:7543: result: yes
configure:7563: checking for g++ option to enable C++11 features
configure:7596: result: none needed
configure:7662: checking dependency style of g++
configure:7774: result: gcc3
configure:7794: checking how to run the C++ preprocessor
configure:7816: g++ -E conftest.cpp
configure:7816: $? = 0
configure:7831: g++ -E conftest.cpp
conftest.cpp:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7831: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7858: result: g++ -E
configure:7872: g++ -E conftest.cpp
configure:7872: $? = 0
configure:7887: g++ -E conftest.cpp
conftest.cpp:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7887: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7934: checking for stdio.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for stdlib.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for string.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for inttypes.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for stdint.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for strings.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for sys/stat.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for sys/types.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for unistd.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for wchar.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7934: $? = 0
configure:7934: result: yes
configure:7934: checking for minix/config.h
configure:7934: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
conftest.cpp:49:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>
^~~~~~~~~~~~~~~~
1 error generated.
configure:7934: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| /* end confdefs.h. */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:7934: result: no
configure:7965: checking whether it is safe to define __EXTENSIONS__
configure:7984: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:7984: $? = 0
configure:7992: result: yes
configure:7995: checking whether _XOPEN_SOURCE should be defined
configure:8017: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
configure:8017: $? = 0
configure:8044: result: no
configure:8161: checking for ar
configure:8182: found /usr/bin/ar
configure:8193: result: ar
configure:8219: checking the archiver (ar) interface
configure:8236: o64-clang -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.c >&5
clang: warning: argument unused during compilation: '-mmacosx-version-min=10.14.0' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-arch x86_64' [-Wunused-command-line-argument]
configure:8236: $? = 0
configure:8239: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:8242: $? = 0
configure:8270: result: ar
configure:8708: checking C++ compiler flags...
configure:8731: result: use user-supplied: -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu
configure:8738: checking for o64-clang++ options needed to detect all undeclared functions
configure:8760: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
conftest.cpp:42:8: error: use of undeclared identifier 'strchr'
(void) strchr;
^
1 error generated.
configure:8760: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h. */
|
| int
| main (void)
| {
| (void) strchr;
| ;
| return 0;
| }
configure:8787: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
In file included from conftest.cpp:39:
In file included from /usr/lib/llvm-11/bin/../lib/clang/11.0.1/include/limits.h:21:
In file included from /usr/local/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/limits.h:61:
/usr/include/limits.h:124:16: fatal error: 'limits.h' file not found
# include_next <limits.h>
^~~~~~~~~~
1 error generated.
configure:8787: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h. */
| #include <float.h>
| #include <limits.h>
| #include <stdarg.h>
| #include <stddef.h>
| extern void ac_decl (int, char *);
|
| int
| main (void)
| {
| (void) ac_decl (0, (char *) 0);
| (void) ac_decl;
|
| ;
| return 0;
| }
configure:8760: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
conftest.cpp:42:8: error: use of undeclared identifier 'strchr'
(void) strchr;
^
1 error generated.
configure:8760: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h. */
|
| int
| main (void)
| {
| (void) strchr;
| ;
| return 0;
| }
configure:8787: o64-clang++ -c -O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu conftest.cpp >&5
In file included from conftest.cpp:39:
In file included from /usr/lib/llvm-11/bin/../lib/clang/11.0.1/include/limits.h:21:
In file included from /usr/local/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/limits.h:61:
/usr/include/limits.h:124:16: fatal error: 'limits.h' file not found
# include_next <limits.h>
^~~~~~~~~~
1 error generated.
configure:8787: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "3.21.5"
| #define PACKAGE_STRING "Protocol Buffers 3.21.5"
| #define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "3.21.5"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h. */
| #include <float.h>
| #include <limits.h>
| #include <stdarg.h>
| #include <stddef.h>
| extern void ac_decl (int, char *);
|
| int
| main (void)
| {
| (void) ac_decl (0, (char *) 0);
| (void) ac_decl;
|
| ;
| return 0;
| }
configure:8804: result: cannot detect
configure:8808: error: in `/workspace/target/build-image/release/build/protobuf-src-a2a5be1d214dd3cd/out/install/build':
configure:8810: error: cannot make o64-clang++ report undeclared builtins
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_build_prog_CPP='gcc -E'
ac_cv_build_prog_CXXCPP='g++ -E'
ac_cv_build_prog_cc_g=yes
ac_cv_build_prog_cxx_g=yes
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_cxx_undeclared_builtin_options='cannot detect'
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=o64-clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=o64-clang++
ac_cv_env_DIST_LANG_set=
ac_cv_env_DIST_LANG_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='o64-clang -E'
ac_cv_prog_CXXCPP='o64-clang++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=o64-clang
ac_cv_prog_ac_ct_CC_FOR_BUILD=gcc
ac_cv_prog_ac_ct_CXX_FOR_BUILD=g++
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_should_define__xopen_source=no
ac_cv_target=x86_64-pc-linux-gnu
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_prog_tar_ustar=gnutar
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/missing'\'' automake-1.16'
AWK='mawk'
BUILD_EXEEXT=''
BUILD_OBJEXT=''
CC='o64-clang'
CCDEPMODE='depmode=gcc3'
CC_FOR_BUILD='gcc'
CFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu'
CFLAGS_FOR_BUILD='-g -O2'
CPP='o64-clang -E'
CPPFLAGS=''
CPPFLAGS_FOR_BUILD=''
CPP_FOR_BUILD='gcc -E'
CSCOPE='cscope'
CTAGS='ctags'
CXX='o64-clang++'
CXXCPP='o64-clang++ -E'
CXXCPPFLAGS_FOR_BUILD=''
CXXCPP_FOR_BUILD='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC --target=x86_64-unknown-linux-gnu'
CXXFLAGS_FOR_BUILD='-g -O2'
CXX_FOR_BUILD='g++'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DIST_LANG='all'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS='etags'
EXEEXT=''
FGREP=''
FILECMD=''
GCC_FALSE='#'
GCC_TRUE=''
GREP=''
HAVE_CXX11=''
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE=''
HAVE_PTHREAD_FALSE=''
HAVE_PTHREAD_TRUE=''
HAVE_ZLIB_FALSE=''
HAVE_ZLIB_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
ISAINFO=''
LD=''
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LIBATOMIC_LIBS=''
LIBLOG_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/missing'\'' makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJC=''
OBJCDEPMODE=''
OBJCFLAGS=''
OBJC_CONFORMANCE_TEST_FALSE=''
OBJC_CONFORMANCE_TEST_TRUE=''
OBJDUMP=''
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='protobuf'
PACKAGE_BUGREPORT='protobuf@googlegroups.com'
PACKAGE_NAME='Protocol Buffers'
PACKAGE_STRING='Protocol Buffers 3.21.5'
PACKAGE_TARNAME='protobuf'
PACKAGE_URL=''
PACKAGE_VERSION='3.21.5'
PATH_SEPARATOR=':'
POW_LIB=''
PROTOBUF_OPT_FLAG=''
PROTOC=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_EXTERNAL_PROTOC_FALSE=''
USE_EXTERNAL_PROTOC_TRUE=''
VERSION='3.21.5'
ac_ct_AR='ar'
ac_ct_CC='o64-clang'
ac_ct_CC_FOR_BUILD='gcc'
ac_ct_CXX=''
ac_ct_CXX_FOR_BUILD='g++'
ac_ct_DUMPBIN=''
ac_ct_OBJC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__fastdepOBJC_FALSE=''
am__fastdepOBJC_TRUE='#'
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-src-1.1.0+21.5/protobuf/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/workspace/target/build-image/release/build/protobuf-src-a2a5be1d214dd3cd/out/install'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Protocol Buffers"
#define PACKAGE_TARNAME "protobuf"
#define PACKAGE_VERSION "3.21.5"
#define PACKAGE_STRING "Protocol Buffers 3.21.5"
#define PACKAGE_BUGREPORT "protobuf@googlegroups.com"
#define PACKAGE_URL ""
#define PACKAGE "protobuf"
#define VERSION "3.21.5"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WCHAR_H 1
#define STDC_HEADERS 1
#define _ALL_SOURCE 1
#define _DARWIN_C_SOURCE 1
#define _GNU_SOURCE 1
#define _HPUX_ALT_XOPEN_SOCKET_API 1
#define _NETBSD_SOURCE 1
#define _OPENBSD_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
#define __STDC_WANT_LIB_EXT2__ 1
#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
#define _TANDEM_SOURCE 1
#define __EXTENSIONS__ 1
configure: exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment