Closed QuLogic closed 1 month ago
You have to use x86_64-conda-linux-gnu-gcc-ar
as the archiver instead of x86_64-conda-linux-gnu-ar
if you are using LTO.
Sorry, I wrote gcc-ar
in the title, and completely glossed over the fact that it was using *-gnu-ar
.
Solution to issue cannot be found in the documentation.
Issue
In Matplotlib, we're running into an issue when using conda-forge compilers that some symbols in compiled extensions are missing.
A straightforward reproducer is to do the following:
which ends up failing as:
This missing symbol (
_ZN3agg10curve3_div4initEdddddd
=agg::curve3_div::init(double, double, double, double, double, double)
) is part of a static library that is built into the extension shared library, except it disappeared with the conda-forge compilers. If you build the library with verbose settings (by passing--config-settings=compile-args=-v -v
topip
), then you can find a warning somewhere in there that points togcc-ar
plugins:While I as able to reproduce locally, this also appears on the update to the feedstock at https://github.com/conda-forge/matplotlib-feedstock/pull/373.
cc @jakirkham and @dopplershift
Installed packages
Environment info