bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/21021] New: Assertion failure in ignore_rest_of_line at gas/rea


From: dhowells at redhat dot com
Subject: [Bug gas/21021] New: Assertion failure in ignore_rest_of_line at gas/read.c:3758
Date: Tue, 03 Jan 2017 16:11:07 +0000

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

            Bug ID: 21021
           Summary: Assertion failure in ignore_rest_of_line at
                    gas/read.c:3758
           Product: binutils
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: dhowells at redhat dot com
  Target Milestone: ---

Created attachment 9736
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9736&action=edit
Test code

Compiling the attached test case with:

    xtensa-linux-gnu-as /tmp/xtensa.s

results in the following:

    /tmp/xtensa.s: Assembler messages:
    /tmp/xtensa.s:39: Error: bad expression
    /tmp/xtensa.s:39: Error: found '�', expected: ')'
    /tmp/xtensa.s:39: Error: junk at end of line, first unrecognized character
valued 0xfffffff9
    /tmp/xtensa.s:39: Internal error!
    Assertion failure in ignore_rest_of_line at
../../binutils-2.27/gas/read.c:3758.
    Please report this bug.

Line 39 is:

    bbci.l a10, 0, 1f

but attempting to remove any of the other lines affects the error produced. 
The unexpected character changes, depending on the run.  Valgrind doesn't find
anything.

The binutils-2.27 package was built on x86_64 using:

LDFLAGS='-Wl,-z,relro '
./configure --disable-dependency-tracking --disable-silent-rules
--enable-checking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --target=xtensa-linux-gnu
--program-prefix=xtensa-linux-gnu- --disable-shared --disable-install_libbfd
--with-sysroot=/usr/xtensa-linux-gnu/sys-root
--enable-deterministic-archives=no --enable-compressed-debug-sections=none
--enable-lto --with-bugurl=http://bugzilla.redhat.com/bugzilla/

-- 
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]