conda-forge / ctng-compilers-feedstock

A conda-smithy repository for ctng-compilers.
BSD 3-Clause "New" or "Revised" License
12 stars 25 forks source link

gcc-ar is missing LTO plugin #135

Closed QuLogic closed 1 month ago

QuLogic commented 1 month ago

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:

$ git clone https://github.com/matplotlib/matplotlib
$ micromamba create -f environment.yml compilers
$ pip install --no-build-isolation --editable .
$ python -c 'import matplotlib'

which ends up failing as:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/elliott/code/matplotlib/lib/matplotlib/__init__.py", line 159, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "/home/elliott/code/matplotlib/lib/matplotlib/rcsetup.py", line 28, in <module>
    from matplotlib.colors import Colormap, is_color_like
  File "/home/elliott/code/matplotlib/lib/matplotlib/colors.py", line 57, in <module>
    from matplotlib import _api, _cm, cbook, scale
  File "/home/elliott/code/matplotlib/lib/matplotlib/scale.py", line 22, in <module>
    from matplotlib.ticker import (
  File "/home/elliott/code/matplotlib/lib/matplotlib/ticker.py", line 144, in <module>
    from matplotlib import transforms as mtransforms
  File "/home/elliott/code/matplotlib/lib/matplotlib/transforms.py", line 49, in <module>
    from matplotlib._path import (
ImportError: /home/elliott/code/matplotlib/build/cp39/src/_path.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3agg10curve3_div4initEdddddd

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 to pip), then you can find a warning somewhere in there that points to gcc-ar plugins:

...
  [58/101] rm -f extern/agg24-svn/libagg.a && /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar csrDT extern/agg24-svn/libagg.a extern/agg24-svn/libagg.a.p/src_agg_bezier_arc.cpp.o extern/agg24-svn/libagg.a.p/src_agg_curves.cpp.o extern/agg24-svn/libagg.a.p/src_agg_image_filters.cpp.o extern/agg24-svn/libagg.a.p/src_agg_trans_affine.cpp.o extern/agg24-svn/libagg.a.p/src_agg_vcgen_contour.cpp.o extern/agg24-svn/libagg.a.p/src_agg_vcgen_dash.cpp.o extern/agg24-svn/libagg.a.p/src_agg_vcgen_stroke.cpp.o extern/agg24-svn/libagg.a.p/src_agg_vpgen_segmentator.cpp.o
  /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar: extern/agg24-svn/libagg.a.p/src_agg_bezier_arc.cpp.o: plugin needed to handle lto object
...
  [61/101] rm -f extern/ttconv/libttconv.a && /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar csrDT extern/ttconv/libttconv.a extern/ttconv/libttconv.a.p/pprdrv_tt2.cpp.o extern/ttconv/libttconv.a.p/pprdrv_tt.cpp.o extern/ttconv/libttconv.a.p/ttutil.cpp.o
  /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar: extern/ttconv/libttconv.a.p/pprdrv_tt2.cpp.o: plugin needed to handle lto object
...
  [71/101] rm -f subprojects/freetype-2.6.1/libfreetype.a && /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar csrDT subprojects/freetype-2.6.1/libfreetype.a subprojects/freetype-2.6.1/libfreetype.a.p/src_autofit_autofit.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftbase.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftbbox.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftbdf.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftbitmap.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftcid.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftfntfmt.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftfstype.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftgasp.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftglyph.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftgxval.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftinit.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftlcdfil.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftmm.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftotval.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftpatent.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftpfr.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftstroke.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftsynth.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftsystem.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_fttype1.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftwinfnt.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_bdf_bdf.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_bzip2_ftbzip2.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_cache_ftcache.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_cff_cff.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_cid_type1cid.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_gzip_ftgzip.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_lzw_ftlzw.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_pcf_pcf.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_pfr_pfr.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_psaux_psaux.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_pshinter_pshinter.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_psnames_psnames.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_raster_raster.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_sfnt_sfnt.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_smooth_smooth.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_truetype_truetype.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_type1_type1.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_type42_type42.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_winfonts_winfnt.c.o subprojects/freetype-2.6.1/libfreetype.a.p/src_base_ftdebug.c.o
  /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar: subprojects/freetype-2.6.1/libfreetype.a.p/src_autofit_autofit.c.o: plugin needed to handle lto object
...
  [74/101] rm -f subprojects/qhull-8.0.2/libqhull_r.a && /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar csrDT subprojects/qhull-8.0.2/libqhull_r.a subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_geom2_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_geom_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_global_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_io_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_libqhull_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_mem_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_merge_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_poly2_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_poly_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_qset_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_random_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_rboxlib_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_stat_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_usermem_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_userprintf_rbox_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_userprintf_r.c.o subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_user_r.c.o
  /home/elliott/micromamba/envs/mpl-dev2/bin/x86_64-conda-linux-gnu-ar: subprojects/qhull-8.0.2/libqhull_r.a.p/src_libqhull_r_geom2_r.c.o: plugin needed to handle lto object

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

Name                           Version       Build                Channel    
─────────────────────────────────────────────────────────────────────────────────
  _libgcc_mutex                  0.1           conda_forge          conda-forge
  _openmp_mutex                  4.5           2_gnu                conda-forge
  accessible-pygments            0.0.4         pyhd8ed1ab_0         conda-forge
  adwaita-icon-theme             46.2          unix_0               conda-forge
  alabaster                      0.7.16        pyhd8ed1ab_0         conda-forge
  alsa-lib                       1.2.11        hd590300_1           conda-forge
  asttokens                      2.4.1         pyhd8ed1ab_0         conda-forge
  at-spi2-atk                    2.38.0        h0630a04_3           conda-forge
  at-spi2-core                   2.40.3        h0630a04_0           conda-forge
  atk-1.0                        2.38.0        h04ea711_2           conda-forge
  attr                           2.5.1         h166bdaf_1           conda-forge
  attrs                          23.2.0        pyh71513ae_0         conda-forge
  babel                          2.14.0        pyhd8ed1ab_0         conda-forge
  beautifulsoup4                 4.12.3        pyha770c72_0         conda-forge
  binutils                       2.40          h4852527_2           conda-forge
  binutils_impl_linux-64         2.40          ha1999f0_2           conda-forge
  binutils_linux-64              2.40          hdade7a5_3           conda-forge
  black                          23.12.1       py39hf3d152e_0       conda-forge
  bleach                         6.1.0         pyhd8ed1ab_0         conda-forge
  brotli                         1.1.0         hd590300_1           conda-forge
  brotli-bin                     1.1.0         hd590300_1           conda-forge
  brotli-python                  1.1.0         py39h3d6467e_1       conda-forge
  bzip2                          1.0.8         hd590300_5           conda-forge
  c-ares                         1.28.1        hd590300_0           conda-forge
  c-compiler                     1.7.0         hd590300_1           conda-forge
  ca-certificates                2024.6.2      hbcca054_0           conda-forge
  cachetools                     5.3.3         pyhd8ed1ab_0         conda-forge
  cairo                          1.18.0        h3faef2a_0           conda-forge
  cairocffi                      1.7.0         pypyhd8ed1ab_0       conda-forge
  certifi                        2024.2.2      pyhd8ed1ab_0         conda-forge
  cffi                           1.16.0        py39h7a31438_0       conda-forge
  cfgv                           3.3.1         pyhd8ed1ab_0         conda-forge
  chardet                        5.2.0         py39hf3d152e_1       conda-forge
  charset-normalizer             3.3.2         pyhd8ed1ab_0         conda-forge
  click                          8.1.7         unix_pyh707e725_0    conda-forge
  colorama                       0.4.6         pyhd8ed1ab_0         conda-forge
  colorspacious                  1.1.2         pyh24bf2e0_0         conda-forge
  comm                           0.2.2         pyhd8ed1ab_0         conda-forge
  compilers                      1.7.0         ha770c72_1           conda-forge
  contourpy                      1.2.1         py39h7633fee_0       conda-forge
  coverage                       7.5.3         py39hd3abc70_0       conda-forge
  cxx-compiler                   1.7.0         h00ab1b0_1           conda-forge
  cycler                         0.12.1        pyhd8ed1ab_0         conda-forge
  dbus                           1.13.6        h5008d03_3           conda-forge
  debugpy                        1.8.1         py39h3d6467e_0       conda-forge
  decorator                      5.1.1         pyhd8ed1ab_0         conda-forge
  defusedxml                     0.7.1         pyhd8ed1ab_0         conda-forge
  distlib                        0.3.8         pyhd8ed1ab_0         conda-forge
  docutils                       0.21.2        pyhd8ed1ab_0         conda-forge
  entrypoints                    0.4           pyhd8ed1ab_0         conda-forge
  epoxy                          1.5.10        h166bdaf_1           conda-forge
  exceptiongroup                 1.2.0         pyhd8ed1ab_2         conda-forge
  execnet                        2.1.1         pyhd8ed1ab_0         conda-forge
  executing                      2.0.1         pyhd8ed1ab_0         conda-forge
  expat                          2.6.2         h59595ed_0           conda-forge
  filelock                       3.14.0        pyhd8ed1ab_0         conda-forge
  flake8                         7.0.0         pyhd8ed1ab_0         conda-forge
  flake8-docstrings              1.7.0         pyhd8ed1ab_0         conda-forge
  font-ttf-dejavu-sans-mono      2.37          hab24e00_0           conda-forge
  font-ttf-inconsolata           3.000         h77eed37_0           conda-forge
  font-ttf-source-code-pro       2.038         h77eed37_0           conda-forge
  font-ttf-ubuntu                0.83          h77eed37_2           conda-forge
  fontconfig                     2.14.2        h14ed4e7_0           conda-forge
  fonts-conda-ecosystem          1             0                    conda-forge
  fonts-conda-forge              1             0                    conda-forge
  fonttools                      4.53.0        py39hd3abc70_0       conda-forge
  fortran-compiler               1.7.0         heb67821_1           conda-forge
  freetype                       2.12.1        h267a509_2           conda-forge
  fribidi                        1.0.10        h516909a_0           conda-forge
  gcc                            12.3.0        h915e2ae_7           conda-forge
  gcc_impl_linux-64              12.3.0        h58ffeeb_7           conda-forge
  gcc_linux-64                   12.3.0        h6477408_3           conda-forge
  gdk-pixbuf                     2.42.12       hb9ae30d_0           conda-forge
  gettext                        0.22.5        h59595ed_2           conda-forge
  gettext-tools                  0.22.5        h59595ed_2           conda-forge
  gfortran                       12.3.0        h915e2ae_7           conda-forge
  gfortran_impl_linux-64         12.3.0        h1645026_7           conda-forge
  gfortran_linux-64              12.3.0        h617cb40_3           conda-forge
  giflib                         5.2.2         hd590300_0           conda-forge
  glib                           2.80.2        hf974151_0           conda-forge
  glib-tools                     2.80.2        hb6ce0ca_0           conda-forge
  graphite2                      1.3.13        h59595ed_1003        conda-forge
  graphviz                       11.0.0        hc68bbd7_0           conda-forge
  gst-plugins-base               1.24.4        h9ad1361_0           conda-forge
  gstreamer                      1.24.4        haf2f30d_0           conda-forge
  gtk2                           2.24.33       h280cfa0_4           conda-forge
  gtk3                           3.24.42       h6d40eaa_0           conda-forge
  gtk4                           4.12.1        h0210e61_3           conda-forge
  gts                            0.7.6         h977cf35_4           conda-forge
  gxx                            12.3.0        h915e2ae_7           conda-forge
  gxx_impl_linux-64              12.3.0        h2a574ab_7           conda-forge
  gxx_linux-64                   12.3.0        h4a1b8e8_3           conda-forge
  harfbuzz                       8.5.0         hfac3d4d_0           conda-forge
  hicolor-icon-theme             0.17          ha770c72_2           conda-forge
  icu                            73.2          h59595ed_0           conda-forge
  identify                       2.5.36        pyhd8ed1ab_0         conda-forge
  idna                           3.7           pyhd8ed1ab_0         conda-forge
  imagesize                      1.4.1         pyhd8ed1ab_0         conda-forge
  importlib-metadata             7.1.0         pyha770c72_0         conda-forge
  importlib-resources            6.4.0         pyhd8ed1ab_0         conda-forge
  importlib_metadata             7.1.0         hd8ed1ab_0           conda-forge
  importlib_resources            6.4.0         pyhd8ed1ab_0         conda-forge
  iniconfig                      2.0.0         pyhd8ed1ab_0         conda-forge
  ipykernel                      6.29.3        pyhd33586a_0         conda-forge
  ipython                        8.18.1        pyh707e725_3         conda-forge
  ipywidgets                     8.1.3         pyhd8ed1ab_0         conda-forge
  jedi                           0.19.1        pyhd8ed1ab_0         conda-forge
  jinja2                         3.1.4         pyhd8ed1ab_0         conda-forge
  jsonschema                     4.22.0        pyhd8ed1ab_0         conda-forge
  jsonschema-specifications      2023.12.1     pyhd8ed1ab_0         conda-forge
  jupyter_client                 8.6.2         pyhd8ed1ab_0         conda-forge
  jupyter_core                   5.7.2         py39hf3d152e_0       conda-forge
  jupyterlab_pygments            0.3.0         pyhd8ed1ab_1         conda-forge
  jupyterlab_widgets             3.0.11        pyhd8ed1ab_0         conda-forge
  kernel-headers_linux-64        2.6.32        he073ed8_17          conda-forge
  keyutils                       1.6.1         h166bdaf_0           conda-forge
  kiwisolver                     1.4.5         py39h7633fee_1       conda-forge
  krb5                           1.21.2        h659d440_0           conda-forge
  lame                           3.100         h166bdaf_1003        conda-forge
  lcms2                          2.16          hb7c19ff_0           conda-forge
  ld_impl_linux-64               2.40          hf3520f5_2           conda-forge
  lerc                           4.0.0         h27087fc_0           conda-forge
  libasprintf                    0.22.5        h661eb56_2           conda-forge
  libasprintf-devel              0.22.5        h661eb56_2           conda-forge
  libblas                        3.9.0         22_linux64_openblas  conda-forge
  libbrotlicommon                1.1.0         hd590300_1           conda-forge
  libbrotlidec                   1.1.0         hd590300_1           conda-forge
  libbrotlienc                   1.1.0         hd590300_1           conda-forge
  libcap                         2.69          h0f662aa_0           conda-forge
  libcblas                       3.9.0         22_linux64_openblas  conda-forge
  libclang-cpp15                 15.0.7        default_h127d8a8_5   conda-forge
  libclang13                     18.1.6        default_h5d6823c_0   conda-forge
  libcups                        2.3.3         h4637d8d_4           conda-forge
  libcurl                        8.8.0         hca28451_0           conda-forge
  libdeflate                     1.20          hd590300_0           conda-forge
  libedit                        3.1.20191231  he28a2e2_2           conda-forge
  libev                          4.33          hd590300_2           conda-forge
  libevent                       2.1.12        hf998b51_1           conda-forge
  libexpat                       2.6.2         h59595ed_0           conda-forge
  libffi                         3.4.2         h7f98852_5           conda-forge
  libflac                        1.4.3         h59595ed_0           conda-forge
  libgcc-devel_linux-64          12.3.0        h0223996_107         conda-forge
  libgcc-ng                      13.2.0        h77fa898_7           conda-forge
  libgcrypt                      1.10.3        hd590300_0           conda-forge
  libgd                          2.3.3         h119a65a_9           conda-forge
  libgettextpo                   0.22.5        h59595ed_2           conda-forge
  libgettextpo-devel             0.22.5        h59595ed_2           conda-forge
  libgfortran-ng                 13.2.0        h69a702a_7           conda-forge
  libgfortran5                   13.2.0        hca663fb_7           conda-forge
  libgirepository                1.80.1        h003a4f0_0           conda-forge
  libglib                        2.80.2        hf974151_0           conda-forge
  libgomp                        13.2.0        h77fa898_7           conda-forge
  libgpg-error                   1.49          h4f305b6_0           conda-forge
  libgraphene                    1.10.8        hc02c970_0           conda-forge
  libiconv                       1.17          hd590300_2           conda-forge
  libjpeg-turbo                  3.0.0         hd590300_1           conda-forge
  liblapack                      3.9.0         22_linux64_openblas  conda-forge
  libllvm15                      15.0.7        hb3ce162_4           conda-forge
  libllvm18                      18.1.6        hb77312f_0           conda-forge
  libnghttp2                     1.58.0        h47da74e_1           conda-forge
  libnsl                         2.0.1         hd590300_0           conda-forge
  libogg                         1.3.4         h7f98852_1           conda-forge
  libopenblas                    0.3.27        pthreads_h413a1c8_0  conda-forge
  libopus                        1.3.1         h7f98852_1           conda-forge
  libpng                         1.6.43        h2797004_0           conda-forge
  libpq                          16.3          ha72fbe1_0           conda-forge
  librsvg                        2.58.0        hadf69e7_1           conda-forge
  libsanitizer                   12.3.0        hb8811af_7           conda-forge
  libsndfile                     1.2.2         hc60ed4a_1           conda-forge
  libsodium                      1.0.18        h516909a_1           conda-forge
  libsqlite                      3.45.3        h2797004_0           conda-forge
  libssh2                        1.11.0        h0841786_0           conda-forge
  libstdcxx-devel_linux-64       12.3.0        h0223996_107         conda-forge
  libstdcxx-ng                   13.2.0        hc0a3c3a_7           conda-forge
  libsystemd0                    255           h3516f8a_1           conda-forge
  libtiff                        4.6.0         h1dd3fc0_3           conda-forge
  libuuid                        2.38.1        h0b41bf4_0           conda-forge
  libvorbis                      1.3.7         he1b5a44_0           conda-forge
  libwebp                        1.4.0         h2c329e2_0           conda-forge
  libwebp-base                   1.4.0         hd590300_0           conda-forge
  libxcb                         1.15          h0b41bf4_0           conda-forge
  libxcrypt                      4.4.36        hd590300_1           conda-forge
  libxkbcommon                   1.7.0         h662e7e4_0           conda-forge
  libxml2                        2.12.7        hc051c1a_1           conda-forge
  libzlib                        1.3.1         h4ab18f5_1           conda-forge
  lz4-c                          1.9.4         hcb278e6_0           conda-forge
  markupsafe                     2.1.5         py39hd1e30aa_0       conda-forge
  matplotlib-inline              0.1.7         pyhd8ed1ab_0         conda-forge
  mccabe                         0.7.0         pyhd8ed1ab_0         conda-forge
  meson                          1.4.0         pyhd8ed1ab_0         conda-forge
  meson-python                   0.16.0        pyh0c530f3_0         conda-forge
  mistune                        3.0.2         pyhd8ed1ab_0         conda-forge
  mpg123                         1.32.6        h59595ed_0           conda-forge
  munkres                        1.1.4         pyh9f0ad1d_0         conda-forge
  mypy_extensions                1.0.0         pyha770c72_0         conda-forge
  mysql-common                   8.3.0         hf1915f5_4           conda-forge
  mysql-libs                     8.3.0         hca2cd23_4           conda-forge
  nbclient                       0.10.0        pyhd8ed1ab_0         conda-forge
  nbconvert                      7.16.4        hd8ed1ab_0           conda-forge
  nbconvert-core                 7.16.4        pyhd8ed1ab_0         conda-forge
  nbconvert-pandoc               7.16.4        hd8ed1ab_0           conda-forge
  nbformat                       5.10.4        pyhd8ed1ab_0         conda-forge
  ncurses                        6.5           h59595ed_0           conda-forge
  nest-asyncio                   1.6.0         pyhd8ed1ab_0         conda-forge
  ninja                          1.12.1        h297d8ca_0           conda-forge
  nodeenv                        1.9.1         pyhd8ed1ab_0         conda-forge
  nspr                           4.35          h27087fc_0           conda-forge
  nss                            3.100         hca3bf56_0           conda-forge
  numpy                          1.26.4        py39h474f0d3_0       conda-forge
  numpydoc                       1.7.0         pyhd8ed1ab_1         conda-forge
  openjpeg                       2.5.2         h488ebb8_0           conda-forge
  openssl                        3.3.1         h4ab18f5_0           conda-forge
  packaging                      24.0          pyhd8ed1ab_0         conda-forge
  pandas                         2.2.2         py39hfc16268_1       conda-forge
  pandoc                         3.2           ha770c72_0           conda-forge
  pandocfilters                  1.5.0         pyhd8ed1ab_0         conda-forge
  pango                          1.52.2        ha41ecd1_0           conda-forge
  parso                          0.8.4         pyhd8ed1ab_0         conda-forge
  pathspec                       0.12.1        pyhd8ed1ab_0         conda-forge
  pcre2                          10.43         hcad00b1_0           conda-forge
  pexpect                        4.9.0         pyhd8ed1ab_0         conda-forge
  pickleshare                    0.7.5         py_1003              conda-forge
  pillow                         10.3.0        py39h90c7501_0       conda-forge
  pip                            24.0          pyhd8ed1ab_0         conda-forge
  pixman                         0.43.2        h59595ed_0           conda-forge
  pkg-config                     0.29.2        h516909a_1008        conda-forge
  pkgutil-resolve-name           1.3.10        pyhd8ed1ab_1         conda-forge
  platformdirs                   4.2.2         pyhd8ed1ab_0         conda-forge
  pluggy                         1.5.0         pyhd8ed1ab_0         conda-forge
  ply                            3.11          pyhd8ed1ab_2         conda-forge
  pre-commit                     3.7.1         pyha770c72_0         conda-forge
  prompt-toolkit                 3.0.46        pyha770c72_0         conda-forge
  psutil                         5.9.8         py39hd1e30aa_0       conda-forge
  pthread-stubs                  0.4           h36c2ea0_1001        conda-forge
  ptyprocess                     0.7.0         pyhd3deb0d_0         conda-forge
  pulseaudio-client              17.0          hb77b528_0           conda-forge
  pure_eval                      0.2.2         pyhd8ed1ab_0         conda-forge
  pybind11                       2.12.0        py39h7633fee_0       conda-forge
  pybind11-global                2.12.0        py39h7633fee_0       conda-forge
  pycairo                        1.26.0        py39hc92de75_0       conda-forge
  pycodestyle                    2.11.1        pyhd8ed1ab_0         conda-forge
  pycparser                      2.22          pyhd8ed1ab_0         conda-forge
  pydata-sphinx-theme            0.15.3        pyhd8ed1ab_0         conda-forge
  pydocstyle                     6.3.0         pyhd8ed1ab_0         conda-forge
  pyflakes                       3.2.0         pyhd8ed1ab_0         conda-forge
  pygments                       2.18.0        pyhd8ed1ab_0         conda-forge
  pygobject                      3.48.2        py39hb25b1be_0       conda-forge
  pyparsing                      3.1.2         pyhd8ed1ab_0         conda-forge
  pyproject-api                  1.6.1         pyhd8ed1ab_0         conda-forge
  pyproject-metadata             0.8.0         pyhd8ed1ab_0         conda-forge
  pyqt                           5.15.9        py39h52134e7_5       conda-forge
  pyqt5-sip                      12.12.2       py39h3d6467e_5       conda-forge
  pysocks                        1.7.1         pyha2e5f31_6         conda-forge
  pytest                         8.2.2         pyhd8ed1ab_0         conda-forge
  pytest-cov                     5.0.0         pyhd8ed1ab_0         conda-forge
  pytest-rerunfailures           14.0          pyhd8ed1ab_0         conda-forge
  pytest-timeout                 2.3.1         pyhd8ed1ab_1         conda-forge
  pytest-xdist                   3.5.0         pyhd8ed1ab_0         conda-forge
  python                         3.9.19        h0755675_0_cpython   conda-forge
  python-dateutil                2.9.0         pyhd8ed1ab_0         conda-forge
  python-fastjsonschema          2.19.1        pyhd8ed1ab_0         conda-forge
  python-tzdata                  2024.1        pyhd8ed1ab_0         conda-forge
  python_abi                     3.9           4_cp39               conda-forge
  pytz                           2024.1        pyhd8ed1ab_0         conda-forge
  pyyaml                         6.0.1         py39hd1e30aa_1       conda-forge
  pyzmq                          26.0.3        py39ha1047a2_0       conda-forge
  qt-main                        5.15.8        hc9dc06e_21          conda-forge
  readline                       8.2           h8228510_1           conda-forge
  referencing                    0.35.1        pyhd8ed1ab_0         conda-forge
  requests                       2.32.3        pyhd8ed1ab_0         conda-forge
  rpds-py                        0.18.1        py39ha68c5e3_0       conda-forge
  setuptools                     70.0.0        pyhd8ed1ab_0         conda-forge
  setuptools-scm                 8.1.0         pyhd8ed1ab_0         conda-forge
  setuptools_scm                 8.1.0         hd8ed1ab_0           conda-forge
  sip                            6.7.12        py39h3d6467e_0       conda-forge
  six                            1.16.0        pyh6c4a22f_0         conda-forge
  snowballstemmer                2.2.0         pyhd8ed1ab_0         conda-forge
  soupsieve                      2.5           pyhd8ed1ab_1         conda-forge
  sphinx                         7.3.7         pyhd8ed1ab_0         conda-forge
  sphinx-copybutton              0.5.2         pyhd8ed1ab_0         conda-forge
  sphinx-design                  0.5.0         pyhd8ed1ab_0         conda-forge
  sphinx-gallery                 0.16.0        pyhd8ed1ab_0         conda-forge
  sphinx-tags                    0.3.1         pyhd8ed1ab_0         conda-forge
  sphinxcontrib-applehelp        1.0.8         pyhd8ed1ab_0         conda-forge
  sphinxcontrib-devhelp          1.0.6         pyhd8ed1ab_0         conda-forge
  sphinxcontrib-htmlhelp         2.0.5         pyhd8ed1ab_0         conda-forge
  sphinxcontrib-jsmath           1.0.1         pyhd8ed1ab_0         conda-forge
  sphinxcontrib-qthelp           1.0.7         pyhd8ed1ab_0         conda-forge
  sphinxcontrib-serializinghtml  1.1.10        pyhd8ed1ab_0         conda-forge
  stack_data                     0.6.2         pyhd8ed1ab_0         conda-forge
  sysroot_linux-64               2.12          he073ed8_17          conda-forge
  tabulate                       0.9.0         pyhd8ed1ab_1         conda-forge
  tinycss2                       1.3.0         pyhd8ed1ab_0         conda-forge
  tk                             8.6.13        noxft_h4845f30_101   conda-forge
  toml                           0.10.2        pyhd8ed1ab_0         conda-forge
  tomli                          2.0.1         pyhd8ed1ab_0         conda-forge
  tornado                        6.4           py39hd1e30aa_0       conda-forge
  tox                            4.15.0        pyhd8ed1ab_0         conda-forge
  traitlets                      5.14.3        pyhd8ed1ab_0         conda-forge
  typing-extensions              4.12.1        hd8ed1ab_0           conda-forge
  typing_extensions              4.12.1        pyha770c72_0         conda-forge
  tzdata                         2024a         h0c530f3_0           conda-forge
  ukkonen                        1.0.1         py39h7633fee_4       conda-forge
  unicodedata2                   15.1.0        py39hd1e30aa_0       conda-forge
  urllib3                        2.2.1         pyhd8ed1ab_0         conda-forge
  virtualenv                     20.26.2       pyhd8ed1ab_0         conda-forge
  wayland                        1.23.0        h5291e77_0           conda-forge
  wcwidth                        0.2.13        pyhd8ed1ab_0         conda-forge
  webencodings                   0.5.1         pyhd8ed1ab_2         conda-forge
  wheel                          0.43.0        pyhd8ed1ab_1         conda-forge
  widgetsnbextension             4.0.11        pyhd8ed1ab_0         conda-forge
  wxpython                       4.2.1         py39h3eb26e4_6       conda-forge
  wxwidgets                      3.2.5         h91e79f6_0           conda-forge
  xcb-util                       0.4.0         hd590300_1           conda-forge
  xcb-util-image                 0.4.0         h8ee46fc_1           conda-forge
  xcb-util-keysyms               0.4.0         h8ee46fc_1           conda-forge
  xcb-util-renderutil            0.3.9         hd590300_1           conda-forge
  xcb-util-wm                    0.4.1         h8ee46fc_1           conda-forge
  xkeyboard-config               2.41          hd590300_0           conda-forge
  xorg-compositeproto            0.4.2         h7f98852_1001        conda-forge
  xorg-damageproto               1.2.1         h516909a_1002        conda-forge
  xorg-fixesproto                5.0           h14c3975_1002        conda-forge
  xorg-inputproto                2.3.2         h14c3975_1002        conda-forge
  xorg-kbproto                   1.0.7         h14c3975_1002        conda-forge
  xorg-libice                    1.1.1         hd590300_0           conda-forge
  xorg-libsm                     1.2.4         h7391055_0           conda-forge
  xorg-libx11                    1.8.9         h8ee46fc_0           conda-forge
  xorg-libxau                    1.0.11        hd590300_0           conda-forge
  xorg-libxcomposite             0.4.6         h0b41bf4_1           conda-forge
  xorg-libxcursor                1.2.0         h0b41bf4_1           conda-forge
  xorg-libxdamage                1.1.5         h7f98852_1           conda-forge
  xorg-libxdmcp                  1.1.3         h516909a_0           conda-forge
  xorg-libxext                   1.3.4         h0b41bf4_2           conda-forge
  xorg-libxfixes                 5.0.3         h7f98852_1004        conda-forge
  xorg-libxi                     1.7.10        h7f98852_0           conda-forge
  xorg-libxinerama               1.1.5         h27087fc_0           conda-forge
  xorg-libxrandr                 1.5.2         h7f98852_1           conda-forge
  xorg-libxrender                0.9.11        hd590300_0           conda-forge
  xorg-libxtst                   1.2.3         h7f98852_1002        conda-forge
  xorg-libxxf86vm                1.1.5         h0b41bf4_0           conda-forge
  xorg-randrproto                1.5.0         h516909a_1001        conda-forge
  xorg-recordproto               1.14.2        h516909a_1002        conda-forge
  xorg-renderproto               0.11.1        h14c3975_1002        conda-forge
  xorg-util-macros               1.19.3        h7f98852_0           conda-forge
  xorg-xextproto                 7.3.0         h0b41bf4_1003        conda-forge
  xorg-xf86vidmodeproto          2.3.1         h516909a_1002        conda-forge
  xorg-xineramaproto             1.2.1         h14c3975_1001        conda-forge
  xorg-xproto                    7.0.31        h14c3975_1007        conda-forge
  xz                             5.2.6         h166bdaf_0           conda-forge
  yaml                           0.2.5         h7f98852_2           conda-forge
  zeromq                         4.3.5         h75354e8_4           conda-forge
  zipp                           3.17.0        pyhd8ed1ab_0         conda-forge
  zlib                           1.3.1         h4ab18f5_1           conda-forge
  zstd                           1.5.6         ha6fb4c9_0           conda-forge

Environment info

libmamba version : 1.5.6
     micromamba version : 1.5.6
           curl version : libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.0.zlib-ng libidn2/2.3.7 nghttp2/1.59.0
     libarchive version : libarchive 3.7.2 zlib/1.3.0.zlib-ng liblzma/5.4.6 bz2lib/1.0.8 liblz4/1.9.4 libzstd/1.5.6
       envs directories : /home/elliott/micromamba/envs
          package cache : /home/elliott/micromamba/pkgs
                          /home/elliott/.mamba/pkgs
            environment : mpl-dev2 (active)
           env location : /home/elliott/micromamba/envs/mpl-dev2
      user config files : /home/elliott/.mambarc
 populated config files : 
       virtual packages : __unix=0=0
                          __linux=6.8.11=0
                          __glibc=2.39=0
                          __archspec=1=x86_64-v3
               channels : 
       base environment : /home/elliott/micromamba
               platform : linux-64
isuruf commented 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.

QuLogic commented 1 month ago

Sorry, I wrote gcc-ar in the title, and completely glossed over the fact that it was using *-gnu-ar.