This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: segfault in __libc_start_main when compiling f77 and c code together?


Britton wrote:

> I have asked around to try to determine the cause of this problem and been
> told that it often comes up when gcc is used to compile c++ code, so mayby
> something like that is going on here?

Perhaps you could answer some questions related to this problem:

1. Which language is providing the main program - i.e. is it a Fortran
   program calling C routines or vice versa.

2. When the calling program is Fortran, are you sure the arrays in the
   main program are not larger than your virtual memory (i.e. RAM+SWAP)

?

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

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