lld: error: unknown argument: -z
envgap__OpenNMT__CTranslate2-1859
01 / FAILURE SIGNATURE
As reported upstream
lld: error: unknown argument: -z
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
11ed2acc5830ad5d0054b26ed189b480c0b54360- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
OpenNMT/CTranslate2 #1859 · read the original issue
I'm building CTranslate2 on Windows, and I'm running into the following bug ``` [ 98%] Linking CXX shared library libctranslate2.dll lld: error: unknown argument: -z ``` I'm quite certain this has something to do with the commit: [noexecstack linker flags](https://github.com/OpenNMT/CTranslate2/commit/11ed2acc5830ad5d0054b26ed189b480c0b54360) Is it possible to set these flags only on Linux? Right now it seems to be set on both Linux and Windows. Thanks
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]