bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/17753] New: mep-elf gas SEGVs


From: yselkowitz at cygwin dot com
Subject: [Bug gas/17753] New: mep-elf gas SEGVs
Date: Wed, 24 Dec 2014 22:43:33 +0000

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

            Bug ID: 17753
           Summary: mep-elf gas SEGVs
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: yselkowitz at cygwin dot com
              Host: x86_64-cygwin
            Target: mep-elf
             Build: x86_64-cygwin

Created attachment 8023
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8023&action=edit
result of mep-elf gcc/xgcc -B gcc -S on "int main(void){return 0;}"

mep-elf gas from binutils 2.25 is failing to compile the simplest assembly;
simple test case attached.

$ gdb --args
../cross-binutils/cross-binutils-2.25-1.x86_64/build/mep-elf/gas/.libs/as-new 
mep-ret0.s
GNU gdb (GDB) 7.8
[snip]
Reading symbols from mep-elf/gas/.libs/as-new...done.
(gdb) r
Starting program: mep-elf/gas/.libs/as-new mep-ret0.s
[New Thread 15824.0x27bc]
[New Thread 15824.0x3a54]

Program received signal SIGSEGV, Segmentation fault.
cgen_bitset_copy (address@hidden)
    opcodes/cgen-bitset.c:152
152       newmask = cgen_bitset_create ((mask->length * 8) - 1);
(gdb) bt
#0  cgen_bitset_copy (address@hidden)
    at opcodes/cgen-bitset.c:152
#1  0x000000010042e862 in mep_cgen_cpu_open (arg_type=<optimized out>,
    address@hidden)
    at opcodes/mep-desc.c:6317
#2  0x0000000100424ee5 in md_begin ()
    at gas/config/tc-mep.c:489
#3  0x000000010049fa41 in perform_an_assembly_pass (argv=0x60003aa90, argc=2)
    at gas/as.c:1082
#4  main (argc=2, argv=0x60003aa90)
    at gas/as.c:1226

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