bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31283] New: windmc (s390x) fails with: parser: syntax erro


From: rjones at redhat dot com
Subject: [Bug binutils/31283] New: windmc (s390x) fails with: parser: syntax error
Date: Tue, 23 Jan 2024 21:47:33 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31283

            Bug ID: 31283
           Summary: windmc (s390x) fails with: parser: syntax error
           Product: binutils
           Version: 2.43 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: rjones at redhat dot com
  Target Milestone: ---

On s390x only (does not happen on i686, x86-64, aarch64, ppc64le).

"test.mc" is a file which contains only the character ";" which
is a comment character for this Windows language.

$ ./configure --target=x86_64-w64-mingw32
$ make
$ cat test.mc
;
$ ./binutils/windmc ./test.mc 
In test.mc at line 1: parser: syntax error.
In test.mc at line 1: fatal: syntax error.
$ git rev-parse HEAD
9c51c340028473dcfa6c72d9f58fe6dea177a535

The stack trace at the error message is:

Breakpoint 1, yyparse () at mcparse.y:80
80              | error { mc_fatal ("syntax error"); }
(gdb) bt
#0  yyparse () at mcparse.y:80
#1  0x0000000001004322 in main (argc=<optimized out>, argv=<optimized out>)
    at windmc.c:1141

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]