public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/99812] New: [11 regression] Many libphobos.druntime_shared etc. tests FAIL
@ 2021-03-29  9:11 ro at gcc dot gnu.org
  2021-03-29  9:11 ` [Bug d/99812] " ro at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2021-03-29  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99812
           Summary: [11 regression] Many libphobos.druntime_shared etc.
                    tests FAIL
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

Between 20210326 (6081d8994ed1a0aef6b7f5fb34f091faa3580416) and 20210328
(d21001c793e97d88013d05226a8ea93a149726b1),
many libphobos tests started to FAIL:

+FAIL: libphobos.druntime_shared/core/atomic.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/sync/barrier.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/sync/condition.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/sync/mutex.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/sync/rwmutex.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/sync/semaphore.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/thread/fiber.d (test for excess errors)
+FAIL: libphobos.druntime_shared/core/thread/osthread.d (test for excess
errors)
+FAIL: libphobos.druntime_shared/core/time.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/algorithm/comparison.d (test for excess
errors)
+FAIL: libphobos.phobos_shared/std/algorithm/iteration.d (test for excess
errors)
+FAIL: libphobos.phobos_shared/std/algorithm/mutation.d (test for excess
errors)
+FAIL: libphobos.phobos_shared/std/base64.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/concurrency.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/conv.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/datetime/date.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/datetime/interval.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/datetime/stopwatch.d (test for excess
errors)
+FAIL: libphobos.phobos_shared/std/datetime/systime.d (test for excess errors)

+FAIL:
libphobos.phobos_shared/std/experimental/allocator/building_blocks/free_list.d
(test for excess errors)

+FAIL:
libphobos.phobos_shared/std/experimental/allocator/building_blocks/stats_collector.d
(test for excess errors)
+FAIL: libphobos.phobos_shared/std/experimental/allocator/package.d (test for
excess errors)
+FAIL: libphobos.phobos_shared/std/experimental/logger/core.d (test for excess
errors)
+FAIL: libphobos.phobos_shared/std/experimental/logger/filelogger.d (test for
excess errors)
 FAIL: libphobos.phobos_shared/std/experimental/logger/filelogger.d execution
test
+FAIL: libphobos.phobos_shared/std/experimental/logger/multilogger.d (test for
excess errors)

+FAIL: libphobos.phobos_shared/std/experimental/logger/multilogger.d (test for
excess errors)

+FAIL: libphobos.phobos_shared/std/experimental/logger/nulllogger.d (test for
excess errors)
+FAIL: libphobos.phobos_shared/std/file.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/mmfile.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/net/curl.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/numeric.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/parallelism.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/path.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/process.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/range/package.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/socket.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/stdio.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/traits.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/typecons.d (test for excess errors)

+FAIL: libphobos.phobos_shared/std/zip.d (test for excess errors)

The failures happen on both Solaris/SPARC and x86, 32 and 64-bit.  The error 
is always of the same kind:

+FAIL: libphobos.druntime_shared/core/atomic.d (test for excess errors)

Excess errors:
ld: warning: symbol '_D4core6atomic12__ModuleInfoZ' has differing sizes:
        (file /var/tmp//cchXf0Ca.o value=0x1c; file
/var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libphobos/src/.libs/libgphobos.so
value=0x14);
        /var/tmp//cchXf0Ca.o definition taken

This is caused by

commit fdfcb5353cc2b06fc80205cfcb3bc5ba25556264
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Fri Mar 26 15:46:24 2021 +0100

    libphobos: Build all modules with -fversion=Shared when configured with
--enable-shared

which dropped -fno-moduleinfo in both
libphobos.druntime_shared/druntime_shared.exp and
libphobos.phobos_shared/phobos_shared.exp.

I've spot-checked that manually rebuilding a failing testcase with
-fno-moduleinfo added back both avoids the linker warning and lets the test
execute
successfully.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/99812] [11 regression] Many libphobos.druntime_shared etc. tests FAIL
  2021-03-29  9:11 [Bug d/99812] New: [11 regression] Many libphobos.druntime_shared etc. tests FAIL ro at gcc dot gnu.org
@ 2021-03-29  9:11 ` ro at gcc dot gnu.org
  2021-04-08 13:14 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2021-03-29  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/99812] [11 regression] Many libphobos.druntime_shared etc. tests FAIL
  2021-03-29  9:11 [Bug d/99812] New: [11 regression] Many libphobos.druntime_shared etc. tests FAIL ro at gcc dot gnu.org
  2021-03-29  9:11 ` [Bug d/99812] " ro at gcc dot gnu.org
@ 2021-04-08 13:14 ` rguenth at gcc dot gnu.org
  2021-04-10 13:08 ` cvs-commit at gcc dot gnu.org
  2021-04-10 13:15 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-08 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/99812] [11 regression] Many libphobos.druntime_shared etc. tests FAIL
  2021-03-29  9:11 [Bug d/99812] New: [11 regression] Many libphobos.druntime_shared etc. tests FAIL ro at gcc dot gnu.org
  2021-03-29  9:11 ` [Bug d/99812] " ro at gcc dot gnu.org
  2021-04-08 13:14 ` rguenth at gcc dot gnu.org
@ 2021-04-10 13:08 ` cvs-commit at gcc dot gnu.org
  2021-04-10 13:15 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-10 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:38258326dc9e5581e2cd6318ae1b5e675dd00d4a

commit r11-8110-g38258326dc9e5581e2cd6318ae1b5e675dd00d4a
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Apr 10 12:01:04 2021 +0200

    libphobos: Re-add -fno-moduleinfo flag to dg-runtest [PR99812]

    libphobos/ChangeLog:

            PR d/99812
            * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
            -fno-moduleinfo flag to dg-runtest.
            * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/99812] [11 regression] Many libphobos.druntime_shared etc. tests FAIL
  2021-03-29  9:11 [Bug d/99812] New: [11 regression] Many libphobos.druntime_shared etc. tests FAIL ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-04-10 13:08 ` cvs-commit at gcc dot gnu.org
@ 2021-04-10 13:15 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-04-10 13:15 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Re-added -fno-moduleinfo for now.  Will fix -fbuilding-libphobos-tests later
after 11 release.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-10 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29  9:11 [Bug d/99812] New: [11 regression] Many libphobos.druntime_shared etc. tests FAIL ro at gcc dot gnu.org
2021-03-29  9:11 ` [Bug d/99812] " ro at gcc dot gnu.org
2021-04-08 13:14 ` rguenth at gcc dot gnu.org
2021-04-10 13:08 ` cvs-commit at gcc dot gnu.org
2021-04-10 13:15 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).