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

interface/vcos/pthreads/CMakeLists.txt: fix build with libexecinfo #719

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 21, 2022

  1. interface/vcos/pthreads/CMakeLists.txt: fix build with libexecinfo

    interface/vcos/glibc/vcos_backtrace.c uses execinfo.h which can be
    provided by libexecinfo on uclibc or musl so link with it if needed to
    avoid the following build failure:
    
    /home/peko/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../../build/lib/libvcos.so: undefined reference to `backtrace_symbols'
    
    Fixes:
     - http://autobuild.buildroot.org/results/93d3b8cc2ac5dfa9d4b44946c0b4d8171e8f52a1
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
    ffontaine committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    c8270ce View commit details
    Browse the repository at this point in the history