This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gas --statistics segfault


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]