gas --statistics segfault
Nick Clifton
nickc@redhat.com
Mon Feb 6 17:43:00 GMT 2006
Hi Dasn,
> In my box, 'as --statistics' sometimes segfault.
Which version of as is this ? For which target(s) has it been compiled ?
> The following patch simply comments out 'output_file_close' function may
> solve this problem.
> #ifndef OBJ_VMS /* Does its own file handling. */
> - output_file_close (out_file_name);
> + /* output_file_close (out_file_name); */
> #endif
I do not like the idea of doing this without knowing the reason for the
segfault nor having a way to reproduce the problem. I tried your test
case on my machine and never received a single segfault.
Cheers
Nick
More information about the Binutils
mailing list