Skip to content

Release 189 on registry.bazel.build #1672

@chenyh1990

Description

@chenyh1990

189 is released on crates.io, but NOT on bcr, which breaking builds due to #1665

Bazel build errors as follow:

  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$MultiBuf$operator$sizeof
          >>> referenced by main.rs.cc
          >>>               main.rs.pic.o:(org::blobstore::MultiBuf::layout::size()) in archive bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/libbridge.a
          
          ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$MultiBuf$operator$alignof
          >>> referenced by main.rs.cc
          >>>               main.rs.pic.o:(org::blobstore::MultiBuf::layout::align()) in archive bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/libbridge.a
          
          ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$next_chunk
          >>> referenced by main.rs.cc
          >>>               main.rs.pic.o:(org::blobstore::next_chunk(org::blobstore::MultiBuf&)) in archive bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/libbridge.a
          
          ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$189$BlobstoreClient$put
          >>> referenced by demo.7a2ac26883e0ad12-cgu.0
          >>>               bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/demo.demo.7a2ac26883e0ad12-cgu.0.rcgu.o:(demo::ffi::BlobstoreClient::put::ha9355b32dd2267fb)
          
          ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$189$BlobstoreClient$tag
          >>> referenced by demo.7a2ac26883e0ad12-cgu.0
          >>>               bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/demo.demo.7a2ac26883e0ad12-cgu.0.rcgu.o:(demo::ffi::BlobstoreClient::tag::h27a19c83c83cc474)
          
          ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$189$BlobstoreClient$metadata
          >>> referenced by demo.7a2ac26883e0ad12-cgu.0
          >>>               bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/demo.demo.7a2ac26883e0ad12-cgu.0.rcgu.o:(demo::ffi::BlobstoreClient::metadata::hd3c83741c5581033)
          
          ld.lld: error: undefined symbol: org$blobstore$cxxbridge1$189$new_blobstore_client
          >>> referenced by demo.7a2ac26883e0ad12-cgu.0
          >>>               bazel-out/k8-fastbuild/bin/tools/build_defs/rust/examples/cxx/demo.demo.7a2ac26883e0ad12-cgu.0.rcgu.o:(demo::ffi::new_blobstore_client::hf91b5f20431a165b)
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: aborting due to 1 previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions