Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Mike Pumford
On 06/02/2020 23:30, Mike Pumford wrote: I'm not building 9.0-RC packages on i386 yet but I can say that on amd64 with 9.0 pkgsrc current from 02 Feb 0710am UTC and 9.0RC1 01 Feb 0745 UTC that cmake certainly works. These are builds in a chroot so they are guaranteed to have a totally clean tr

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Mike Pumford
On 06/02/2020 11:40, Manuel Bouyer wrote: On Thu, Feb 06, 2020 at 12:13:31PM +0100, Marc Baudoin wrote: [...] I can't because I gave up on C++ some 20 years ago. Anyway, trying to compile pkgsrc/devel/cmake or pkgsrc/print/poppler fails every time for me as indicated in my previous message. It

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Marc Baudoin
Greg Troxel écrit : > Marc Baudoin writes: > > >> I'm building pkgsrc 2019Q4 on 9.0_RC2/i386 and both poppler and cmake did > >> build > >> fine. > > > > Then can it be because of some leftover files from a previous > > version (the machine I have the problem on has seen every NetBSD > > versio

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Greg Troxel
Marc Baudoin writes: >> I'm building pkgsrc 2019Q4 on 9.0_RC2/i386 and both poppler and cmake did >> build >> fine. > > Then can it be because of some leftover files from a previous > version (the machine I have the problem on has seen every NetBSD > version since 2013)? Yes, it could be. Ther

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Marc Baudoin
Manuel Bouyer écrit : > On Thu, Feb 06, 2020 at 12:13:31PM +0100, Marc Baudoin wrote: > > [...] > > I can't because I gave up on C++ some 20 years ago. Anyway, > > trying to compile pkgsrc/devel/cmake or pkgsrc/print/poppler > > fails every time for me as indicated in my previous message. > > >

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Manuel Bouyer
On Thu, Feb 06, 2020 at 12:13:31PM +0100, Marc Baudoin wrote: > [...] > I can't because I gave up on C++ some 20 years ago. Anyway, > trying to compile pkgsrc/devel/cmake or pkgsrc/print/poppler > fails every time for me as indicated in my previous message. > > It could also be a pthreads problem

Re: OpenSSL 1.1.1 missing shared objects

2020-02-06 Thread Martin Husemann
On Thu, Feb 06, 2020 at 06:22:56AM -0500, Jeffrey Walton wrote: > As long as NetBSD supplies an error when RUNPATH is not supported, I > should be OK. No, it won't error on that test. cc -Wl,--enable-new-dtags works, but the runtime linker ignores DT_RUNPATH. There was a lengthy discussion about

Re: OpenSSL 1.1.1 missing shared objects

2020-02-06 Thread Jeffrey Walton
On Thu, Feb 6, 2020 at 6:17 AM Martin Husemann wrote: > > On Thu, Feb 06, 2020 at 06:01:43AM -0500, Jeffrey Walton wrote: > > $ objdump -x /usr/local/bin/openssl | grep -E 'RPATH|RUNPATH' > > RUNPATH $ORIGIN/../lib:/usr/local/lib > > What NetBSD version are you using? NetBS

Re: OpenSSL 1.1.1 missing shared objects

2020-02-06 Thread Martin Husemann
On Thu, Feb 06, 2020 at 06:01:43AM -0500, Jeffrey Walton wrote: > $ objdump -x /usr/local/bin/openssl | grep -E 'RPATH|RUNPATH' > RUNPATH $ORIGIN/../lib:/usr/local/lib What NetBSD version are you using? IIRC older version only supported RPATH in the runtime linker (as that i

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Marc Baudoin
Kamil Rytarowski écrit : > On 06.02.2020 10:09, Marc Baudoin wrote: > > > > I recently upgraded a NetBSD/amd64 8.1 system to 9.0_RC2 and I > > noticed problems when compiling C++ programs. > > > > For instance, with pkgsrc/devel/cmake: [...] > > or with pkgsrc/print/poppler: > > Please share a

Re: Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Kamil Rytarowski
On 06.02.2020 10:09, Marc Baudoin wrote: > Hi, > > I recently upgraded a NetBSD/amd64 8.1 system to 9.0_RC2 and I > noticed problems when compiling C++ programs. > > For instance, with pkgsrc/devel/cmake: > > In file included from /usr/include/g++/memory:74:0, > from cmake_boots

OpenSSL 1.1.1 missing shared objects

2020-02-06 Thread Jeffrey Walton
Hi Everyone, I've read https://www.netbsd.org/docs/elf.html and I am having trouble understanding some results. I built and installed OpenSSL 1.1.d in prefix=/usr/local. LDFLAGS="-Wl,-R,$$ORIGIN/../lib -Wl,-R,/usr/local/lib -Wl,--enable-new-dtags". Here is the problem: $ /usr/local/bin/open

Problems with C++ compiler on 9.0_RC2

2020-02-06 Thread Marc Baudoin
Hi, I recently upgraded a NetBSD/amd64 8.1 system to 9.0_RC2 and I noticed problems when compiling C++ programs. For instance, with pkgsrc/devel/cmake: In file included from /usr/include/g++/memory:74:0, from cmake_bootstrap_13004_test.cxx:3: /usr/include/g++/ext/concurrence.h:1