compile native_sim with debug msg
Some checks are pending
Hello World (Multiplatform) / build (macos-12) (push) Waiting to run
Hello World (Multiplatform) / build (macos-14) (push) Waiting to run
Hello World (Multiplatform) / build (ubuntu-22.04) (push) Waiting to run
Hello World (Multiplatform) / build (windows-2022) (push) Waiting to run
Run tests with twister / twister-build-prep (push) Waiting to run
Run tests with twister / twister-build (push) Blocked by required conditions
Run tests with twister / Publish Unit Tests Results (push) Blocked by required conditions
Run tests with twister / Check Twister Status (push) Blocked by required conditions
Some checks are pending
Hello World (Multiplatform) / build (macos-12) (push) Waiting to run
Hello World (Multiplatform) / build (macos-14) (push) Waiting to run
Hello World (Multiplatform) / build (ubuntu-22.04) (push) Waiting to run
Hello World (Multiplatform) / build (windows-2022) (push) Waiting to run
Run tests with twister / twister-build-prep (push) Waiting to run
Run tests with twister / twister-build (push) Blocked by required conditions
Run tests with twister / Publish Unit Tests Results (push) Blocked by required conditions
Run tests with twister / Check Twister Status (push) Blocked by required conditions
This commit is contained in:
parent
1d2000beab
commit
ef199a07cd
|
@ -823,6 +823,7 @@ target_include_directories(${OFFSETS_LIB} PRIVATE
|
||||||
|
|
||||||
# Make sure that LTO will never be enabled when compiling offsets.c
|
# Make sure that LTO will never be enabled when compiling offsets.c
|
||||||
set_source_files_properties(${OFFSETS_C_PATH} PROPERTIES COMPILE_OPTIONS "$<TARGET_PROPERTY:compiler,prohibit_lto>;$<TARGET_PROPERTY:compiler,prohibit_cfi>")
|
set_source_files_properties(${OFFSETS_C_PATH} PROPERTIES COMPILE_OPTIONS "$<TARGET_PROPERTY:compiler,prohibit_lto>;$<TARGET_PROPERTY:compiler,prohibit_cfi>")
|
||||||
|
set_source_files_properties(${ZEPHYR_BASE}/misc/empty_file.c PROPERTIES COMPILE_OPTIONS "$<TARGET_PROPERTY:compiler,prohibit_lto>;$<TARGET_PROPERTY:compiler,prohibit_cfi>")
|
||||||
|
|
||||||
target_link_libraries(${OFFSETS_LIB} zephyr_interface)
|
target_link_libraries(${OFFSETS_LIB} zephyr_interface)
|
||||||
add_dependencies(zephyr_interface
|
add_dependencies(zephyr_interface
|
||||||
|
|
|
@ -91,6 +91,7 @@ function(toolchain_ld_link_elf)
|
||||||
${TOPT}
|
${TOPT}
|
||||||
${TOOLCHAIN_LD_LINK_ELF_LINKER_SCRIPT}
|
${TOOLCHAIN_LD_LINK_ELF_LINKER_SCRIPT}
|
||||||
${TOOLCHAIN_LD_LINK_ELF_LIBRARIES_POST_SCRIPT}
|
${TOOLCHAIN_LD_LINK_ELF_LIBRARIES_POST_SCRIPT}
|
||||||
|
-fuse-ld=lld
|
||||||
|
|
||||||
${LINKERFLAGPREFIX},-Map=${TOOLCHAIN_LD_LINK_ELF_OUTPUT_MAP}
|
${LINKERFLAGPREFIX},-Map=${TOOLCHAIN_LD_LINK_ELF_OUTPUT_MAP}
|
||||||
${LINKERFLAGPREFIX},--whole-archive
|
${LINKERFLAGPREFIX},--whole-archive
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
#CONFIG_ASAN=y
|
#CONFIG_ASAN=y
|
||||||
CONFIG_CFI=y
|
CONFIG_CFI=y
|
||||||
#CONFIG_LLVM_USE_LLD=y
|
CONFIG_LLVM_USE_LLD=y
|
||||||
|
CONFIG_COMPILER_RT_RTLIB=y
|
||||||
|
|
||||||
#CONFIG_DEBUG=y
|
#CONFIG_DEBUG=y
|
||||||
#CONFIG_DEBUG_INFO=y
|
#CONFIG_DEBUG_INFO=y
|
||||||
|
|
|
@ -133,7 +133,8 @@ ${NSI_EXE}: ${NSI_BUILD_PATH}/${RUNNER_LIB} ${LOCALIZED_EMBSW} ${NSI_EXTRA_LIBS}
|
||||||
-o $@ ${FINALLINK_FLAGS} -T ${NSI_BUILD_PATH}/linker_script.ld \
|
-o $@ ${FINALLINK_FLAGS} -T ${NSI_BUILD_PATH}/linker_script.ld \
|
||||||
-B /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib \
|
-B /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib \
|
||||||
-B /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \
|
-B /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \
|
||||||
-L /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/
|
-L /nix/store/qfqjymymsd2x29yknsgllfiq1h64s3f4-gcc-12.3.0/lib/gcc/x86_64-unknown-linux-gnu/12.3.0/ \
|
||||||
|
-lclang_rt.ubsan_standalone-x86_64
|
||||||
|
|
||||||
Makefile: ;
|
Makefile: ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue