--- Begin Message ---
On Sun, 8 Aug 2021 01:22:09 -0700
Guy Harris <ghar...@sonic.net> wrote:

[...]
> I've checked in changes to:
> 
>       check the bit-width of the build in autotools;
> 
>       on Solaris, use the results of the bit-width checks for
> autotools and CMake to figure out which version of pcap-config to run.
> 
> See if that clears up the Solaris 11 with GCC build.

GCC+CMake fails early now (see attached). GCC+Autoconf works, as before.

-- 
    Denis Ovsienko
> MATRIX_CC=gcc MATRIX_CMAKE=yes ./build_matrix.sh
SunOS unstable11s 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise
OS identification: SunOS-5.11
Sunday, August  8, 2021 11:02:23 AM CEST
PREFIX set to '/tmp/tcpdump_build_matrix.XXoP3bDd'
Use system libpcap
make: Fatal error: Don't know how to make target `distclean'
(Ignoring the make error.)
===== SETUP 1: BUILD_LIBPCAP=no REMOTE=? CC=gcc CMAKE=yes CRYPTO=no SMB=no =====
$ ./build.sh
gcc (GCC) 7.3.0
Copyright (C) 2017 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.
Compiler identification: gcc-7.3.0
$ rm -rf build
$ mkdir build
$ cd build
$ cmake -DWITH_CRYPTO=no -DENABLE_SMB=no -DEXTRA_CFLAGS=-Werror 
-DCMAKE_INSTALL_PREFIX=/tmp/tcpdump_build_matrix.XXoP3bDd ..
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is SunPro 5.9.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/CC
-- Check for working CXX compiler: /usr/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:62 (message):
  Architecture flags must be set in both CFLAGS and CXXFLAGS


-- Configuring incomplete, errors occurred!

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to