Re: Modernize regress/libexec/ld.so/constructor

2016-09-27 Thread Alexander Bluhm
On Tue, Sep 27, 2016 at 07:44:03PM +0200, Mark Kettenis wrote: > > Date: Tue, 27 Sep 2016 18:01:51 +0200 > > From: Alexander Bluhm > > > > On Mon, Sep 26, 2016 at 11:39:29PM +0200, Mark Kettenis wrote: > > > Since the tests succeed on amd64, and should succeed on other >

Re: Modernize regress/libexec/ld.so/constructor

2016-09-27 Thread Mark Kettenis
> Date: Tue, 27 Sep 2016 18:01:51 +0200 > From: Alexander Bluhm > > On Mon, Sep 26, 2016 at 11:39:29PM +0200, Mark Kettenis wrote: > > Since the tests succeed on amd64, and should succeed on other > > architectures, the diff re-enables this test. > > When running with

Re: Modernize regress/libexec/ld.so/constructor

2016-09-27 Thread Alexander Bluhm
On Mon, Sep 26, 2016 at 11:39:29PM +0200, Mark Kettenis wrote: > Since the tests succeed on amd64, and should succeed on other > architectures, the diff re-enables this test. When running with "make regress" the test fails as the regress target does not build the libraries. Usually I add an

Re: Modernize regress/libexec/ld.so/constructor

2016-09-26 Thread Alexander Bluhm
On Tue, Sep 27, 2016 at 12:00:55AM +0200, Mark Kettenis wrote: > > Date: Mon, 26 Sep 2016 23:54:46 +0200 > > From: Alexander Bluhm > > > > On Mon, Sep 26, 2016 at 11:39:29PM +0200, Mark Kettenis wrote: > > > Diff below modernizes the C++ code a bit such that the test

Re: Modernize regress/libexec/ld.so/constructor

2016-09-26 Thread Mark Kettenis
> Date: Mon, 26 Sep 2016 23:54:46 +0200 > From: Alexander Bluhm > > On Mon, Sep 26, 2016 at 11:39:29PM +0200, Mark Kettenis wrote: > > Diff below modernizes the C++ code a bit such that the test case > > compiles again without warnings. It also uses CPPFLAGS instead of

Re: Modernize regress/libexec/ld.so/constructor

2016-09-26 Thread Alexander Bluhm
On Mon, Sep 26, 2016 at 11:39:29PM +0200, Mark Kettenis wrote: > Diff below modernizes the C++ code a bit such that the test case > compiles again without warnings. It also uses CPPFLAGS instead of > CFLAGS such that the c++ compiler actually stands a chance finding the > header files. > > Since

Modernize regress/libexec/ld.so/constructor

2016-09-26 Thread Mark Kettenis
Diff below modernizes the C++ code a bit such that the test case compiles again without warnings. It also uses CPPFLAGS instead of CFLAGS such that the c++ compiler actually stands a chance finding the header files. Since the tests succeed on amd64, and should succeed on other architectures, the