-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build Failed #21255
Comments
Using built-in specs. |
DISTRIB_ID="Arch" |
I'm seeing this after The only additional data I can think of is that I just installed Android Studio for Linux. |
…pleStateMachine test.
…pleStateMachine test.
…pleStateMachine test.
When fixing this, please undo the change in #22461 (the uninitialized should remain an error) |
Re-opening to fix the circular dependency rather than disabling the warning in the compiler. |
…pleStateMachine test. (project-chip#22461) * [build] Fix project-chip#21255 - allow circular initialization of SimpleStateMachine test. * [build] Add comment per review feedback.
…pleStateMachine test. (project-chip#22461) * [build] Fix project-chip#21255 - allow circular initialization of SimpleStateMachine test. * [build] Add comment per review feedback.
…ntation (#23239) * Add missing pthread header (#22833) * [build] Fix #21255 - allow circular initialization of SimpleStateMachine test. (#22461) * [build] Fix #21255 - allow circular initialization of SimpleStateMachine test. * [build] Add comment per review feedback. * [Darwin][AttestationVerifier] Expose a mechanism to customise cd signing keys and use it in darwin (#22338) * Add AttestationTrustStore::GetCertificationDeclarationCert virtual method to allow controllers passing in some CD certs * Add cdCerts member to MTRControllerFactoryparams and override AttestationTrustStore::GetCertificationDeclarationCert * Implement ArrayTrustStore::GetCertificationDeclarationSigningKey and initialize the test ArrayTrustStore store with the test CD cert * Update the FileAttestationTrustStore to read a directory with der certs for certification declaration verification * Add credentials/development/cd-certs/ and update chip-tool to use it if desired * Update API to match conversation - Remove CD stuff from FileAttestationTrustStore - Refactor FileAttestationTrustStore to allow loading of any X.509 cert directory - Add a command line to chip-tool to disallow test keys (`only-allow-trusted-cd-keys`) - Add plumbing to enable CD keys lookup properly without mixing-up with PAA semantics - Add official CD verifying key and official SDK CD test key in the default CD trust store as-is * Update src/darwin to take into account the proposed changes * Add unit test for `CsaCdKeysTrustStore` Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com> * [Attestation] Updated to Use CD Signed by a Valid CSA Cert (#22685) * Updated CSA Official CD Signing Certificates (#23027) * restyled. * Remove fixed versioning for git in cirque (#23257) Co-authored-by: Gene Harvey <gene.harvey@smartthings.com> Co-authored-by: Martin Turon <mturon@google.com> Co-authored-by: Vivien Nicolas <vnicolas@apple.com> Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com> Co-authored-by: Andrei Litvin <andy314@gmail.com>
This warning has not been fixed. Squelch it to remove noisy output in the build log. The underlying issue is tracked at project-chip#21255
This warning has not been fixed. Squelch it to remove noisy output in the build log. The underlying issue is tracked at #21255
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale issue has been automatically closed. Thank you for your contributions. |
Problem
<what's wrong or missing, please include any applicable:
ninja: Entering directory `./out/debug'
[1733/3907] c++ linux_x64_gcc/obj/src/lib/support/tests/libSupportTests.TestStateMachine.cpp.o
FAILED: linux_x64_gcc/obj/src/lib/support/tests/libSupportTests.TestStateMachine.cpp.o
g++ -MMD -MF linux_x64_gcc/obj/src/lib/support/tests/libSupportTests.TestStateMachine.cpp.o.d -Wconversion -O0 -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -Wall -Werror -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wno-cast-function-type -fdiagnostics-color -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -Wno-implicit-fallthrough -Wno-implicit-fallthrough -std=gnu++14 -fno-rtti -Wnon-virtual-dtor -DCHIP_HAVE_CONFIG_H=1 -I../../src/include -I../../src -Ilinux_x64_gcc/gen/include -I../../zzz_generated/app-common -I../../config/standalone -I../../third_party/nlassert/repo/include -I../../third_party/nlio/repo/include -I../../third_party/nlfaultinjection/repo/include -I../../third_party/inipp/repo/inipp -I../../third_party/nlunit-test/repo/src -I../../third_party/jsoncpp/repo/include -c ../../src/lib/support/tests/TestStateMachine.cpp -o linux_x64_gcc/obj/src/lib/support/tests/libSupportTests.TestStateMachine.cpp.o
../../src/lib/support/tests/TestStateMachine.cpp: In constructor ‘{anonymous}::SimpleStateMachine::SimpleStateMachine()’:
../../src/lib/support/tests/TestStateMachine.cpp:158:41: error: member ‘{anonymous}::SimpleStateMachine::mStateMachine’ is used uninitialized [-Werror=uninitialized]
158 | SimpleStateMachine() : mTransitions(mStateMachine), mStateMachine(mTransitions) {}
| ^~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
[1746/3907] c++ linux_x64_gcc/obj/examples/chip-tool/chip-tool.main.cpp.o
ninja: build stopped: subcommand failed.
Proposed Solution
<suggested fix, suggested enhancement>
The text was updated successfully, but these errors were encountered: