[PATCH] D29527: [scudo] Fix standalone compiler-rt test breakage

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 18:19:45 PST 2017


cryptoad created this revision.
Herald added a subscriber: dberris.

Apparently "test standalone compiler-rt" still requires -ldl and -lrt for
Scudo even with --gc-sections. I am not entirely sure why, so if anybody has
some input, feel free to chime in.

In the meantime, add again those two to fix the test.


https://reviews.llvm.org/D29527

Files:
  test/scudo/lit.cfg


Index: test/scudo/lit.cfg
===================================================================
--- test/scudo/lit.cfg
+++ test/scudo/lit.cfg
@@ -24,6 +24,8 @@
            "-pie",
            "-O0",
            "-UNDEBUG",
+           "-ldl",
+           "-lrt",
            "-Wl,--gc-sections"])
 
 def build_invocation(compile_flags):                                            


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29527.87063.patch
Type: text/x-patch
Size: 379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170204/1212ee68/attachment.bin>


More information about the llvm-commits mailing list