conda-forge / ctng-compilers-feedstock

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

install static libraries and import libraries for support libraries #138

Closed isuruf closed 3 months ago

isuruf commented 3 months ago

Checklist

conda-forge-webservices[bot] commented 3 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

isuruf commented 3 months ago

@conda-forge-admin, rerender

apmorton commented 3 months ago

This has caused some of our asan builds to fail with:

/conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/libasan.so, not found (try using -rpath or -rpath-link)

followed by a bunch of libstdc++ link errors:

/conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: /conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../lib/libfmt.so: undefined reference to `std::terminate()@GLIBCXX_3.4'

Minimal repro:

bin/x86_64-conda_cos6-linux-gnu-g++ -g -fno-omit-frame-pointer -fsanitize=leak -fsanitize=address -flto -fno-fat-lto-objects repro.cpp -lfmt
#include <fmt/format.h>
#include <iostream>

int main() { std::cout << fmt::format("hello world\n"); }