bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/29309] Assembler Segmentation Fault when -g is given


From: nickc at redhat dot com
Subject: [Bug gas/29309] Assembler Segmentation Fault when -g is given
Date: Fri, 01 Jul 2022 10:18:44 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Volker,

> I'm not sure if this is a bug in GCC or in as.

It is a bug in as.  Even if gcc is passing it some kind of bogus input, it
should not be triggering a segmentation fault.  Well either that or gcc is
lying about where the segmentation fault occurs...


> $ gcc -g -c bug.S --save-temps
> bug.s: Assembler messages:
> bug.s: Internal error (Segmentation fault).

> $ as -g -c bug.S
> 

So are you saying that if you invoke as via the gcc driver program
the segmentation fault happens, but if you invoke as directly then
it does not ?


> $ gcc -v
> gcc version 12.1.0 (GCC)
> 
> $ as --version
> GNU assembler (GNU Binutils) 2.34.50.20200328

That is a slightly old version of the assembler.  Are you able to 
repeat the test using the 2.38 release ?

(I tried to reproduce the problem locally, but failed).

Cheers
  Nick

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