https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89255

            Bug ID: 89255
           Summary: libphobos.unittests multilib handling broken
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---

The libphobos.unittests tests don't run properly for the non-default multilib
(seen on both Solaris/SPARC and x86 as well as Linux/x86_64 and Linux/i686, but
not dependent on the specific target).

* E.g. on Solaris/x86 for the -m64 multilib, I see

ld.so.1: unittest: fatal: libgdruntime_t.so.0: open failed: No such file or
directory

  which not only produces confused libphobos.sum output

Running
/vol/gcc/src/hg/trunk/local/libphobos/testsuite/libphobos.unittests/unittests.exp
...
FAIL: libphobos.unittests/druntime/shared/ld.so.1:
FAIL: libphobos.unittests/druntime/shared/unittest:
FAIL: libphobos.unittests/druntime/shared/fatal:
FAIL: libphobos.unittests/druntime/shared/libgdruntime_t.so.0:
FAIL: libphobos.unittests/druntime/shared/open
FAIL: libphobos.unittests/druntime/shared/failed:
FAIL: libphobos.unittests/druntime/shared/No
FAIL: libphobos.unittests/druntime/shared/such
FAIL: libphobos.unittests/druntime/shared/file
FAIL: libphobos.unittests/druntime/shared/or
FAIL: libphobos.unittests/druntime/shared/directory

  which later turns up in mail-report.log, but

* indeed libgdruntime_t.so isn't built for non-default multilibs. 
libgdruntime_t.la
  is only built during make check, but the toplevel check targets lacks
  multilib handling.

Reply via email to