Re: Segmentation Fault in Cross-Compilers

2009-12-11 Thread Dave Korn
Matthew Iselin wrote:

 I've been running into a persistent segmentation fault in any GCC
 cross-compiler I build. I'm building a GCC 4.4.1 compiler for my
 project, which has worked properly in the past. This week it stopped
 working, right after I updated my Cygwin installation (new
 cygwin1.dll, I believe):
 
  Compiling build/src/user/applications/apptest/main.obj
 i686-pedigree-gcc: Internal error: Segmentation fault (program cc1)
 Please submit a full bug report.
 See http://gcc.gnu.org/bugs.html for instructions.
 
 I'm not sure what's wrong here, any ideas would be much appreciated.
 I've attached the generated stackdump as well as my cygcheck output.

  I suspect you're running into the libstdc++ dll can't be rebased problem.
 Try upgrading to the new gcc4 (plus associated runtimes), with any luck that
will solve it for you.

cheers,
  DaveK


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Segmentation Fault in Cross-Compilers

2009-12-11 Thread Matthew Iselin
  I suspect you're running into the libstdc++ dll can't be rebased problem.
  Try upgrading to the new gcc4 (plus associated runtimes), with any luck that
 will solve it for you.

    cheers,
      DaveK

Hi Dave,

Thanks for the suggestion. I reinstalled the gcc4 and libstdc++
related packages (they were already installed) and everything seems to
be working now.

Cheers,
Matt

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Segmentation Fault in Cross-Compilers

2009-12-11 Thread Dave Korn
Matthew Iselin wrote:
  I suspect you're running into the libstdc++ dll can't be rebased problem.
  Try upgrading to the new gcc4 (plus associated runtimes), with any luck that
 will solve it for you.

 Thanks for the suggestion. I reinstalled the gcc4 and libstdc++
 related packages (they were already installed) and everything seems to
 be working now.

  According to your cygcheck you have version 4.3.4-1; the latest is 4.3.4-3
(it may not be on your first mirror of choice yet but it's certainly started
propagating to a fair number of them).  Reinstalling will solve the problem
temporarily for 4.3.4-1, but it will recur if you run rebaseall, and may occur
randomly at runtime anyway if an MS update changes the bases of any of those
many DLLs you listed in the cygcheck-cc1 output.  Upgrading to the new version
avoids both these potential future problems.

cheers,
  DaveK


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple