public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
@ 2021-12-24 14:08 fxcoudert at gcc dot gnu.org
  2021-12-24 14:15 ` [Bug lto/103823] " pinskia at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-24 14:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103823
           Summary: g++.dg/torture/pr31863.C fails on darwin with "using
                    serial compilation of 2 LTRANS jobs"
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

g++.dg/torture/pr31863.C fails on *-apple-darwin with:

FAIL: g++.dg/torture/pr31863.C   -O2 -flto  (test for excess errors)
Excess errors:
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs

Not sure if the message is expected or not, if there is a bug to fix (or if we
need to find a way to silence the testcase on darwin).

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

* [Bug lto/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
@ 2021-12-24 14:15 ` pinskia at gcc dot gnu.org
  2021-12-24 14:17 ` [Bug testsuite/103823] " pinskia at gcc dot gnu.org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-24 14:15 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=47334

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Very similar to PR 47334 really.

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
  2021-12-24 14:15 ` [Bug lto/103823] " pinskia at gcc dot gnu.org
@ 2021-12-24 14:17 ` pinskia at gcc dot gnu.org
  2021-12-24 14:18 ` fxcoudert at gcc dot gnu.org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-24 14:17 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-12-24
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Very similar to PR 47334 really.

That is the problem is lto.exp prunes out this message but since this is in
g++.dg/torture rather than the lto testsuite, there is no pruning happening.

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
  2021-12-24 14:15 ` [Bug lto/103823] " pinskia at gcc dot gnu.org
  2021-12-24 14:17 ` [Bug testsuite/103823] " pinskia at gcc dot gnu.org
@ 2021-12-24 14:18 ` fxcoudert at gcc dot gnu.org
  2021-12-24 14:47 ` iains at gcc dot gnu.org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-24 14:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Any reason not to move the test to the lto testsuite?

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-12-24 14:18 ` fxcoudert at gcc dot gnu.org
@ 2021-12-24 14:47 ` iains at gcc dot gnu.org
  2021-12-26  0:11 ` pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: iains at gcc dot gnu.org @ 2021-12-24 14:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
if that is not viable
you could prune it locally to the specific test,
or add the prune to the general set in testsuite/lib (perhaps making it
darwin-specific).

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-12-24 14:47 ` iains at gcc dot gnu.org
@ 2021-12-26  0:11 ` pinskia at gcc dot gnu.org
  2021-12-26  1:51 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-26  0:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #3)
> Any reason not to move the test to the lto testsuite?

Most likely should have been when PR 47334 was filed but since the failure only
showed up on solaris and using sun's as, nobody really cared to move it :).

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-12-26  0:11 ` pinskia at gcc dot gnu.org
@ 2021-12-26  1:51 ` pinskia at gcc dot gnu.org
  2021-12-26 20:00 ` fxcoudert at gcc dot gnu.org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-26  1:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 52057
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52057&action=edit
Patch to test

Can you try this patch?

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-12-26  1:51 ` pinskia at gcc dot gnu.org
@ 2021-12-26 20:00 ` fxcoudert at gcc dot gnu.org
  2021-12-26 20:01 ` fxcoudert at gcc dot gnu.org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-26 20:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Did not work: I think it's because it's lto-wrapper not lto1.

Executing on host: /private/tmp/ibin/gcc/testsuite/g++/../../xg++
-B/private/tmp/ibin/gcc/testsuite/g++/../../  /tmp/gcc-darwin-arm6
4/gcc/testsuite/g++.dg/torture/pr31863.C    -fdiagnostics-plain-output 
-nostdinc++ -I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++
-v3/include/aarch64-apple-darwin21.2.0
-I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++-v3/include
-I/tmp/gcc-darwin-arm64/libstdc++
-v3/libsupc++ -I/tmp/gcc-darwin-arm64/libstdc++-v3/include/backward
-I/tmp/gcc-darwin-arm64/libstdc++-v3/testsuite/util -fmessage-le
ngth=0   -O2 -flto     
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs 
-B/private/tmp/ibin/aarch64-apple-d
arwin21.2.0/./libstdc++-v3/src/.libs 
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs
-B/private/tmp/ibin/aa
rch64-apple-darwin21.2.0/./libitm/
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libitm/.libs -multiply_defined
suppress -lm  -o 
pr31863.exe    (timeout = 600)
spawn -ignore SIGHUP /private/tmp/ibin/gcc/testsuite/g++/../../xg++
-B/private/tmp/ibin/gcc/testsuite/g++/../../ /tmp/gcc-darwin-arm
64/gcc/testsuite/g++.dg/torture/pr31863.C -fdiagnostics-plain-output
-nostdinc++ -I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++-v3
/include/aarch64-apple-darwin21.2.0
-I/tmp/ibin/aarch64-apple-darwin21.2.0/libstdc++-v3/include
-I/tmp/gcc-darwin-arm64/libstdc++-v3
/libsupc++ -I/tmp/gcc-darwin-arm64/libstdc++-v3/include/backward
-I/tmp/gcc-darwin-arm64/libstdc++-v3/testsuite/util -fmessage-lengt
h=0 -O2 -flto
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs
-B/private/tmp/ibin/aarch64-apple-darwin21.2.0
/./libstdc++-v3/src/.libs
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libstdc++-v3/src/.libs
-B/private/tmp/ibin/aarch64-apple-
darwin21.2.0/./libitm/
-L/private/tmp/ibin/aarch64-apple-darwin21.2.0/./libitm/.libs -multiply_defined
suppress -lm -o pr31863.exe
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the
ESC]8;;https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto^G'-flto'
option documentation
ESC]8;;^G for more information
FAIL: g++.dg/torture/pr31863.C   -O2 -flto  (test for excess errors)
Excess errors:
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs


I am attaching a slightly amended version, accepting stuff after "lto", which
passes.

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2021-12-26 20:00 ` fxcoudert at gcc dot gnu.org
@ 2021-12-26 20:01 ` fxcoudert at gcc dot gnu.org
  2021-12-26 21:04 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-26 20:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Created attachment 52064
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52064&action=edit
Revised patch

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2021-12-26 20:01 ` fxcoudert at gcc dot gnu.org
@ 2021-12-26 21:04 ` pinskia at gcc dot gnu.org
  2021-12-27  9:14 ` fxcoudert at gcc dot gnu.org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-26 21:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #8)
