tcpdump mailing list archives

Re: build failures on Solaris


From: Guy Harris via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Sun, 1 Aug 2021 15:45:39 -0700

--- Begin Message --- From: Guy Harris <gharris () sonic net>
Date: Sun, 1 Aug 2021 15:45:39 -0700
On Jul 31, 2021, at 4:35 PM, Denis Ovsienko <denis () ovsienko info> wrote:

On Sat, 31 Jul 2021 14:55:32 -0700
Guy Harris <gharris () sonic net> wrote:

[...]
What version of CMake is being used, and how was it installed?

My Solaris 11 x86-64 virtual machine has CMake 2.8.6 in
/usr/ccs/bin/cmake, installed from Sun^WOracle's Image Packaging
System repositories, and I'm not seeing that behavior - the test
programs are linked with -lpcap, as is tcpdump.

This issue reproduces on OpenCSW host unstable11s:

So where do the Solaris 11 hosts show up on the buildbot site?

# CMake 3.14.3 (OpenCSW package)
# GCC 7.3.0

MATRIX_CC=gcc \
MATRIX_CMAKE=yes \
MATRIX_BUILD_LIBPCAP=no \
./build_matrix.sh 
[...]
$ /tmp/tcpdump_build_matrix.XXVrYyid/bin/tcpdump -D
/tmp/tcpdump_build_matrix.XXVrYyid/bin/tcpdump: illegal option -- D
tcpdump version 5.0.0-PRE-GIT
libpcap version unknown

As I have discovered just now, it does not reproduce on OpenCSW host
gcc211:

Probably some annoying combination of one or more of "different compilers", "later version of CMake", "at least some 
versions of cc and gcc build 32-bit binaries by default even on Solaris 11 on a 64-bit machine(!)", and so on.

This is going to take a fair bit of cleanup, not the least of which includes forcing build with both autotools *and* 
CMake to default to 64-bit builds on 64-bit Solaris.

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

Current thread: