Re: [tcpdump-workers] build failures on Solaris

2021-08-08 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- On Sun, 8 Aug 2021 12:02:53 -0700 Guy Harris wrote: [...] > I've checked in a change to explicitly tell CMake "this is a C-only > project, don't check for a C++ compiler", so it should now think it's > building 64-bit when building with GCC. > > See whether that fixes

Re: [tcpdump-workers] build failures on Solaris

2021-08-08 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Aug 8, 2021, at 2:26 AM, Denis Ovsienko wrote: > GCC+CMake fails early now (see attached). Good! That reveals the *underlying* problem: 1) CMake, by default, checks for both a C *and* a C++ compiler; 2) if it's checking for both compilers, the way CMake determines

Re: [tcpdump-workers] build failures on Solaris

2021-08-08 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- On Sun, 8 Aug 2021 01:22:09 -0700 Guy Harris 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

Re: [tcpdump-workers] build failures on Solaris

2021-08-08 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Jul 31, 2021, at 3:37 AM, Denis Ovsienko via tcpdump-workers wrote: > # Solaris 11 with GCC # > This is the opposite: the pre-compile libpcap feature test programs > fail to link so all libpcap feature tests fail. However, libpcap is > detected as available and

Re: [tcpdump-workers] build failures on Solaris

2021-08-03 Thread Dagobert Michelsen via tcpdump-workers
--- Begin Message --- Hi Guy, Am 03.08.2021 um 09:26 schrieb Guy Harris : > On Aug 3, 2021, at 12:07 AM, Dagobert Michelsen wrote: > >> The /64 suffix in bin/ and lib/ is a symlink to the respective architecture >> and simplifies cross-platform build between Sparc and x86. > > For whatever

Re: [tcpdump-workers] build failures on Solaris

2021-08-03 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Aug 3, 2021, at 12:07 AM, Dagobert Michelsen wrote: > The /64 suffix in bin/ and lib/ is a symlink to the respective architecture > and simplifies cross-platform build between Sparc and x86. For whatever reason, /usr/bin/64 isn't present on my Solaris 11.3 (x86-64) VM:

Re: [tcpdump-workers] build failures on Solaris

2021-08-03 Thread Dagobert Michelsen via tcpdump-workers
--- Begin Message --- Hi Denis, Am 03.08.2021 um 00:34 schrieb Denis Ovsienko via tcpdump-workers : > Though it is not clear why the 64-bit directories are not in PATH. This is because you need to decide whether you want to build against the 32 or 64 bit ABI. Solaris nowadays always runs a 64

Re: [tcpdump-workers] build failures on Solaris

2021-08-02 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- On Mon, 2 Aug 2021 14:31:18 -0700 Guy Harris wrote: > solaris11$ /usr/bin/pcap-config --libs > -L/usr/lib -lpcap > solaris11$ /usr/bin/amd64/pcap-config --libs > -L/usr/lib/amd64 -R/usr/lib/amd64 -lpcap > > on my x86-64 Solaris 11 VM. $ uname -a

Re: [tcpdump-workers] build failures on Solaris

2021-08-02 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Jul 31, 2021, at 3:37 AM, Denis Ovsienko via tcpdump-workers wrote: > # Solaris 11 with GCC # > This is the opposite: the pre-compile libpcap feature test programs > fail to link so all libpcap feature tests fail. However, libpcap is > detected as available and

Re: [tcpdump-workers] build failures on Solaris

2021-08-01 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Aug 1, 2021, at 6:08 PM, Denis Ovsienko wrote: > On Sun, 1 Aug 2021 15:45:39 -0700 > Guy Harris wrote: > >> 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

Re: [tcpdump-workers] build failures on Solaris

2021-08-01 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- On Sun, 1 Aug 2021 15:45:39 -0700 Guy Harris wrote: [...] > So where do the Solaris 11 hosts show up on the buildbot site? They don't. Solaris 9 and 11 are not in any CI at all. OpenCSW Buildbot runs on Solaris 10, but uses a single build script. I used OpenCSW shell

Re: [tcpdump-workers] build failures on Solaris

2021-08-01 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Jul 31, 2021, at 4:35 PM, Denis Ovsienko wrote: > On Sat, 31 Jul 2021 14:55:32 -0700 > Guy Harris 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,

Re: [tcpdump-workers] build failures on Solaris

2021-07-31 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- On Sat, 31 Jul 2021 14:55:32 -0700 Guy Harris 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,

Re: [tcpdump-workers] build failures on Solaris

2021-07-31 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Jul 31, 2021, at 3:37 AM, Denis Ovsienko via tcpdump-workers wrote: > # Solaris 11 with GCC # > This is the opposite: the pre-compile libpcap feature test programs > fail to link so all libpcap feature tests fail. However, libpcap is > detected as available and