Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2005 02:31:10 -0700 (PDT)
From:      Nate Eldredge <nge@cs.hmc.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   gnu/85824: gas crashes when assembling this file
Message-ID:  <200509070931.j879VAQ9067831@mercury.lan>
Resent-Message-ID: <200509070940.j879eHA3060308@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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",@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509070931.j879VAQ9067831>