Status Update
Comments
in...@gmail.com <in...@gmail.com> #2
CCing +tomhughes and +inglorion, as requested by Bob
ra...@google.com <ra...@google.com> #3
Updated title to reflect that it's not just bloonchipper, but all fpmcu-unittests
packages.
ra...@google.com <ra...@google.com> #4
The title says fails to build because std::auto_ptr was removed
, but I don't think we're using std::auto_ptr
anywhere (at least not intentionally), and I don't see it mentioned in the error message.
For this error,
/usr/bin/../include/c++/v1/__config:821:8: error: "No thread API"
821 | # error "No thread API"
| ^
We do build libc++
with thread support disabled
ra...@google.com <ra...@google.com> #5
Ah, yes, sorry. Title was from the other bugs that took this same format (there's a lot of them!). Updated.
This is roughly
And at the
So I'm guessing for whatever reason, _LIBCPP_HAS_NO_THREADS
is 0 for the ECs.
ro...@gmail.com <ro...@gmail.com> #6
Setting V=1, I believe I have the commandline invocation that causes this:
make[1]: Entering directory '/build/amd64-generic/tmp/portage/chromeos-base/chromeos-fpmcu-bloonchipper-unittests-0.0.1-r893/work/chromeos-fpmcu-bloonchipper-unittests-0.0.1/platform/ec'
/usr/bin/ccache armv7m-cros-eabi-clang -E -P -DSECTION_IS_RO= -Itest -DTEST_BUILD= -imacros abort.tasklist -Iboard/bloonchipper -DBOARD_BLOONCHIPPER= -Ibaseboard/bloonchipper -DBASEBOARD_BLOONCHIPPER= -D_MAKEFILE= -imacros ec.tasklist include/task_filter.h
/usr/bin/ccache armv7m-cros-eabi-clang -E -P -DSECTION_IS_RW= -Itest -DTEST_BUILD= -imacros abort.tasklist -Iboard/bloonchipper -DBOARD_BLOONCHIPPER= -Ibaseboard/bloonchipper -DBASEBOARD_BLOONCHIPPER= -D_MAKEFILE= -imacros ec.tasklist include/task_filter.h
/usr/bin/ccache armv7m-cros-eabi-clang -E -DOUTDIR=build/bloonchipper/abort/RO -DCHIP=stm32 -DBOARD_TASKFILE=ec.tasklist -DBOARD=bloonchipper -DCORE=cortex-m -DPROJECT=abort -DCHIP_VARIANT=stm32f412 -DCHIP_FAMILY=STM32F4 -DBOARD_BLOONCHIPPER= -DCHIP_STM32= -DCORE_CORTEX_M= -DCHIP_VARIANT_STM32F412= -DCHIP_FAMILY_STM32F4= -DFINAL_OUTDIR=build/bloonchipper/abort -DPROTOBUF_MIN_PROTOC_VERSION=0 -DHAS_BASEBOARD= -DBASEBOARD_BLOONCHIPPER= -Iinclude -Icore/cortex-m/include -Iinclude/driver -Ibuild/bloonchipper/abort -Ifuzz -Itest -Ithird_party -I. -DTEST_BUILD= -DTEST_LEGACY_BUILD= -DTEST_TASKFILE=abort.tasklist -DTEST_abort= -DTEST_ABORT= -Iinclude/driver -DSECTION_IS_RO= -DSECTION=RO -DHAS_TASK_RWSIG= -DHAS_TASK_FPSENSOR_RW= -fno-PIC -DCHROMIUM_EC= -DHAS_TASK_HOOKS= -DHAS_TASK_HOSTCMD= -DHAS_TASK_CONSOLE= -DHAS_TASK_TEST= -P -dM -Ichip/stm32 -Ibaseboard/bloonchipper -Iboard/bloonchipper include/config.h | grep -o "#define \(CONFIG\|VARIANT\)_[A-Z0-9_]*" | cut -c9- | sort
/usr/bin/ccache armv7m-cros-eabi-clang -E -DOUTDIR=build/bloonchipper/abort/RW -DCHIP=stm32 -DBOARD_TASKFILE=ec.tasklist -DBOARD=bloonchipper -DCORE=cortex-m -DPROJECT=abort -DCHIP_VARIANT=stm32f412 -DCHIP_FAMILY=STM32F4 -DBOARD_BLOONCHIPPER= -DCHIP_STM32= -DCORE_CORTEX_M= -DCHIP_VARIANT_STM32F412= -DCHIP_FAMILY_STM32F4= -DFINAL_OUTDIR=build/bloonchipper/abort -DPROTOBUF_MIN_PROTOC_VERSION=0 -DHAS_BASEBOARD= -DBASEBOARD_BLOONCHIPPER= -Iinclude -Icore/cortex-m/include -Iinclude/driver -Ibuild/bloonchipper/abort -Ifuzz -Itest -Ithird_party -I. -DTEST_BUILD= -DTEST_LEGACY_BUILD= -DTEST_TASKFILE=abort.tasklist -DTEST_abort= -DTEST_ABORT= -Iinclude/driver -DSECTION_IS_RW= -DSECTION=RW -DHAS_TASK_FPSENSOR= -DHAS_TASK_RWSIG_RO= -fno-PIC -DCHROMIUM_EC= -DHAS_TASK_HOOKS= -DHAS_TASK_HOSTCMD= -DHAS_TASK_CONSOLE= -DHAS_TASK_TEST= -P -dM -Ichip/stm32 -Ibaseboard/bloonchipper -Iboard/bloonchipper include/config.h | grep -o "#define \(CONFIG\|VARIANT\)_[A-Z0-9_]*" | cut -c9- | sort
echo "CONFIG_RW_MEM_OFF" | /usr/bin/ccache armv7m-cros-eabi-clang -E -DOUTDIR=build/bloonchipper/abort/ -DCHIP=stm32 -DBOARD_TASKFILE=ec.tasklist -DBOARD=bloonchipper -DCORE=cortex-m -DPROJECT=abort -DCHIP_VARIANT=stm32f412 -DCHIP_FAMILY=STM32F4 -DBOARD_BLOONCHIPPER= -DCHIP_STM32= -DCORE_CORTEX_M= -DCHIP_VARIANT_STM32F412= -DCHIP_FAMILY_STM32F4= -DFINAL_OUTDIR=build/bloonchipper/abort -DPROTOBUF_MIN_PROTOC_VERSION=0 -DHAS_BASEBOARD= -DBASEBOARD_BLOONCHIPPER= -Iinclude -Icore/cortex-m/include -Iinclude/driver -Ibuild/bloonchipper/abort -Ifuzz -Itest -Ithird_party -I. -DTEST_BUILD= -DTEST_LEGACY_BUILD= -DTEST_TASKFILE=abort.tasklist -DTEST_abort= -DTEST_ABORT= -Iinclude/driver -DSECTION_IS_= -DSECTION= -fno-PIC -DCHROMIUM_EC= -DHAS_TASK_HOOKS= -DHAS_TASK_HOSTCMD= -DHAS_TASK_CONSOLE= -DHAS_TASK_TEST= -P -Ichip/stm32 -Ibaseboard/bloonchipper -Iboard/bloonchipper -imacros include/config.h -
echo "CONFIG_RW_SIZE" | /usr/bin/ccache armv7m-cros-eabi-clang -E -DOUTDIR=build/bloonchipper/abort/ -DCHIP=stm32 -DBOARD_TASKFILE=ec.tasklist -DBOARD=bloonchipper -DCORE=cortex-m -DPROJECT=abort -DCHIP_VARIANT=stm32f412 -DCHIP_FAMILY=STM32F4 -DBOARD_BLOONCHIPPER= -DCHIP_STM32= -DCORE_CORTEX_M= -DCHIP_VARIANT_STM32F412= -DCHIP_FAMILY_STM32F4= -DFINAL_OUTDIR=build/bloonchipper/abort -DPROTOBUF_MIN_PROTOC_VERSION=0 -DHAS_BASEBOARD= -DBASEBOARD_BLOONCHIPPER= -Iinclude -Icore/cortex-m/include -Iinclude/driver -Ibuild/bloonchipper/abort -Ifuzz -Itest -Ithird_party -I. -DTEST_BUILD= -DTEST_LEGACY_BUILD= -DTEST_TASKFILE=abort.tasklist -DTEST_abort= -DTEST_ABORT= -Iinclude/driver -DSECTION_IS_= -DSECTION= -fno-PIC -DCHROMIUM_EC= -DHAS_TASK_HOOKS= -DHAS_TASK_HOSTCMD= -DHAS_TASK_CONSOLE= -DHAS_TASK_TEST= -P -Ichip/stm32 -Ibaseboard/bloonchipper -Iboard/bloonchipper -imacros include/config.h -
echo "CONFIG_PROGRAM_MEMORY_BASE" | /usr/bin/ccache armv7m-cros-eabi-clang -E -DOUTDIR=build/bloonchipper/abort/ -DCHIP=stm32 -DBOARD_TASKFILE=ec.tasklist -DBOARD=bloonchipper -DCORE=cortex-m -DPROJECT=abort -DCHIP_VARIANT=stm32f412 -DCHIP_FAMILY=STM32F4 -DBOARD_BLOONCHIPPER= -DCHIP_STM32= -DCORE_CORTEX_M= -DCHIP_VARIANT_STM32F412= -DCHIP_FAMILY_STM32F4= -DFINAL_OUTDIR=build/bloonchipper/abort -DPROTOBUF_MIN_PROTOC_VERSION=0 -DHAS_BASEBOARD= -DBASEBOARD_BLOONCHIPPER= -Iinclude -Icore/cortex-m/include -Iinclude/driver -Ibuild/bloonchipper/abort -Ifuzz -Itest -Ithird_party -I. -DTEST_BUILD= -DTEST_LEGACY_BUILD= -DTEST_TASKFILE=abort.tasklist -DTEST_abort= -DTEST_ABORT= -Iinclude/driver -DSECTION_IS_= -DSECTION= -fno-PIC -DCHROMIUM_EC= -DHAS_TASK_HOOKS= -DHAS_TASK_HOSTCMD= -DHAS_TASK_CONSOLE= -DHAS_TASK_TEST= -P -Ichip/stm32 -Ibaseboard/bloonchipper -Iboard/bloonchipper -imacros include/config.h -
armv7m-cros-eabi-clang++ -std=gnu++2a -DOUTDIR=build/bloonchipper/abort/RW -DCHIP=stm32 -DBOARD_TASKFILE=ec.tasklist -DBOARD=bloonchipper -DCORE=cortex-m -DPROJECT=abort -DCHIP_VARIANT=stm32f412 -DCHIP_FAMILY=STM32F4 -DBOARD_BLOONCHIPPER= -DCHIP_STM32= -DCORE_CORTEX_M= -DCHIP_VARIANT_STM32F412= -DCHIP_FAMILY_STM32F4= -DFINAL_OUTDIR=build/bloonchipper/abort -DPROTOBUF_MIN_PROTOC_VERSION=0 -DHAS_BASEBOARD= -DBASEBOARD_BLOONCHIPPER= -Iinclude -Icore/cortex-m/include -Iinclude/driver -Icore/cortex-m -Ichip/stm32 -Ibaseboard/bloonchipper -Iboard/bloonchipper -Icommon -Ifuzz -Ipower -Itest -Icts/common -Icts/ -Ibuild/bloonchipper/abort/gen -I../ec-private -Icommon -Icommon/fpsensor -Icommon/mock -Icommon/spi -Icommon/spi/flash_reg -Icommon/spi/flash_reg/private -Icommon/spi/flash_reg/public -Icommon/spi/flash_reg/src -Icommon/usbc -Icommon/vboot -Idriver -Idriver/battery -Idriver/bc12 -Idriver/cec -Idriver/charger -Idriver/fingerprint -Idriver/fingerprint/egis -Idriver/fingerprint/egis/platform -Idriver/fingerprint/egis/platform/inc -Idriver/fingerprint/egis/platform/src -Idriver/fingerprint/elan -Idriver/fingerprint/fpc -Idriver/fingerprint/fpc/bep -Idriver/fingerprint/fpc/libfp -Idriver/ioexpander -Idriver/led -Idriver/nfc -Idriver/ppc -Idriver/retimer -Idriver/sha256 -Idriver/tcpm -Idriver/temp_sensor -Idriver/usb_mux -Idriver/wpc -Ilibc -Ithird_party/boringssl/common -Icrypto -Ibuild/bloonchipper/abort -Ifuzz -Itest -Ithird_party -Ispi/flash_regpublic -I. -DTEST_BUILD= -DTEST_LEGACY_BUILD= -DTEST_TASKFILE=abort.tasklist -DTEST_abort= -DTEST_ABORT= -Iinclude/driver -DSECTION_IS_RW= -DSECTION=RW -DHAS_TASK_FPSENSOR= -DHAS_TASK_RWSIG_RO= -fno-PIC -DCHROMIUM_EC= -DHAS_TASK_HOOKS= -DHAS_TASK_HOSTCMD= -DHAS_TASK_CONSOLE= -DHAS_TASK_TEST= -I../../third_party/boringssl -I../../third_party/boringssl/include -I/build/amd64-generic/tmp/portage/chromeos-base/chromeos-fpmcu-bloonchipper-unittests-0.0.1-r893/work/chromeos-fpmcu-bloonchipper-unittests-0.0.1/platform/ec/third_party/boringssl/include -DCROS_EC -mcpu=cortex-m4 -mcpu=cortex-m4 -mthumb -Oz -Wl,-mllvm -Wl,-inline-threshold=-10 -mno-unaligned-access -mfloat-abi=hard -flto -g -Wall -Wundef -Wno-trigraphs -Wno-format-security -Wno-address-of-packed-member -fno-common -fno-strict-aliasing -fno-strict-overflow -Wimplicit-fallthrough -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Werror -ftrapv -Werror=uninitialized -Wno-unused-function -ffunction-sections -fno-delete-null-pointer-checks -fno-PIC -Wvla -Wall -Wundef -Wno-trigraphs -Wno-format-security -Wno-address-of-packed-member -fno-common -fno-strict-aliasing -fno-strict-overflow -Wimplicit-fallthrough -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Werror -ftrapv -Werror=uninitialized -Wno-unused-function -DPROTOBUF_INLINE_NOT_IN_HEADERS=0 -MMD -MP -MF build/bloonchipper/abort/RW/common/fpsensor/fpsensor.o.d -c common/fpsensor/fpsensor.cc -MT build/bloonchipper/abort/RW/common/fpsensor/fpsensor.o -o build/bloonchipper/abort/RW/common/fpsensor/fpsensor.o
In file included from common/fpsensor/fpsensor.cc:7:
In file included from core/cortex-m/atomic.h:12:
In file included from include/common.h:11:
In file included from include/compile_time_macros.h:12:
In file included from /usr/bin/../include/c++/v1/type_traits:420:
/usr/bin/../include/c++/v1/__config:821:8: error: "No thread API"
821 | # error "No thread API"
| ^
Description
This form is only for reporting platform issues and requests related to the Android 16 Developer Preview or Beta. Only report issues that are regressions from the behavior in Android 15. For all other issues that are also reproducible on other versions of Android, please report those issues in the AOSP issue tracker at
If the issue is caused by an app and not a platform issue, we will do our best to route the issue to the app developer. However, note that it is up to the app developer to actually address reported issues.
Before logging your issue, check to see whether it is a known issue described in the current release notes at:
or has already been reported at:
If the issue has already been reported, you can "star" or comment on the existing report if it corresponds to the issue you are seeing.
To expedite resolution of your issue, please provide as much relevant and specific information as possible. This will probably require some work from you. Most reports should include at least the following:
* Are you an Android developer?" (Y/N)
* Which Android Developer Preview build are you using? See Settings > About phone > Build number (for example AP3A.241105.008).
* Is this a regression from Android 15 to 16?
* What device are you using? (for example, Android Emulator, GSI, Pixel 9)
* What are the steps to reproduce the problem? (Please provide the minimal reproducible test case.)
* Issue Category e.g. Framework (platform), NDK (platform), Hardware (CPU, GPU, Sensor, Camera), ART (platform), Runtime Permissions etc
* What was the expected result?
* Can you provide the API document where this expected behavior is explained?
* What was the actual result?
* Relevant logcat output.
* Link to captured Android bug report (shared privately in Drive.)
* Optional: Link to any screenshot(s) that demonstrate the issue (shared privately in Drive.)
To avoid the possibility of sharing private information, please share bugreports and screenshots from Google Drive. Share files with android-bugreport@google.com and include only Google drive links in your bug. Please note, bug report attachments should not be included directly in issue reports.
Disclaimer:
Please note, by submitting this bug report, you acknowledge that Google may use information included in the bug report to diagnose technical issues and to improve our products and services, in accordance with our Privacy Policy (
Bug reports include personal information logged on your device or by apps, such as:
File names
Installed apps and usage
Email addresses of the profiles on the device
Device identifiers, such as phone number
Web history information, including URLs / URIs
Location information, including limited location history
Network information, such as IP/SSID/MAC addresses and saved or scanned APNs
System or device information, such as memory and processes