1. Built 4.1 64 bit on Windows failed

Hallo

I have built .zip files from todays Mercury Repo

4.0 32 bit with (TDM) gcc 4.7.1 http://euphoria.indonesianet.de/4.0-32.zip bin,htmldocs no source
4.1 32 bit with (TDM) gcc 4.7.1 http://euphoria.indonesianet.de/4.1-32.zip bin,htmldocs no source

Builting the 64 bit Version failed (using the Eu 4.1 from above and the 64-bit Version of TDM gcc 4.7.1)

User supplied library does not exist: 
    c:\eu4neu\euphoria\source\build\eu.a 
 
c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() 
type_check failure, maxchk is 4.611686018e+017 

I allready built 4.1 64-bit using the same setup a few month before.

32 bit Versions seems to work
Andreas

new topic     » topic index » view message » categorize

2. Re: Buiilt 4.1 64 bit on WIndows failed

Hallo

Compiling the 64 Bit Version of OpenEuphoria 4.1, from the repo, works only using 64 Bit Euphoria binaries. Is it correct that the current 64 Bit 4.1 Version can't be built with a 32 Bit 4.1 Version? (It was possible before)?
Or is this a failure in my setup?

I'am only asking for the Windows Version.

Andreas

new topic     » goto parent     » topic index » view message » categorize

3. Re: Buiilt 4.1 64 bit on WIndows failed

andi49 said...

Hallo

Compiling the 64 Bit Version of OpenEuphoria 4.1, from the repo, works only using 64 Bit Euphoria binaries. Is it correct that the current 64 Bit 4.1 Version can't be built with a 32 Bit 4.1 Version? (It was possible before)?
Or is this a failure in my setup?

I'am only asking for the Windows Version.

You should be able to use a 32-bit 4.1 translator to build a 64-bit 4.1 binary. But a 4.0 translator can only build a 32-bit 4.1 binary. If that isn't true, then it's a regression and we need to fix it.

Matt

new topic     » goto parent     » topic index » view message » categorize

4. Re: Buiilt 4.1 64 bit on WIndows failed

mattlewis said...

You should be able to use a 32-bit 4.1 translator to build a 64-bit 4.1 binary. But a 4.0 translator can only build a 32-bit 4.1 binary. If that isn't true, then it's a regression and we need to fix it.

IIUC, that means there is a regression that needs to be fixed in 4.1 sad

new topic     » goto parent     » topic index » view message » categorize

5. Re: Buiilt 4.1 64 bit on WIndows failed

jimcbrown said...
mattlewis said...

You should be able to use a 32-bit 4.1 translator to build a 64-bit 4.1 binary. But a 4.0 translator can only build a 32-bit 4.1 binary. If that isn't true, then it's a regression and we need to fix it.

IIUC, that means there is a regression that needs to be fixed in 4.1 sad

His question was very hypothetical. In the meantime, I've used a 32-bit Linux interpreter to build a 64-bit Linux interpreter and a 32-bit Windows interpreter to build a 64-bit Windows interpreter. So it looks like we're OK on this front.

Matt

new topic     » goto parent     » topic index » view message » categorize

6. Re: Buiilt 4.1 64 bit on WIndows failed

mattlewis said...
jimcbrown said...

IIUC, that means there is a regression that needs to be fixed in 4.1 sad

His question was very hypothetical.

No, it wasn't.

andi49 said...

Builting the 64 bit Version failed (using the Eu 4.1 from above and the 64-bit Version of TDM gcc 4.7.1)

User supplied library does not exist: 
    c:\eu4neu\euphoria\source\build\eu.a 
 
c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() 
type_check failure, maxchk is 4.611686018e+017 

I allready built 4.1 64-bit using the same setup a few month before.

mattlewis said...

In the meantime, I've used a 32-bit Linux interpreter to build a 64-bit Linux interpreter and a 32-bit Windows interpreter to build a 64-bit Windows interpreter. So it looks like we're OK on this front.

That's good to hear. Hopefully it's just a config change or missing update that andi49 needs to get 64bit builds going on andi49's box again.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Buiilt 4.1 64 bit on WIndows failed

jimcbrown said...
mattlewis said...
jimcbrown said...

IIUC, that means there is a regression that needs to be fixed in 4.1 sad

His question was very hypothetical.

No, it wasn't.

andi49 said...

Builting the 64 bit Version failed (using the Eu 4.1 from above and the 64-bit Version of TDM gcc 4.7.1)

User supplied library does not exist: 
    c:\eu4neu\euphoria\source\build\eu.a 
 
c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() 
type_check failure, maxchk is 4.611686018e+017 

I allready built 4.1 64-bit using the same setup a few month before.

Oops. Thread comprehension failure on my part. I guess I missed that when it was originally posted, and replied only to the content of the message I was replying to. That looks like a configuration issue. Possibly using a 4.0 interpreter to try to build a 64-bit binary.

Matt

new topic     » goto parent     » topic index » view message » categorize

8. Re: Buiilt 4.1 64 bit on WIndows failed

Hallo

mattlewis said...

Oops. Thread comprehension failure on my part. I guess I missed that when it was originally posted, and replied only to the content of the message I was replying to. That looks like a configuration issue. Possibly using a 4.0 interpreter to try to build a 64-bit binary.

Matt

I checked again

C:\>c:\bit\built\4.1-32\bin\eui.exe 
Euphoria Interpreter v4.1.0 development 
   32-bit Windows, Using System Memory 
   Revision Date: 2014-01-11 22:35:01, Id: 6183:944d3dd7b349 
 
ERROR: Must specify the file to be interpreted on the command line 

My Batchfile

call ../../vars64.bat 
make clean 
hg pull 
hg update default 
sh configure --eubin=c:/bit/built/4.1-32/bin  --arch=x86_64   
make 
pause 

The vars64.bat (just set the Path to include the the 64-bit compiler)

set PATH=c:\mingw64\bin;c:\msys\msys\bin;%PATH% 

Result

c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() 
type_check failure, maxchk is 4.611686018e+017 
 
... called from c:\eu4neu\euphoria\source\scanner.e:1770 in function Scanner() 
 
 
... called from c:\eu4neu\euphoria\source\parser.e:720 in function next_token() 
 
 
... called from c:\eu4neu\euphoria\source\parser.e:1359 in procedure UFactor() 
 
 
... called from c:\eu4neu\euphoria\source\parser.e:1383 in function Term() 
 
... called from c:\eu4neu\euphoria\source\parser.e:1398 in function aexpr() 
 
... called from c:\eu4neu\euphoria\source\parser.e:1412 in function cexpr() 
 
... called from c:\eu4neu\euphoria\source\parser.e:1435 in function rexpr() 
 
... called from c:\eu4neu\euphoria\source\parser.e:1474 in procedure Expr() 
 
... called from c:\eu4neu\euphoria\source\parser.e:3570 in function Global_decla 
ration() 
 
... called from c:\eu4neu\euphoria\source\parser.e:4832 in procedure real_parser 
() 
 
... called from c:\eu4neu\euphoria\source\parser.e:5035 in procedure parser() 
 
... called from c:\eu4neu\euphoria\source\main.e:201 in procedure main() 
 
... called from c:\eu4neu\euphoria\source\main.e:228 
 
--> See ex.err 
make[2]: *** [c:/eu4neu/euphoria/source/build/intobj/main-.c] Error 1 
make[2]: Leaving directory `/c/eu4neu/euphoria/source' 
make[1]: *** [interpreter] Error 2 
make[1]: Leaving directory `/c/eu4neu/euphoria/source' 
make: *** [all] Error 2 
 
C:\eu4neu\euphoria\source>pause 

