public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as
@ 2022-03-01 12:23 ro at gcc dot gnu.org
  2022-03-01 12:24 ` [Bug d/104739] " ro at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104739
           Summary: gdc.test/runnable/mangle.d etc. FAIL with Solaris as
           Product: gcc
           Version: 12.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

Since 20211130, several tests FAIL on Solaris when /bin/as is used instead of
gas:

+UNRESOLVED: gdc.test/runnable/mangle.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable/mangle.d -shared-libphobos   compilation failed
to produce executable

Assembler: mangle.d
        "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
        Near line: "    movzbl  test_эльфийские_письмена_9, %eax"
        "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
        Near line: "    movzbl  test_эльфийские_письмена_9, %eax"
        "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
        Near line: "    movzbl  test_эльфийские_письмена_9, %eax"
        "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
        Near line: "    movzbl  test_эльфийские_письмена_9, %eax"
        "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
[...]

+UNRESOLVED: gdc.test/runnable/testmodule.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable/testmodule.d -shared-libphobos   compilation
failed to produce executable

Assembler: testmodule.d
        "/var/tmp//ccBtixAd.s", line 3 : Syntax error
        Near line: "    .globl  _D3run17unicode_06_哪里6哪里FiZi"
        "/var/tmp//ccBtixAd.s", line 3 : Syntax error
        Near line: "    .globl  _D3run17unicode_06_哪里6哪里FiZi"
        "/var/tmp//ccBtixAd.s", line 3 : Syntax error
        Near line: "    .globl  _D3run17unicode_06_哪里6哪里FiZi"
        "/var/tmp//ccBtixAd.s", line 3 : Syntax error
        Near line: "    .globl  _D3run17unicode_06_哪里6哪里FiZi"
        "/var/tmp//ccBtixAd.s", line 3 : Syntax error
[...]

+UNRESOLVED: gdc.test/runnable/ufcs.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable/ufcs.d -shared-libphobos   compilation failed to
produce executable

Assembler: ufcs.d
        "/var/tmp//ccodJ7Ib.s", line 6662 : Syntax error
        Near line: "    .globl  _D4ufcs6α8503FiZv"
        "/var/tmp//ccodJ7Ib.s", line 6662 : Syntax error
        Near line: "    .globl  _D4ufcs6α8503FiZv"
        "/var/tmp//ccodJ7Ib.s", line 6662 : Syntax error
        Near line: "    .globl  _D4ufcs6α8503FiZv"

All of these happen because /bin/as lacks support for UTF-8 identifiers.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
@ 2022-03-01 12:24 ` ro at gcc dot gnu.org
  2022-05-06  8:32 ` jakub at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
  2022-03-01 12:24 ` [Bug d/104739] " ro at gcc dot gnu.org
@ 2022-05-06  8:32 ` jakub at gcc dot gnu.org
  2023-05-08 12:24 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:32 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |12.2

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
  2022-03-01 12:24 ` [Bug d/104739] " ro at gcc dot gnu.org
  2022-05-06  8:32 ` jakub at gcc dot gnu.org
@ 2023-05-08 12:24 ` rguenth at gcc dot gnu.org
  2024-02-02 13:35 ` ro at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-05-08 12:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.3                        |12.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-05-08 12:24 ` rguenth at gcc dot gnu.org
@ 2024-02-02 13:35 ` ro at gcc dot gnu.org
  2024-02-02 15:48 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-02 13:35 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-02-02

--- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> ---
I wonder how to handle this: while DejaGnu has an ucn effective-target keyword,
the gdc.test testsuite doesn't use those at all.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-02-02 13:35 ` ro at gcc dot gnu.org
@ 2024-02-02 15:48 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2024-02-02 21:23 ` ibuclaw at gdcproject dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2024-02-02 15:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> ---
> I wonder how to handle this: while DejaGnu has an ucn effective-target keyword,
> the gdc.test testsuite doesn't use those at all.

What I think could be done is

* Add "//UTF-8 chars" comments to testmodule.d and ufcs.d; mangle.d
  already has one.

* Make gdc-utils.exp (gdc-convert-test) check for those annotations,
  adding

  // { dg-require-effective-target ucn}

  if found.

The new annotations would have to go upstream, I believe.  WDYT?

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-02-02 15:48 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2024-02-02 21:23 ` ibuclaw at gdcproject dot org
  2024-02-05 12:52 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ibuclaw at gdcproject dot org @ 2024-02-02 21:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #5)
> > --- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> ---
> > I wonder how to handle this: while DejaGnu has an ucn effective-target keyword,
> > the gdc.test testsuite doesn't use those at all.
> 
> What I think could be done is
> 
> * Add "//UTF-8 chars" comments to testmodule.d and ufcs.d; mangle.d
>   already has one.
> 
> * Make gdc-utils.exp (gdc-convert-test) check for those annotations,
>   adding
> 
>   // { dg-require-effective-target ucn}
> 
>   if found.
> 
> The new annotations would have to go upstream, I believe.  WDYT?

Can give it a go.

https://github.com/dlang/dmd/pull/16136

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-02-02 21:23 ` ibuclaw at gdcproject dot org
@ 2024-02-05 12:52 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2024-02-05 12:54 ` ro at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2024-02-05 12:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
> (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #5)
> Can give it a go.
>
> https://github.com/dlang/dmd/pull/16136

Great, thanks for doing this.  With this patch applied locally, adding
DejaGnu support for the new annotation proved to be as easy as I'd
suspected.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-02-05 12:52 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2024-02-05 12:54 ` ro at gcc dot gnu.org
  2024-02-14 10:52 ` ro at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-05 12:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 57324
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57324&action=edit
Proposed patch

Tested on i386-pc-solaris2.11 (as and gas) and i686-pc-linux-gnu.  The affected
tests come up as UNSUPPORTED with as, but PASS with gas.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2024-02-05 12:54 ` ro at gcc dot gnu.org
@ 2024-02-14 10:52 ` ro at gcc dot gnu.org
  2024-02-14 13:53 ` cvs-commit at gcc dot gnu.org
  2024-02-14 13:55 ` ro at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-14 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2024-Februar
                   |                            |y/645547.html

--- Comment #9 from Rainer Orth <ro at gcc dot gnu.org> ---
Patch now posted for real.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2024-02-14 10:52 ` ro at gcc dot gnu.org
@ 2024-02-14 13:53 ` cvs-commit at gcc dot gnu.org
  2024-02-14 13:55 ` ro at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-14 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:

https://gcc.gnu.org/g:a032c319cb9cf5348d71f008f311bcf95f3dac40

commit r14-8979-ga032c319cb9cf5348d71f008f311bcf95f3dac40
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Wed Feb 14 14:52:54 2024 +0100

    testsuite: gdc: Require ucn in gdc.test/runnable/mangle.d etc. [PR104739]

    gdc.test/runnable/mangle.d and two other tests come out UNRESOLVED on
    Solaris with the native assembler:

    UNRESOLVED: gdc.test/runnable/mangle.d   compilation failed to produce
executable
    UNRESOLVED: gdc.test/runnable/mangle.d -shared-libphobos compilation failed
    to produce executable
    UNRESOLVED: gdc.test/runnable/testmodule.d compilation failed to produce
    executable
    UNRESOLVED: gdc.test/runnable/testmodule.d -shared-libphobos compilation
    failed to produce executable
    UNRESOLVED: gdc.test/runnable/ufcs.d   compilation failed to produce
executable
    UNRESOLVED: gdc.test/runnable/ufcs.d -shared-libphobos compilation failed
    to produce executable

    Assembler: mangle.d
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
            Near line: "    movzbl 
test_ÑлÑÑийÑкие_пиÑÑмена_9, %eax"
            "/var/tmp//cci9q2Sc.s", line 115 : Syntax error
    [...]

    since /bin/as lacks UCN support.

    Iain recently added UNICODE_NAMES: annotations to the affected tests and
    those recently were imported into trunk.

    This patch handles the DejaGnu side of things, adding

            { dg-require-effective-target ucn }

    to those tests on the fly.

    Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11 (as and gas each),
    and x86_64-pc-linux-gnu.

    2024-02-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

            gcc/testsuite:
            PR d/104739
            * lib/gdc-utils.exp (gdc-convert-test) <UNICODE_NAMES>: Require
            ucn support.

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

* [Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as
  2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2024-02-14 13:53 ` cvs-commit at gcc dot gnu.org
@ 2024-02-14 13:55 ` ro at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-14 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ibuclaw at gdcproject dot org      |ro at gcc dot gnu.org
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #11 from Rainer Orth <ro at gcc dot gnu.org> ---
Mine.  Fixed for GCC 14.0.1.

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

end of thread, other threads:[~2024-02-14 13:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 12:23 [Bug d/104739] New: gdc.test/runnable/mangle.d etc. FAIL with Solaris as ro at gcc dot gnu.org
2022-03-01 12:24 ` [Bug d/104739] " ro at gcc dot gnu.org
2022-05-06  8:32 ` jakub at gcc dot gnu.org
2023-05-08 12:24 ` rguenth at gcc dot gnu.org
2024-02-02 13:35 ` ro at gcc dot gnu.org
2024-02-02 15:48 ` ro at CeBiTec dot Uni-Bielefeld.DE
2024-02-02 21:23 ` ibuclaw at gdcproject dot org
2024-02-05 12:52 ` ro at CeBiTec dot Uni-Bielefeld.DE
2024-02-05 12:54 ` ro at gcc dot gnu.org
2024-02-14 10:52 ` ro at gcc dot gnu.org
2024-02-14 13:53 ` cvs-commit at gcc dot gnu.org
2024-02-14 13:55 ` ro 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).