[racket-dev] creating executables

2011-09-01 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi list,

when creating executables from racket, when I choose (the defaults)
standalone based on racket, it will say "creating executable for
distribution". I did not choose for distribution, so that is wrong.The
created executable fails to run like this:

$ ./hello
read failed to read all 885878182 bytes from file
/home/marijn/racketzooi/./hello
Aborted



My test program:



#lang racket

(print "hello")



This is on amd64 Linux with a racket from a day old.

Marijn
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5flYIACgkQp/VmCx0OL2y3fwCgnJ7uf7DQTaBHlcxXdOk/evoq
8jQAoMPuoC321g0MT+r9axDE6gMUeP5q
=j8W+
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] creating executables

2011-09-01 Thread Vincent St-Amour
I had a similar problem on Linux x86. Matthew just pushed a fix, and
now everything works for me. Haven't tried on amd64, though.

Vincent


At Thu, 01 Sep 2011 16:24:02 +0200,
Marijn wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi list,
> 
> when creating executables from racket, when I choose (the defaults)
> standalone based on racket, it will say "creating executable for
> distribution". I did not choose for distribution, so that is wrong.The
> created executable fails to run like this:
> 
> $ ./hello
> read failed to read all 885878182 bytes from file
> /home/marijn/racketzooi/./hello
> Aborted
> 
> 
> 
> My test program:
> 
> 
> 
> #lang racket
> 
> (print "hello")
> 
> 
> 
> This is on amd64 Linux with a racket from a day old.
> 
> Marijn
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.18 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk5flYIACgkQp/VmCx0OL2y3fwCgnJ7uf7DQTaBHlcxXdOk/evoq
> 8jQAoMPuoC321g0MT+r9axDE6gMUeP5q
> =j8W+
> -END PGP SIGNATURE-
> _
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/dev
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] creating executables

2011-09-02 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Vincent,

On 09/01/11 17:27, Vincent St-Amour wrote:
> I had a similar problem on Linux x86. Matthew just pushed a fix,
> and now everything works for me. Haven't tried on amd64, though.
> 
> Vincent

I just tried with latest git and nothing has changed for me. Neither
the wrong message, nor the failing executable.

Marijn

> At Thu, 01 Sep 2011 16:24:02 +0200, Marijn wrote:
>> 
> Hi list,
> 
> when creating executables from racket, when I choose (the
> defaults) standalone based on racket, it will say "creating
> executable for distribution". I did not choose for distribution, so
> that is wrong.The created executable fails to run like this:
> 
> $ ./hello read failed to read all 885878182 bytes from file 
> /home/marijn/racketzooi/./hello Aborted
> 
> 
> 
> My test program:
> 
> 
> 
> #lang racket
> 
> (print "hello")
> 
> 
> 
> This is on amd64 Linux with a racket from a day old.
> 
> Marijn
>> _ For
>> list-related administrative tasks: 
>> http://lists.racket-lang.org/listinfo/dev

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5ggogACgkQp/VmCx0OL2yBqwCfa08Brqs0eBj2CYV8GxGIgLwo
t34AniKekcSvspiJAAZL7Q8/vzgv2ivA
=qdBp
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] creating executables

2011-09-02 Thread Vincent St-Amour
At Fri, 02 Sep 2011 09:15:20 +0200,
Marijn wrote:
> I just tried with latest git and nothing has changed for me. Neither
> the wrong message, nor the failing executable.

You're building executables from DrRacket, right?

Does it work if you build them from the command-line, with `raco exe'?

Vincent
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] creating executables

2011-09-05 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Vincent,

On 09/02/11 19:33, Vincent St-Amour wrote:
> At Fri, 02 Sep 2011 09:15:20 +0200, Marijn wrote:
>> I just tried with latest git and nothing has changed for me.
>> Neither the wrong message, nor the failing executable.
> 
> You're building executables from DrRacket, right?
> 
> Does it work if you build them from the command-line, with `raco
> exe'?
> 
> Vincent

