Describe the bug
❯ bazel test ...
INFO: Analyzed 72 targets (27 packages loaded, 1121 targets configured).
INFO: Found 29 targets and 43 test targets...
ERROR: /usr/home/yesudeep/code/yesudeep/googletest/googletest/test/BUILD.bazel:203:10: Linking googletest/test/googletest-color-test_ failed: (Exit 1): clang failed: error executing command /usr/bin/clang -o bazel-out/freebsd-fastbuild/bin/googletest/test/googletest-color-test_ bazel-out/freebsd-fastbuild/bin/googletest/test/_objs/googletest-color-test_/googletest-color-test_.pic.o ... (remaining 6 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
ld: error: undefined symbol: nextafter
>>> referenced by gtest.cc
>>> gtest.pic.o:(testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)) in archive bazel-out/freebsd-fastbuild/bin/libgtest.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
INFO: Elapsed time: 7.035s, Critical Path: 3.56s
INFO: 51 processes: 33 internal, 18 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
Steps to reproduce the bug
- Run the following command on FreeBSD 13.0.
Does the bug persist in the most recent commit?
Yes.
What operating system and version are you using?
❯ uname -a
FreeBSD hostname 13.0-STABLE FreeBSD 13.0-STABLE GENERIC amd64
What compiler and version are you using?
❯ clang --version
clang version 14.0.0
Target: x86_64-portbld-freebsd13.0
Thread model: posix
InstalledDir: /usr/local/llvm-devel/bin
What build system are you using?
❯ bazel --version
bazel 4.2.1
Additional context
I'm not sure how long it would take Bazel to address bazelbuild/bazel#12023
See also:
#2190
Describe the bug
Steps to reproduce the bug
❯ bazel test ...Does the bug persist in the most recent commit?
Yes.
What operating system and version are you using?
What compiler and version are you using?
What build system are you using?
Additional context
I'm not sure how long it would take Bazel to address bazelbuild/bazel#12023
See also:
#2190