https://git.reactos.org/?p=reactos.git;a=commitdiff;h=36e9a6f8ddc70018b55b0…
commit 36e9a6f8ddc70018b55b0cad0b13128b1cbb60c2
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sun Jul 7 16:06:25 2019 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sun Jul 7 16:06:43 2019 +0200
[CMAKE] Disable INIT section ld scripts for now. CORE-16183 ROSBE-154
---
ntoskrnl/CMakeLists.txt | 3 ++-
sdk/cmake/gcc.cmake | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/CMakeLists.txt b/ntoskrnl/CMakeLists.txt
index 5f2ac879316..7f301afef9b 100644
--- a/ntoskrnl/CMakeLists.txt
+++ b/ntoskrnl/CMakeLists.txt
@@ -38,7 +38,8 @@ else()
else()
set_image_base(ntoskrnl 0x80800000)
endif()
- add_linker_script(ntoskrnl ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
+ #Disabled due to LD bug: ROSBE-154
+ #add_linker_script(ntoskrnl ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
endif()
target_link_libraries(ntoskrnl cportlib csq ${PSEH_LIB} cmlib ntlsalib rtl ${ROSSYM_LIB}
libcntpr wdmguid ioevent)
diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake
index c4c741ff6a6..c92403538c2 100644
--- a/sdk/cmake/gcc.cmake
+++ b/sdk/cmake/gcc.cmake
@@ -318,7 +318,8 @@ function(set_module_type_toolchain MODULE TYPE)
if(${TYPE} STREQUAL "wdmdriver")
add_target_link_flags(${MODULE} "-Wl,--wdmdriver")
endif()
- add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
+ #Disabled due to LD bug: ROSBE-154
+ #add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
endif()
if(STACK_PROTECTOR)