[libcxx-commits] [PATCH] D90178: [SystemZ][ZOS] libcxx - no posix memalign

Zbigniew Sarbinowski via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 20 12:06:40 PST 2020


zibi marked an inline comment as done.
zibi added inline comments.


================
Comment at: libcxx/CMakeLists.txt:525
+  # because they are provided by the dylib itself with the excepton of z/OS.
+  if (ZOS)
+    target_add_compile_flags_if_supported(${target} PRIVATE -fno-aligned-allocation)
----------------
ldionne wrote:
> Can you explain why you need this? IOW, what issue are you seeing if you use `-faligned-allocation`?
I'm seeing unresolved symbols to align version of operator new preventing from linking.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90178/new/

https://reviews.llvm.org/D90178



More information about the libcxx-commits mailing list