Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost context detection broken #6942

Closed
mind04 opened this issue Sep 7, 2018 · 4 comments
Closed

Boost context detection broken #6942

mind04 opened this issue Sep 7, 2018 · 4 comments

Comments

@mind04
Copy link
Contributor

@mind04 mind04 commented Sep 7, 2018

  • Program: Recursor
  • Issue type: Bug report

Short description

configure is failing without boost context

Environment

  • Operating system: CentOS armv7hl
  • Software version: git
  • Software source: git

Other information

Last working commit 8491dcd

DEBUG: checking for Boost headers version >= 1.35.0... yes
DEBUG: checking for Boost's header version... 1_53
DEBUG: checking boost/container/flat_set.hpp usability... yes
DEBUG: checking boost/container/flat_set.hpp presence... yes
DEBUG: checking for boost/container/flat_set.hpp... yes
DEBUG: checking for the flags needed to use pthreads... -pthread
DEBUG: checking for the toolset name used by Boost for g++... gcc48 -gcc
DEBUG: checking whether Boost is new enough to use the context library...... yes
DEBUG: configure: checking whether the Boost context library actually links...
DEBUG: checking boost/context/fcontext.hpp usability... yes
DEBUG: checking boost/context/fcontext.hpp presence... yes
DEBUG: checking for boost/context/fcontext.hpp... yes
DEBUG: checking for boost/context/fcontext.hpp... (cached) yes
DEBUG: checking for the Boost context library... no
DEBUG: configure: Boost context library is missing
DEBUG: configure: MTasker will use System V ucontexts for context switching

First broken commit 1907d01

DEBUG: checking for Boost headers version >= 1.35.0... yes
DEBUG: checking for Boost's header version... 1_53
DEBUG: checking boost/container/flat_set.hpp usability... yes
DEBUG: checking boost/container/flat_set.hpp presence... yes
DEBUG: checking for boost/container/flat_set.hpp... yes
DEBUG: checking for the flags needed to use pthreads... -pthread
DEBUG: checking for the toolset name used by Boost for g++... gcc48 -gcc
DEBUG: checking whether Boost is new enough to use the context library...... yes
DEBUG: configure: checking whether the Boost context library actually links...
DEBUG: checking boost/context/fcontext.hpp usability... yes
DEBUG: checking boost/context/fcontext.hpp presence... yes
DEBUG: checking for boost/context/fcontext.hpp... yes
DEBUG: checking for boost/context/fcontext.hpp... (cached) yes
DEBUG: checking for the Boost context library... no
DEBUG: configure: error: cannot find flags to link with the Boost context library (libboost-context)
@rgacogne rgacogne added this to the rec-4.2.0 milestone Sep 8, 2018
@rgacogne
Copy link
Member

@rgacogne rgacogne commented Sep 8, 2018

It could have been broken by this change: bec678d#diff-3facd5eefc2543a118a98f9368aac491R657

@Habbie
Copy link
Member

@Habbie Habbie commented Sep 13, 2018

on centos7 arm64, both 1907d01 and master tell me:

configure: Boost context library is missing
configure: MTasker will use System V ucontexts for context switching

@zeha
Copy link
Collaborator

@zeha zeha commented Sep 13, 2018

Did this work on the 4.1 branch?

Debian's 4.1 builds with boost context: https://buildd.debian.org/status/fetch.php?pkg=pdns-recursor&arch=arm64&ver=4.1.4-3&stamp=1536527271&raw=0

@Habbie
Copy link
Member

@Habbie Habbie commented Jul 16, 2019

It could have been broken by this change: bec678d#diff-3facd5eefc2543a118a98f9368aac491R657

That, or actually 0b59e24 (which the above merges into master) is the breaker for https://buildd.debian.org/status/logs.php?pkg=pdns-recursor&ver=4.2.0-1&arch=s390x&suite=sid

Habbie added a commit to Habbie/pdns that referenced this issue Jul 16, 2019
omoerbeek added a commit to omoerbeek/pdns that referenced this issue Jul 16, 2019
(cherry picked from commit 68ec315)
@pieterlexis pieterlexis mentioned this issue Jul 17, 2019
7 tasks
@rgacogne rgacogne removed this from the rec-4.2.0 milestone Jul 19, 2019
@rgacogne rgacogne added this to the rec-4.2.x milestone Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants