Menu

#36 configure.ac: add --without-execinfo option

Unstable_(example)
closed-invalid
nobody
None
5
2022-04-10
2022-01-04
No

Add an option to allow the user to disable execinfo to avoid the following build failure on musl with https://github.com/mikroskeem/libexecinfo:

/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/10.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/openipmi-2.0.28/utils/.libs/libOpenIPMIutils.so: undefined reference to `backtrace'

Fixes:

1 Attachments

Discussion

  • Corey Minyard

    Corey Minyard - 2022-04-10

    This is not really the right way to fix this. You need to check for the backtrace() function, really. This can be done automatically. Adding flags should always be a last resort for things like this.

     
  • Corey Minyard

    Corey Minyard - 2022-04-10
    • status: open --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB