On Tue, Dec 15, 2020 at 03:56:19PM +0100, Charlene Wendling wrote:

> On Tue, 15 Dec 2020 08:42:58 +0100
> Otto Moerbeek wrote:
> 
> > On Tue, Dec 15, 2020 at 02:28:01AM -0500, Brad Smith wrote:
> > 
> > > On Tue, Dec 15, 2020 at 08:19:13AM +0100, Otto Moerbeek wrote:
> > > > On Mon, Dec 14, 2020 at 11:05:45AM +0100, Otto Moerbeek wrote:
> > > > 
> > > > > On Mon, Dec 14, 2020 at 02:52:02AM -0500, Brad Smith wrote:
> > > > > 
> > > > > > On 12/14/2020 2:39 AM, Otto Moerbeek wrote:
> > > > > > > On Mon, Dec 14, 2020 at 02:36:37AM -0500, Brad Smith wrote:
> > > > > > > 
> > > > > > > > I'm on my phone and don't have another log to compare to
> > > > > > > > but this line stuck out to me..
> > > > > > > > 
> > > > > > > > checking for the toolset name used by Boost for c++...
> > > > > > > > gcc42 -gcc
> > > > > > > That configure line is alwasy reported, also on other
> > > > > > > platforms, since it does not seem to cause issues there I
> > > > > > > never looked into it.
> > > > > > 
> > > > > > Could be a potential issue. Just something to consider. I'm
> > > > > > curious to see what it says on amd64 and i386.
> > > > > 
> > > > > amd64 and arm64:
> > > > > 
> > > > >       checking for the toolset name used by Boost for c++...
> > > > > gcc42 -gcc
> > > > > 
> > > > > I don't have an i386 at thand,
> > > > > 
> > > > >       -Otto
> > > > > 
> > > > 
> > > > Removing pacthes/patch-libs_context_build_Jamfile_v2 in boost and
> > > > bumping the revision produces a boost-md that has the correct
> > > > symbols. Test build for pdns_recursor is still running, but it
> > > > now detects the boost context functionality correctly.
> > > > 
> > > > As for the toolchain configure check in pdns_recursor: the value
> > > > produced is not used by the build afaiks. I'll put it on my list
> > > > of things to look at, but it's not high priority.
> > > 
> > > Ah, yes. I noticed that was merged upstream and released with 1.69
> > > when looking at newer Boost. The patch there was mismerged by
> > > patch(1).
> > 
> > Yes, ok,
> > 
> >     -Otto
> 
> This also fixes that build failure:
> 
> > http://build-failures.rhaalovely.net/powerpc/2020-11-27/net/icinga/core2,-main.log
> 
> Thanks a lot! OK cwen@

I can now confirm pdns_recursor builds and runs fine wit this as well,

        -Otto

> 
> > > 
> > > 
> > > Index: Makefile
> > > ===================================================================
> > > RCS file: /home/cvs/ports/devel/boost/Makefile,v
> > > retrieving revision 1.104
> > > diff -u -p -u -p -r1.104 Makefile
> > > --- Makefile      26 Nov 2020 00:08:36 -0000      1.104
> > > +++ Makefile      15 Dec 2020 07:24:21 -0000
> > > @@ -6,7 +6,7 @@ COMMENT-main=     free peer-reviewed portabl
> > >  COMMENT-md=      machine-dependent libraries for boost
> > >  
> > >  VERSION= 1.70.0
> > > -REVISION=        0
> > > +REVISION=        1
> > >  DISTNAME=        boost_${VERSION:S/./_/g}
> > >  PKGNAME-main=    boost-${VERSION}
> > >  PKGNAME-md=      boost-md-${VERSION}
> > > Index: patches/patch-libs_context_build_Jamfile_v2
> > > ===================================================================
> > > RCS file: patches/patch-libs_context_build_Jamfile_v2
> > > diff -N patches/patch-libs_context_build_Jamfile_v2
> > > --- patches/patch-libs_context_build_Jamfile_v2   5 Nov 2020
> > > 11:23:03 -0000    1.3 +++ /dev/null       1 Jan 1970 00:00:00
> > > -0000 @@ -1,17 +0,0 @@
> > > -$OpenBSD: patch-libs_context_build_Jamfile_v2,v 1.3 2020/11/05
> > > 11:23:03 sthen Exp $ -
> > > -ppc32_sysv_elf has 2 instances of "<toolset>clang".
> > > -The second "clang" should be "gcc".
> > > -
> > > -Index: libs/context/build/Jamfile.v2
> > > ---- libs/context/build/Jamfile.v2.orig
> > > -+++ libs/context/build/Jamfile.v2
> > > -@@ -280,7 +280,7 @@ alias asm_sources
> > > -      <address-model>32
> > > -      <architecture>power
> > > -      <binary-format>elf
> > > --     <toolset>clang
> > > -+     <toolset>gcc
> > > -    ;
> > > - 
> > > - alias asm_sources
> > 

Reply via email to