gdc 0.20 svn branch on mingw/gcc4.0.3 (win32) segfaults

David Friedman dvdfrdmn at users.ess-eff.net
Mon Dec 4 20:02:38 PST 2006


Downs wrote:
> Carlos Santander wrote:
> 
>> Downs escribió:
>>
>>> Attempting to build the current rev48 gdc 0.20 branch on 
>>> mingw/gcc4.0.3; the resulting gdc.exe is incapable of compiling even 
>>> the most basic test files; it crashes on configure with a sigsegv in 
>>> actest.d:0.
>>> Somewhat related question; is it possible to compile gcc so that it 
>>> does not catch segment violations internally? This "feature" makes it 
>>> impossible for me to get stack traces of the crash in gdb (no 
>>> stackdumps are produced either).
>>> Alternatively, any idea what I could do to narrow the problem area down?
>>> Thanks for ideas; greetings.
>>
>>
>> The ChangeLog right now says "More 0.176 merges", so I would consider 
>> the compiler unstable.
>>
> 
> I was under the assumption code had to be somewhat stable-y to be 
> checked into svn. Good point though; I hadn't considered that.
>  Still, the current version of the compiler fails on a _trivial_ 
> example; so I still think I was justified in pointing it out (especially 
> considering the problem seems to be exclusive to win32 (somebody is 
> using rev48 under macos without problems (I think)) and, there not being 
> that many gdcwin users, it could well have gone unnoticed (on that note, 
> does anybody know if the gdc maintainer does test builds on win32?))
> Greetings

The trunk will be stable, but don't expect the same of a "-dev" branch. 
  One thing I'm trying to do is put the raw merge of new DMD version in 
a separate commit from any further modifications to the DMD code that 
are needed to get it working with GDC.  The code is no even going to 
compile after some of those merges.  That said, I want to keep the dev 
code fairly stable.

I usually only build for my current development platofrm (currently GCC 
4.0.3 on MacOS Intel) unless there have been changes that I think might 
cause problems.  When I start to put a release together, I will run 
regression tests on all of the other targets.

So... I was not aware of this problem.  Thanks for pointing it out.  I 
realize people are building out of the dev branch because there has not 
been a release for so long... I will try to get this fixed soon.

David



More information about the D.gnu mailing list