Re: Winflex

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Winflex
Date: 2009-12-13 15:42:12
Message-ID: 4B250B54.6030803@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:
> Using
> http://www.postgresql.org/ftp/misc/winflex/
>
> on a 64-bit windows, but in 32-bit mode (this certainly used to work),
> trying to build HEAD.
>
> first of all, it returns error code 128 when running "flex -V", which
> means our script claims it doesn't work. Commenting out that check, it
> crashes along the line of:
> Running flex on src\backend\utils\misc\guc-file.l
> 14 [main] flex 2372 _cygtls::handle_exceptions: Exception:
> STATUS_ACCESS_VIOLATION
>
> Sometimes it doesn't crash, but do this instead:
> Running flex on src\backend\parser\scan.l
> c:\gnuwin32\bin\m4.exe:stdin:16769: ERROR: end of file in string
> Project : error PRJ0002 : Error result 128 returned from 'C:\WINDOWS\SysWow64\cm
> d.exe'.
>
>
> If I run it a couple of times, it eventually completes. But then bombs
> out because the generated files aren't complete.
>
> Anybody else seen this? Am I forgetting something typical?
>

Well, I have now reproduced the behaviour, so it's not just you. But I
have not been able to set up a working Cygwin build environment, so I
can't try to rebuild it right now. It sure looks like it's the exec
that's failing.

cheers

andrew

In response to

  • Winflex at 2009-12-12 16:58:47 from Magnus Hagander

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2009-12-13 17:16:47 Re: Winflex
Previous Message Robert Haas 2009-12-13 15:29:30 Re: [PATCH] ACE Framework - Database, Schema