question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to build on clang 6.0.0 on 1.10.1

See original GitHub issue

Error:

  COPY Release/libgrpc.a
  CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/gpr/alloc.o
  CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/gpr/arena.o
../deps/grpc/src/core/lib/gpr/arena.cc:86:42: error: static_cast from 'nullptr_t' to 'gpr_atm' (aka 'long') is not allowed
      if (!gpr_atm_rel_cas(&z->next_atm, static_cast<gpr_atm>(NULL),

Clang info:

$ clang --version
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolasnoblecommented, Apr 11, 2018

Filed grpc/grpc#15010 for this one.

0reactions
murgatroid99commented, May 11, 2021

The grpc package has been deprecated. We recommend using @grpc/grpc-js instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gRPC doesn't compile on FreeBSD · Issue #15010 - GitHub
I can't reproduce this. Building with clang-6.0.0 works fine on my desktop. All reactions.
Read more >
Failing to build with clang-6.0 - Google Groups
clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 6.0.0-3 (tags/RELEASE_600/final)
Read more >
Broken packages when trying to install clang on Ubuntu 18.04
I tried sudo apt install clang and got these results: Reading package lists... Done Building dependency tree Reading state information.
Read more >
https://packages.ubuntu.com/kinetic/amd64/allpacka...
... 9base (1:6-12) [universe] Plan 9 userland tools 9menu (1.10-1) [universe] ... build system for ROS 2 ament packages ament-cmake-clang-format (0.13.1-1) ...
Read more >
Index of Portage & Programming - Gentoo Forums
Page:1 · "llvm compile fails after installing amdgpu" Page:1 · "[Solved] xscreensaver ... "dev-python/inflect-6.0.0 / 6.0.2 emerge build error" Page:1 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found