gnu/85824: gas crashes when assembling this file

Nate Eldredge nge at cs.hmc.edu
Wed Sep 7 02:40:18 PDT 2005


>Number:         85824
>Category:       gnu
>Synopsis:       gas crashes when assembling this file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 07 09:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nate Eldredge
>Release:        FreeBSD 5.4-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD mercury.lan 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #1: Wed Jun 29 18:04:58 PDT 2005 nate at mercury.lan:/medium/obj/medium/src/sys/MERCURY i386

GNU assembler 2.15 [FreeBSD] 2004-05-23
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-obrien-freebsd'.


	
>Description:
The as which comes with FreeBSD 5.4 crashes when attempting to assemble
the short file seen below.  This is done as one of the configure tests
when compiling the gcc40 port, which is how I noticed this.  The
message "as exited with signal 11" in my logs worried me at first.

>How-To-Repeat:
	
$ cat crash-as.s
.section .text,"axG", at progbits,.foo,comdat
$ as crash-as.s
Segmentation fault (core dumped)

>Fix:
GNU as 2.16.1 on a Debian Linux system does not crash when assembling
this file.  Perhaps a fix can be merged from that version.
	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list