Use cc implementation of singlejar on FreeBSD #3096
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
platform: other
type: feature request
CC implementation of singlejar is enabled on platforms except windows and FreeBSD. (Use cc implementation of singlejar on Windows is a separate issue: Issue 2241.) When I attempted to enable it, it breaks the CI on Free BSD.
Environment info
Operating System:
FreeBSD
Bazel version:
Bazel built from https://bazel-review.googlesource.com/#/c/11530/.
Commit = d894345.
Log
The CI log is the following:
Started by upstream project "Bazel" build number 1542
originally caused by:
Started by upstream project "Github-Trigger" build number 1539
originally caused by:
Started by remote host 192.30.252.42
Building remotely on freebsd-11-1 (freebsd-11 install-bazel no-release) in workspace /home/ci/workspace/Bazel/JAVA_VERSION/1.8/PLATFORM_NAME/freebsd-11
Suggested fix
For record: fix suggested by aehlig@:
It mainly fails due to statements like
#if !((defined(linux) || defined(APPLE)) && SIZEOF_POINTER == 8)
#error This code for 64 bit Unix.
#endif
If you remove those (allowing defined(FreeBSD) as well might be more appropriate), then only two simple adaptions are necessary
The text was updated successfully, but these errors were encountered: