lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mar 16, 2010, at 8:08 PM, Doug Currie wrote:

> Whereas it works with the stock Lua Makefile, I can force the problem by compiling on a 64-bit OS X platform forcing Lua into 32 bit using 

Yep, the 32-bit on 64-bit OS seems to be the issue:

% lipo -info lua 
i386

% lua -v TestRandom.lua
Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
Seed: 3063121584	1	1316	7557	4587
Seed: 2428144928	1	1316	7557	4587
Seed: 3559301251	1	1316	7557	4587
Seed: 4287790062	1	1316	7557	4587
Seed: 2737803158	1	1316	7557	4587
Seed: 2458923424	1	1316	7557	4587

[64-bit on 64-bit OS] 
% lipo -info lua
x86_64

% lua -v TestRandom.lua
Lua 5.2.0 (work2)  Copyright (C) 1994-2010 Lua.org, PUC-Rio
Seed: 3063121584	9730	4009	5992	1653
Seed: 2428144928	1202	6577	5565	3270
Seed: 3559301251	8918	5511	3265	6130
Seed: 4287790062	7778	3022	5964	9351
Seed: 2737803158	7747	3072	5972	660
Seed: 2458923424	4064	445	8073	6126