> Created attachment 52064 [details]
> Revised patch

Can you submit this? But it looks correct. And thanks for correcting my patch.

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2021-12-26 21:04 ` pinskia at gcc dot gnu.org
@ 2021-12-27  9:14 ` fxcoudert at gcc dot gnu.org
  2021-12-29 19:27 ` fxcoudert at gcc dot gnu.org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-27  9:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587376.html

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2021-12-27  9:14 ` fxcoudert at gcc dot gnu.org
@ 2021-12-29 19:27 ` fxcoudert at gcc dot gnu.org
  2023-01-06  9:17 ` cvs-commit at gcc dot gnu.org
  2023-01-06  9:35 ` cvs-commit at gcc dot gnu.org
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-29 19:27 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #11 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Fixed by
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=05edf6c470ae0ab50d42f16e78e476dbcc774842

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2021-12-29 19:27 ` fxcoudert at gcc dot gnu.org
@ 2023-01-06  9:17 ` cvs-commit at gcc dot gnu.org
  2023-01-06  9:35 ` cvs-commit at gcc dot gnu.org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-06  9:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:65b768fdb1ad302a6537119305317f413bfcbe0e

commit r11-10455-g65b768fdb1ad302a6537119305317f413bfcbe0e
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date:   Mon Dec 27 01:13:59 2021 +0100

    LTO: Prune some warnings in the testsuite

    Warnings like:

        warning: using serial compilation of 2 LTRANS jobs
        warning: visibility attribute not supported in this configuration;
ignored\[^\n\]*" $text "" text

    are pruned by lto.exp, but not for LTO testcases when run in other parts
    of the testsuite. They will be, now.

    gcc/testsuite/ChangeLog:

            PR testsuite/47334
            PR testsuite/103823
            * lib/prune.exp: Prune some warnings related to LTO and
            visibility.

    (cherry picked from commit 05edf6c470ae0ab50d42f16e78e476dbcc774842)

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

* [Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"
  2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2023-01-06  9:17 ` cvs-commit at gcc dot gnu.org
@ 2023-01-06  9:35 ` cvs-commit at gcc dot gnu.org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-06  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:7097d2aafcae4b1cb89c28ff4fd4af18df9a2cef

commit r10-11152-g7097d2aafcae4b1cb89c28ff4fd4af18df9a2cef
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date:   Mon Dec 27 01:13:59 2021 +0100

    LTO: Prune some warnings in the testsuite

    Warnings like:

        warning: using serial compilation of 2 LTRANS jobs
        warning: visibility attribute not supported in this configuration;
ignored\[^\n\]*" $text "" text

    are pruned by lto.exp, but not for LTO testcases when run in other parts
    of the testsuite. They will be, now.

    gcc/testsuite/ChangeLog:

            PR testsuite/47334
            PR testsuite/103823
            * lib/prune.exp: Prune some warnings related to LTO and
            visibility.

    (cherry picked from commit 05edf6c470ae0ab50d42f16e78e476dbcc774842)

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

end of thread, other threads:[~2023-01-06  9:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-24 14:08 [Bug lto/103823] New: g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs" fxcoudert at gcc dot gnu.org
2021-12-24 14:15 ` [Bug lto/103823] " pinskia at gcc dot gnu.org
2021-12-24 14:17 ` [Bug testsuite/103823] " pinskia at gcc dot gnu.org
2021-12-24 14:18 ` fxcoudert at gcc dot gnu.org
2021-12-24 14:47 ` iains at gcc dot gnu.org
2021-12-26  0:11 ` pinskia at gcc dot gnu.org
2021-12-26  1:51 ` pinskia at gcc dot gnu.org
2021-12-26 20:00 ` fxcoudert at gcc dot gnu.org
2021-12-26 20:01 ` fxcoudert at gcc dot gnu.org
2021-12-26 21:04 ` pinskia at gcc dot gnu.org
2021-12-27  9:14 ` fxcoudert at gcc dot gnu.org
2021-12-29 19:27 ` fxcoudert at gcc dot gnu.org
2023-01-06  9:17 ` cvs-commit at gcc dot gnu.org
2023-01-06  9:35 ` cvs-commit at gcc dot gnu.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).