Skip to content

eloqsql_debug_build failed with ld boost_context error  #233

Closed

Description

@githubzilla

What happened?
eloqsql_debug_build failed with ld error on CI

Steps to Reproduce
http://35.222.141.150:8080/teams/main/pipelines/eloqsql_debug_build/jobs/ubuntu2204-main/builds/3

Environment

  • OS:
  • Version:
  • Any other relevant details:

Activity

  1. self-assigned this
    on Feb 10, 2026
  2. githubzilla commented on Feb 10, 2026

    @githubzilla
    CollaboratorAuthor

    [100%] Linking CXX executable mariadbd
    /usr/bin/ld: libsql.a(sql_class.cc.o): in function boost::context::continuation::~continuation()': /usr/include/boost/context/continuation_fcontext.hpp:232: undefined reference to ontop_fcontext'
    /usr/bin/ld: libsql.a(threadpool_common.cc.o): in function boost::context::continuation::resume() &&': /usr/include/boost/context/continuation_fcontext.hpp:264: undefined reference to jump_fcontext'
    /usr/bin/ld: libsql.a(threadpool_common.cc.o): in function void* boost::context::detail::create_context2<boost::context::detail::record<boost::context::continuation, THD::NoopAllocator, std::_Bind<boost::context::continuation (*(std::_Placeholder<1>, TP_connection*))(boost::context::continuation&&, TP_connection*)> >, THD::NoopAllocator, std::_Bind<boost::context::continuation (*(std::_Placeholder<1>, TP_connection*))(boost::context::continuation&&, TP_connection*)> >(boost::context::preallocated, THD::NoopAllocator&&, std::_Bind<boost::context::continuation (*(std::_Placeholder<1>, TP_connection*))(boost::context::continuation&&, TP_connection*)>&&)': /usr/include/boost/context/continuation_fcontext.hpp:196: undefined reference to make_fcontext'
    /usr/bin/ld: /usr/include/boost/context/continuation_fcontext.hpp:199: undefined reference to jump_fcontext' /usr/bin/ld: libsql.a(threadpool_common.cc.o): in function void* boost::context::detail::create_context2<boost::context::detail::record<boost::context::continuation, THD::NoopAllocator, std::_Bind<boost::context::continuation ((std::_Placeholder<1>, THD))(boost::context::continuation&&, THD*)> >, THD::NoopAllocator, std::_Bind<boost::context::continuation ((std::_Placeholder<1>, THD))(boost::context::continuation&&, THD*)> >(boost::context::preallocated, THD::NoopAllocator&&, std::_Bind<boost::context::continuation ((std::_Placeholder<1>, THD))(boost::context::continuation&&, THD*)>&&)':
    /usr/include/boost/context/continuation_fcontext.hpp:196: undefined reference to make_fcontext' /usr/bin/ld: /usr/include/boost/context/continuation_fcontext.hpp:199: undefined reference to jump_fcontext'
    /usr/bin/ld: libsql.a(threadpool_common.cc.o): in function void boost::context::detail::context_entry<boost::context::detail::record<boost::context::continuation, THD::NoopAllocator, std::_Bind<boost::context::continuation (*(std::_Placeholder<1>, TP_connection*))(boost::context::continuation&&, TP_connection*)> > >(boost::context::detail::transfer_t)': /usr/include/boost/context/continuation_fcontext.hpp:78: undefined reference to jump_fcontext'
    /usr/bin/ld: /usr/include/boost/context/continuation_fcontext.hpp:89: undefined reference to ontop_fcontext' /usr/bin/ld: libsql.a(threadpool_common.cc.o): in function void boost::context::detail::context_entry<boost::context::detail::record<boost::context::continuation, THD::NoopAllocator, std::_Bind<boost::context::continuation ((std::_Placeholder<1>, THD))(boost::context::continuation&&, THD*)> > >(boost::context::detail::transfer_t)':
    /usr/include/boost/context/continuation_fcontext.hpp:78: undefined reference to jump_fcontext' /usr/bin/ld: /usr/include/boost/context/continuation_fcontext.hpp:89: undefined reference to ontop_fcontext'
    collect2: error: ld returned 1 exit status
    gmake[2]: *** [sql/CMakeFiles/mariadbd.dir/build.make:191: sql/mariadbd] Error 1
    gmake[1]: *** [CMakeFiles/Makefile2:10449: sql/CMakeFiles/mariadbd.dir/all] Error 2
    gmake: *** [Makefile:156: all] Error 2

  3. githubzilla commented on Feb 11, 2026

    @githubzilla
    CollaboratorAuthor
    • eloqsql PR
  4. changed the title [-]eloqsql_debug_build failed with ld error[/-] [+]eloqsql_debug_build failed with ld boost_context error [/+] on Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EloqsqlbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions