[roll] Roll fuchsia [bazel][device-finder] Fix CGO build in Bazel

... by:

1. Disable pure mode on `device-finder``
2. Force PIE on `device-finder
3. Remove `cgo = True` on `third_party/golibs/vendor/golang.org/x/sys/unix`

Because of https://fxbug.dev/489925970, we enabled `pure` mode for Go
binaries globally for build result consistency across different
environments. However, `pure` mode will filter out CGO code [0],
causing the `undefined function` error observed in the bug linked below.

The fixes 2 and 3 above are used to address build inconsistency between
local and remote build environments.

For more details, see linked bug below.

[0] https://github.com/bazel-contrib/rules_go/blob/master/go/modes.rst#build-settings

Original-Fixed: 503868144
Test: fx bazel build --config=host //tools/net/device-finder:device-finder_tool
Test: fuchsia.arm64-release in CQ
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1582174
Original-Revision: 1f17dba0ef2e89cf4071fbf3e5be061bbce0a0fc
GitOrigin-RevId: bf4d0c51df55827915ad0d513fd5133007ff33b2
Change-Id: I5914eeb8c2096d5d5baa18f360a062a06ee0614b
1 file changed
tree: 614a4cf3a915cecea95a0f05235a3d36ebfd33c0
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.