[all-commits] [llvm/llvm-project] b4ae67: [asan][test] XFAIL global-location-nodebug.cpp on ...

rorth via All-commits all-commits at lists.llvm.org
Sat Jun 25 01:41:01 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4ae67fffa40de2d9d71cec8ed29fd219362963b
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2022-06-25 (Sat, 25 Jun 2022)

  Changed paths:
    M compiler-rt/test/asan/TestCases/global-location-nodebug.cpp

  Log Message:
  [asan][test] XFAIL global-location-nodebug.cpp on Solaris

A new test `FAIL`s on Solaris:

  FAIL: AddressSanitizer-i386-sunos ::
TestCases/global-location-nodebug.cpp (465 of 64279)
  FAIL: AddressSanitizer-i386-sunos-dynamic ::
TestCases/global-location-nodebug.cpp (961 of 64279)

The problem is the unconditional use of `-Wl,-S`:

  ld: fatal: dlopen() of support library (-lstdc++) failed with error:
ld.so.1: ld: -lstdc++: open failed: No such file or directory

`ld -S` has a completely different semantics compared to GNU `ld
-S`/`--strip-debug`: specify a link-edit support library.  To avoid this,
I've chosen to `XFAIL` the test.

Tested on `amd64-pc-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D128516

More information about the All-commits mailing list