Some C++ LLVM builds are failing with linker errors

#132
Opened by tazjin at 2021-05-25T08·24+00

This is happening in newer channels. See e.g. this //third_party/grpc build.

We are marking these packages as broken until we figure out what's causing it.

  1. I noticed while doing pkgsLLVM stuff that llvm-compiled C++ stuff tends to be unhappy when not linked using lld sometimes; not sure if this affecting us here though.

    Trying pkgsLLVM could also be an option in the future, however currently grpc doesn't build and the boost fix is not yet in master.

    sterni at 2021-08-16T15·26+00

  2. I get further (?) with pkgsLLVM now, but it fails with:

    [ 23%] Building CXX object CMakeFiles/grpc.dir/src/core/ext/filters/http/message_compress/message_decompress_filter.cc.o
    /build/source/src/core/ext/transport/chttp2/client/chttp2_connector.cc:185:21: error: no member named 'StrCat' in namespace 'absl'
                  absl::StrCat(grpc_endpoint_get_peer(args->endpoint),
                  ~~~~~~^
    

    sterni at 2021-10-07T15·18+00

  3. cl/3701.

    sterni at 2021-10-07T20·12+00

  4. grfn closed this issue at 2021-11-08T14·39+00
  5. See also https://github.com/NixOS/nixpkgs/issues/142901.

    sterni at 2021-11-08T15·57+00