[cfe-commits] r154200 - in /cfe/trunk: lib/Driver/Tools.cpp test/Driver/linux-ld.c

Simon Atanasyan satanasyan at mips.com
Thu Apr 12 04:14:11 PDT 2012


Hi,

Unfortunately, I cannot reproduce the problem on my Debian 6 host
(x86_64-unknown-linux-gnu). As far as I can see LLVM buildbots
(http://lab.llvm.org:8011/grid) do not see the problem too.

Could you please provide more details on your test environment (OS
version, installed multiarch libraries etc) and failed test (full
command output)? By the way did you rebuild the clang code from
scratch?

Thanks.

On Thu, Apr 12, 2012 at 1:22 PM, İsmail Dönmez <ismail at namtrac.org> wrote:
>>  // RUN: %clang %s -### -o %t.o 2>&1 \
>>  // RUN:     -target mipsel-linux-gnu -ccc-clang-archs mipsel \
>>  // RUN:   | FileCheck --check-prefix=CHECK-MIPSEL %s
>>  // CHECK-MIPSEL: "{{.*}}ld{{(.exe)?}}"
>> +// CHECK-MIPSEL: "-m" "elf32ltsmip"
>> +// CHECK-MIPSEL: "-dynamic-linker" "{{.*}}/lib/ld.so.1"
>
> This last line breaks on Linux/x86-64 :
>
> /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Driver/linux-ld.c:197:16:
> error: expected string not found in input
> // CHECK-MIPS: "-dynamic-linker" "{{.*}}/lib/ld.so.1"
>                ^
> <stdin>:6:99: note: scanning from here
>  "/usr/bin/ld" "-z" "relro" "--build-id" "--enable-new-dtags"
> "--eh-frame-hdr" "-m" "elf32btsmip" "-dynamic-linker" "/lib64/ld.so.1" "-o"
> "/home/abuild/rpmbuild/BUILD/llvm/stage3/tools/clang/test/Driver/Output/linux-ld.c.tmp.o"
> "crt1.o" "crti.o" "crtbegin.o" "-L/lib" "-L/usr/lib"
> "/tmp/linux-ld-FjAs8Q.o" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"
> "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "crtend.o" "crtn.o"

--
Simon




More information about the cfe-commits mailing list