r271801 - Add PIE magic for NetBSD. Add tests for the correct flags for

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 6 04:36:37 PDT 2016


On Mon, Jun 06, 2016 at 02:21:37PM +0300, Ismail Donmez wrote:
> This seems to fail for me on Windows:
> $ "C:/cygwin64/home/ismail/src/llvm/dist/./bin/clang.EXE"
> "-no-canonical-prefixes" "-target" "x86_64--netbsd"
> "--sysroot=C:\cygwin64\home\ismail\src\llvm\tools\clang\test\Driver/Inputs/basic_netbsd_tree"
> "C:\cygwin64\home\ismail\src\llvm\tools\clang\test\Driver\netbsd.c"
> "-###"
> $ "C:/cygwin64/home/ismail/src/llvm/dist/./bin\FileCheck.EXE"
> "-check-prefix=STATIC"
> "C:\cygwin64\home\ismail\src\llvm\tools\clang\test\Driver\netbsd.c"
> # command stderr:
> C:\cygwin64\home\ismail\src\llvm\tools\clang\test\Driver\netbsd.c:121:12:
> error: expected string not found in input
> // STATIC: "-dynamic-linker" "/libexec/ld.elf_so"
>            ^
> <stdin>:7:1: note: scanning from here
> 
> ^

I don't understand this error. The test is structured just like the
existing checks and the patterns it is looking for are in the input as
well.

Joerg


More information about the cfe-commits mailing list