Skip to content

Commit 5c51472

Browse files
committed
Merge branch 'bugfix/linux_cert_bundle_build_warn' into 'master'
fix(tools): suppress GNU bin-utils warning about executable stack Closes IDFCI-2819 See merge request espressif/esp-idf!38109
2 parents 21f59bd + 32875d5 commit 5c51472

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tools/ci/ignore_build_warnings.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ warning: unknown kconfig symbol 'UNITY_FREERTOS_STACK_SIZE' assigned to '12288'
3939
warning: unknown kconfig symbol 'WPA3_SAE' assigned to 'y' in .*/components/wpa_supplicant/test_apps/sdkconfig.defaults
4040
ld: warning: ignoring duplicate libraries
4141
archive library: .+ the table of contents is empty
42-
warning: x509_crt_bundle.S.o: missing .note.GNU-stack section implies executable stack

tools/cmake/scripts/data_file_embed_asm.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,7 @@ else()
8686
make_and_append_identifier("${varname}_length")
8787
endif()
8888
append_line(".long ${data_len}")
89+
append_line("")
90+
append_line("#if defined (__linux__)")
91+
append_line(".section .note.GNU-stack,\"\",@progbits")
92+
append_line("#endif")

0 commit comments

Comments
 (0)