bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25917] New: segmentation fault with -gdwarf-5


From: ndesaulniers at google dot com
Subject: [Bug gas/25917] New: segmentation fault with -gdwarf-5
Date: Mon, 04 May 2020 02:52:51 +0000

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

            Bug ID: 25917
           Summary: segmentation fault with -gdwarf-5
           Product: binutils
           Version: 2.35 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: ndesaulniers at google dot com
                CC: nickc at redhat dot com
  Target Milestone: ---

With the fix from https://sourceware.org/bugzilla/show_bug.cgi?id=25612, I can
now compile a Linux kernel with Clang and assemble with GNU as with DWARF5.

Testing the same patch set with GCC 7.5+ GNU as (ToT) produces a crash in GNU
as.  I reran the kernel build with `make V=1` to get the compiler invocation,
then reran that with `-v` to get the assembler invocation.  From there, I've
trimmed it down to the following invocation and input.

$ PATH=~/binutils-gdb/binutils:$PATH as -gdwarf-5 -o scripts/mod/empty.o
/tmp/ccDA463U.s
/tmp/ccDA463U.s: Assembler messages:
/tmp/ccDA463U.s: Internal error (Segmentation fault).
Please report this bug.

$ cat /tmp/ccDA463U.s 
        .section        .debug_info,"",@progbits
.Ldebug_info0:
        .long   0x30
        .value  0x5

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