Bug 84223

Summary: alpha as segfault
Product: [Retired] Red Hat Raw Hide Reporter: Elliot Lee <sopwith>
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-07 13:48:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
qtmds.s none

Description Elliot Lee 2003-02-13 17:47:30 UTC
Run:

as --gdwarf2 qtmds.s

using attached file. Segfaults.

Comment 1 Elliot Lee 2003-02-13 17:48:44 UTC
Created attachment 90057 [details]
qtmds.s

Comment 2 Jakub Jelinek 2003-02-17 14:06:09 UTC
Primarily the assembly is broken. Kill .file 2 "axp.s" line (files are numbered
starting from 1, not 2).
Of course gas shouldn't segfault on it, just print error message.

Comment 3 Jakub Jelinek 2004-10-07 13:48:42 UTC
Current CVS binutils certainly don't segfault on it:
./as-new qtmds.s
qtmds.s: Assembler messages:
qtmds.s:0: Warning: end of file not at end of a line; newline inserted
qtmds.s:1: Error: junk at end of line, first unrecognized character valued 0x7
qtmds.s:1: Error: junk at end of line, first unrecognized character valued 0xf
qtmds.s:1: Error: unknown opcode `'
qtmds.s:1: Error: unknown opcode `mbin'
qtmds.s:1: Error: unknown opcode `'

Comment 4 Jakub Jelinek 2004-10-07 13:50:16 UTC
Argh, the file was some weirdo format.  When assembling just the assembler
from it, it works even without a warning.