No, it doesn't work either:

$ cat hello.rkt
#lang racket

(print "hello")
$ raco exe -o hello hello.rkt
$ ./hello
read failed to read all 885871033 bytes from file
/home/marijn/racketzooi/./hello
Aborted

Marijn
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5kgkoACgkQp/VmCx0OL2xS/wCfXd6rf9hPB6LvJGsU6N2eybmL
gPoAn1kIBGOSBAILwSzxF9APL9yyAB+9
=A/l2
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] creating executables

2011-09-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/05/11 10:03, Marijn wrote:
> Hi Vincent,
> 
> On 09/02/11 19:33, Vincent St-Amour wrote:
>> At Fri, 02 Sep 2011 09:15:20 +0200, Marijn wrote:
>>> I just tried with latest git and nothing has changed for me. 
>>> Neither the wrong message, nor the failing executable.
> 
>> You're building executables from DrRacket, right?
> 
>> Does it work if you build them from the command-line, with `raco 
>> exe'?
> 
>> Vincent
> 
> No, it doesn't work either:
> 
> $ cat hello.rkt #lang racket
> 
> (print "hello") $ raco exe -o hello hello.rkt $ ./hello read failed
> to read all 885871033 bytes from file 
> /home/marijn/racketzooi/./hello Aborted

The above bug is still manifested in today's git.

Marijn
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5zD/EACgkQp/VmCx0OL2x/WQCghFgPgeOSEbk3PtVuYyHHAgJI
q4cAoIfLXgXIKanGJ3DZ9VDsQBaOO/f+
=UzdE
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] Creating executables still broken

2011-10-03 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi list,

creating executables is still broken and seems now to cause lots of
memory allocation causing my system to start thrashing...

$ cat hello.rkt
#lang racket
(print "hello")

$ raco exe -o hello hello.rkt
[.starts thrashing.]

Marijn


On 09/16/11 10:59, Marijn wrote:
> On 09/05/11 10:03, Marijn wrote:
>> Hi Vincent,
> 
>> On 09/02/11 19:33, Vincent St-Amour wrote:
>>> At Fri, 02 Sep 2011 09:15:20 +0200, Marijn wrote:
 I just tried with latest git and nothing has changed for me.
  Neither the wrong message, nor the failing executable.
> 
>>> You're building executables from DrRacket, right?
> 
>>> Does it work if you build them from the command-line, with
>>> `raco exe'?
> 
>>> Vincent
> 
>> No, it doesn't work either:
> 
>> $ cat hello.rkt #lang racket
> 
>> (print "hello") $ raco exe -o hello hello.rkt $ ./hello read
>> failed to read all 885871033 bytes from file 
>> /home/marijn/racketzooi/./hello Aborted
> 
> The above bug is still manifested in today's git.
> 
> Marijn _ For
> list-related administrative tasks: 
> http://lists.racket-lang.org/listinfo/dev

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6JwkcACgkQp/VmCx0OL2x5wgCfQLHTHRzxs00DOZjDd4R3AC+U
+UUAoMT6tkSNwrbF9S0jjktNtQkHPSeq
=zH4m
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Creating executables still broken

2011-10-03 Thread Matthew Flatt
At Mon, 03 Oct 2011 16:10:15 +0200, Marijn wrote:
> creating executables is still broken and seems now to cause lots of
> memory allocation causing my system to start thrashing...

I've fixed the problem that caused `raco exe' to not terminate.

I doubt that the older problem you've seen is fixed, since I haven't
been able to replicate it. Assuming that the old problem is still
there, can you tell me (perhaps again) the platform you're running on
and the arguments that you supplied to `configure'?

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Creating executables still broken

2011-10-04 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/03/11 17:07, Matthew Flatt wrote:
> At Mon, 03 Oct 2011 16:10:15 +0200, Marijn wrote:
>> creating executables is still broken and seems now to cause lots
>> of memory allocation causing my system to start thrashing...
> 
> I've fixed the problem that caused `raco exe' to not terminate.

Thanks, indeed the old failure mode is restored.

> I doubt that the older problem you've seen is fixed, since I
> haven't been able to replicate it. Assuming that the old problem is
> still there, can you tell me (perhaps again) the platform you're
> running on and the arguments that you supplied to `configure'?

Sure,

platform: x86_64-pc-linux-gnu

./configure --prefix=/usr --build=x86_64-pc-linux-gnu
- --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
- --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
- --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gracket
- --enable-plot --disable-docs --enable-shared --enable-jit
- --enable-foreign --disable-places --disable-futures
- --disable-backtrace --disable-pthread --disable-perl --with-x

Thanks for looking into this,

Marijn
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6KuPwACgkQp/VmCx0OL2xpXACeO3tRaKDQ4a30e/Bki38LS4JY
6XIAn1d8K8V5fgdf4uzu20vorMOieCbx
=EUU5
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Creating executables still broken

2011-10-04 Thread Matthew Flatt
I think I found the problem. Can you try the latest version?

At Tue, 04 Oct 2011 09:42:53 +0200, Marijn wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 10/03/11 17:07, Matthew Flatt wrote:
> > At Mon, 03 Oct 2011 16:10:15 +0200, Marijn wrote:
> >> creating executables is still broken and seems now to cause lots
> >> of memory allocation causing my system to start thrashing...
> > 
> > I've fixed the problem that caused `raco exe' to not terminate.
> 
> Thanks, indeed the old failure mode is restored.
> 
> > I doubt that the older problem you've seen is fixed, since I
> > haven't been able to replicate it. Assuming that the old problem is
> > still there, can you tell me (perhaps again) the platform you're
> > running on and the arguments that you supplied to `configure'?
> 
> Sure,
> 
> platform: x86_64-pc-linux-gnu
> 
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> - --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
> - --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> - --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gracket
> - --enable-plot --disable-docs --enable-shared --enable-jit
> - --enable-foreign --disable-places --disable-futures
> - --disable-backtrace --disable-pthread --disable-perl --with-x
> 
> Thanks for looking into this,
> 
> Marijn
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.18 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk6KuPwACgkQp/VmCx0OL2xpXACeO3tRaKDQ4a30e/Bki38LS4JY
> 6XIAn1d8K8V5fgdf4uzu20vorMOieCbx
> =EUU5
> -END PGP SIGNATURE-

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Creating executables still broken

2011-10-05 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/04/11 20:59, Matthew Flatt wrote:
> I think I found the problem. Can you try the latest version?

Thanks Matthew, everything seems to work now.

> At Tue, 04 Oct 2011 09:42:53 +0200, Marijn wrote: On 10/03/11
> 17:07, Matthew Flatt wrote:
 At Mon, 03 Oct 2011 16:10:15 +0200, Marijn wrote:
> creating executables is still broken and seems now to cause
> lots of memory allocation causing my system to start
> thrashing...
 
 I've fixed the problem that caused `raco exe' to not
 terminate.
> 
> Thanks, indeed the old failure mode is restored.
> 
 I doubt that the older problem you've seen is fixed, since I 
 haven't been able to replicate it. Assuming that the old
 problem is still there, can you tell me (perhaps again) the
 platform you're running on and the arguments that you
 supplied to `configure'?
> 
> Sure,
> 
> platform: x86_64-pc-linux-gnu
> 
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
> --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gracket 
> --enable-plot --disable-docs --enable-shared --enable-jit 
> --enable-foreign --disable-places --disable-futures 
> --disable-backtrace --disable-pthread --disable-perl --with-x
> 
> Thanks for looking into this,
> 
> Marijn
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6MDdoACgkQp/VmCx0OL2x97gCfcpH1103Q/JSISsOLig0oGj4Q
UEQAniRjl67hJgDKWcuiTEQ46qk6ET2A
=qr4m
-END PGP SIGNATURE-
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev