configure.ac: Add Wformat-security to Wformat check#899
configure.ac: Add Wformat-security to Wformat check#899bbhtt wants to merge 1 commit intotpm2-software:masterfrom bbhtt:bbhtt/fix-wfmt-flag
Conversation
Same change as tpm2-software/tpm2-tools@52ac6af This became fatal with newer automake/autoconf ``` checking whether byte ordering is bigendian... no checking whether the C compiler accepts -Wall... yes checking whether the C compiler accepts -Wextra... yes checking whether the C compiler accepts -Wformat... yes checking whether the C compiler accepts -Wformat-security... no configure: error: Cannot enable -Wformat-security, consider configuring with --disable-hardening ```
|
@bbhtt I'll take this, can you add a signed off to your commit and re-push? I'll probably start the RC cycle without this and then I'll merge it if you sign it off in the next week before a release. |
Without -Wformat for -Wformat-security, gcc will complain: checking whether the C compiler accepts -Wformat-security... no configure: error: Cannot enable -Wformat-security, consider configuring with --disable-hardening Related to: tpm2-software#899 Signed-off-by: Bill Roberts <bill.c.roberts@gmail.com>
|
I actually need this now... so moved: #904 |
|
If the ci here wasn't so broken I'd have seen the dco workflow failing and added it then. The nice thing to do when taking other's patches is to preserve authorship. |
Without -Wformat for -Wformat-security, gcc will complain: checking whether the C compiler accepts -Wformat-security... no configure: error: Cannot enable -Wformat-security, consider configuring with --disable-hardening Related to: #899 Signed-off-by: Bill Roberts <bill.c.roberts@gmail.com>
|
If you need it fast maybe visit the open PRs in your repo more often. This was sitting here for over 2 months without any review and suddenly you need it "right now" and can't wait a day let alone more than 1 hour meanwhile I was waiting for 2 months...very fair. A "related to" link to the PR is not attribution. |
Sorry our funding was pulled and we're all keeping the lights on in our spare time. We've made multiple calls to ask for new maintainers to help, and I didn't see you step up. What you didn't see was the person that was patiently working with me for over a year to get what he wants and assisted in getting the release process started and fixing our CI. Your lack of following our contribution guidelines and missing the DCO is not my problem. |
Without -Wformat for -Wformat-security, gcc will complain: checking whether the C compiler accepts -Wformat-security... no configure: error: Cannot enable -Wformat-security, consider configuring with --disable-hardening Related to: tpm2-software/tpm2-pkcs11#899 Signed-off-by: Bill Roberts <bill.c.roberts@gmail.com>

Same change as tpm2-software/tpm2-tools@52ac6af
This became fatal with newer automake/autoconf