commit | 660a25fe53f59e5fb4d74f480d0fd876f2a4be25 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@pigweed.infra.roller.google.com> | Tue Aug 13 22:09:22 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 13 22:09:22 2024 +0000 |
tree | c6bfc1c4e4eff3d00afdc7647877a3d148337b64 | |
parent | 1debd46da1d7801ca072ed18d3c043a1e5390cd7 [diff] |
roll: pigweed, pw_toolchain: pw_kvs: Move inline variable definition to .cc file no_inline_ is defined as an inline variable. pw::Vector has a non-default constructor, which causes Clang to use the SHF_GNU_RETAIN section flag (at least when compiling for RP2). Since SHF_GNU_RETAIN is a GNU extension, Clang sets the ELF's EI_OSABI field to ELFOSABI_GNU, instead of the default ELFOSABI_NONE. Picotool only accepts ELFs with an EI_OSABI of ELFOSABI_NONE, even if the binary is actually compatible. To avoid this issue, do not use an inline variable. Original-Bug: b/357162923 Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/228514 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> https://pigweed.googlesource.com/pigweed/pigweed pigweed, pw_toolchain Rolled-Commits: e011157a9cb05a0..7ef5e1f643b8439 Roller-URL: https://ci.chromium.org/b/8739682616467026673 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I727096593312cc2990dc7ae0d2cb307a3fef6332 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/229327 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.