ex.err is here http://euphoria.indonesianet.de/ex.err
(It's about 155KB)

Same procedure with 64bit binaries is working.

Windows 8.1 64bit, TDM GCC 4.7.1

Thank you
Andreas

new topic     » goto parent     » topic index » view message » categorize

9. Re: Buiilt 4.1 64 bit on WIndows failed

andi49 said...

C:\>c:\bit\built\4.1-32\bin\eui.exe 
Euphoria Interpreter v4.1.0 development 
   32-bit Windows, Using System Memory 
   Revision Date: 2014-01-11 22:35:01, Id: 6183:944d3dd7b349 
 
ERROR: Must specify the file to be interpreted on the command line 

My Batchfile

call ../../vars64.bat 
make clean 
hg pull 
hg update default 
sh configure --eubin=c:/bit/built/4.1-32/bin  --arch=x86_64   
make 
pause 

Result
{{{ c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() type_check failure, maxchk is 4.611686018e+017

Ah. Looks like maxchk should be declared as an atom, not an integer. Could you try changing that?

Matt

new topic     » goto parent     » topic index » view message » categorize

10. Re: Buiilt 4.1 64 bit on WIndows failed

Hallo

mattlewis said...

Ah. Looks like maxchk should be declared as an atom, not an integer. Could you try changing that?

Matt

Yes, seems it works now.

But i also have to declare 'num' (also in function MakeInt()) as an atom.

Thank you

Andreas

new topic     » goto parent     » topic index » view message » categorize

11. Re: Buiilt 4.1 64 bit on WIndows failed

Hallo

I have setup some batchfiles to create new builts from the repo (Eu4.1 32 and 64 bits, maybe also from the struct branch).
If someone is interested, i'am willing to put them online as .zip files.

Again, I'am talking about builts for Windows.

Andreas

new topic     » goto parent     » topic index » view message » categorize

12. Re: Buiilt 4.1 64 bit on WIndows failed

andi49 said...

If someone is interested, i'am willing to put them online as .zip files.

I'll try running your build on a virtual machine. The 32 bit version would be best.

_tom

new topic     » goto parent     » topic index » view message » categorize

13. Re: Buiilt 4.1 64 bit on WIndows failed

_tom said...
andi49 said...

If someone is interested, i'am willing to put them online as .zip files.

I'll try running your build on a virtual machine. The 32 bit version would be best.

_tom

Hallo

http://euphoria.indonesianet.de/4.1-32.zip

Make sure to edit eu.cfg in the bin directory.
Includes a compiled ed.ex (for testing) and the htmldocs

Andreas

new topic     » goto parent     » topic index » view message » categorize

14. Re: Buiilt 4.1 64 bit on WIndows failed

"some batchfiles to create new builts from the repo"

Myconfig32.bat
Line 1: “call ../vars.bat”

Where is vars.bat or if you just post the lines in it, that would be fine?
Thanks.

new topic     » goto parent     » topic index » view message » categorize

15. Re: Buiilt 4.1 64 bit on WIndows failed

Steady said...

"some batchfiles to create new builts from the repo"

Myconfig32.bat
Line 1: “call ../vars.bat”

Where is vars.bat or if you just post the lines in it, that would be fine?
Thanks.

Hallo

Sure i can do this. It's this:

set PATH=c:\mingw32\bin;c:\msys\msys\bin;%PATH% 

But I'am also sure it wan't help you.

I use a 'strange' setup.

I use a part off tumagcc as my msys (the programs like make,sh etc.)

You can get it here:
http://sourceforge.net/projects/tumagcc/files/0.6b/Tuma_MinGW_Build_Env-0.6b.exe/download

It's a self extracting .exe, so if you copy this file to c:\msys and start it you will have this c:\msys\msys\bin part of vars.bat
You can safely delete everything in c:\msys\msys except ./bin and ./etc

As the Compiler i use http://tdm-gcc.tdragon.net/

Just Install it and add the bin directory to your path, thats the c:\mingw32\bin part of vars.bat

The pro off this setup is that all programs work on a Windows, command prompt, no need to start an emulated terminal session.

The con is, you need to use Slash / instead of \ backslash if you use the programs in msys./ (say sh) You have to type 'sh configure' instead of './configure'
It's a real 'FAT' setup! Even tumagcc is about 500Mb installed (okay, you can savely delete about 480 of them;))

If you only wan't to use the translator (euc.exe) msys does not need to be in the path.

Andreas

new topic     » goto parent     » topic index » view message » categorize

16. Re: Buiilt 4.1 64 bit on WIndows failed

Thanks for the prompt reply.
As I understand it, the call to a batch file ......vars.bat was an intention to add the path to your location for mingw32\bin and msys\bin.
I have never built from scratch, but I will have a go, or several gos and hopefully I will succeed.

new topic     » goto parent     » topic index » view message » categorize

17. Re: Buiilt 4.1 64 bit on WIndows failed

Hallo

I have created builts for 4.0.x, 4.1 32bit, 4.1 64bit, 4.1 32bit struct branch, 4.1 64 bit struct branch.
All from today, using the Mercurial repo.

You can Download them here: http://euphoria.indonesianet.de/eu4zip.html

Andreas

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu