2013/1/1 Drek Nukem <[email protected]>
> A short back story.
>
> I am trying to build Eduke32.exe a 3D game engine based on Duke Nukems
> Build Engine circa 1996.
>
> The source is available at sourceforge.
>
> I just installed Mingw and stuff today and built my own 32 bit exe quite
> easily and simply thanks to the Eduke wiki's great instructions. I then
> followed the steps to get and install *rubenvb<https://github.com/rubenvb>
> '*s personal builds:
>
> Here is my results.
>
>
> -----------------------------------------------------------------------------------------------------------
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation. All rights reserved.
>
> C:\MinGW64\mingw64>mingw64env.cmd
> Setting up environment for MinGW-w64 GCC 64-bit...
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation. All rights reserved.
>
> C:\MinGW64\mingw64>cd d:
> D:\
>
> C:\MinGW64\mingw64>d:
>
> D:\>cd eduke32_svn
>
> D:\Eduke32_svn>cd eduke32
>
> D:\Eduke32_svn\eduke32>make eduke32.exe
> Changing dir to /d/Eduke32_svn/eduke32/build
> Built object ../eobj_win/a-c.o
> Ended compilation in this directory using:
> compiler: "gcc -Wimplicit -Wdeclaration-after-statement -O2
> -funswitch-loops -fo
> mit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -W
> -Wall -Wer
> ror-implicit-function-declaration -Wpointer-arith -Wextra -funsigned-char
> -fno-
> strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables
> -Wno-unused-
> result -I/d/Eduke32_svn/eduke32/Windows/include -DUSE_LIBPNG -DUSE_LIBVPX
> -Wno-
> char-subscripts -Iinclude -DUNDERSCORES -I/d/Eduke32_svn/sdk/dx
> -I/d/Eduke32_sv
> n/sdk/dx/include -DHAVE_INTTYPES -DRENDERTYPEWIN=1 -Wstrict-overflow=1
> -DUSE_OP
> ENGL -DNOASM -DPOLYMER -Wno-attributes"
> Created library archive ../eobj_win/libengine.a
> Changing dir to /d/Eduke32_svn/eduke32
> Changing dir to /d/Eduke32_svn/eduke32/source/jaudiolib
> Changing dir to /d/Eduke32_svn/eduke32
> Changing dir to /d/Eduke32_svn/eduke32/source/enet
> Changing dir to /d/Eduke32_svn/eduke32
> lto1.exe: internal compiler error: compressed stream: data error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <[email protected]> for instructions.
> lto-wrapper: c:\MinGW64\mingw64\bin\gcc.exe returned 1 exit status
>
> c:/mingw64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w6
> 4-mingw32/bin/ld.exe: lto-wrapper failed
> collect2: ld returned 1 exit status
> Failed linking executable eduke32.exe!
> make: *** [eduke32.exe] Error 1
>
> D:\Eduke32_svn\eduke32>make
> Build started using:
> compiler: "gcc -Wimplicit -Wdeclaration-after-statement -O2
> -funswitch-loops -fo
> mit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -W
> -Wall -Wer
> ror-implicit-function-declaration -Wpointer-arith -Wextra -funsigned-char
> -fno-
> strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables
> -Wno-unused-
> result -I/d/Eduke32_svn/eduke32/Windows/include -DUSE_LIBPNG -DUSE_LIBVPX
> -Isou
> rce -Ibuild/include -Isource/jmact -Isource/jaudiolib/include
> -Isource/enet/incl
> ude -fno-pic -DUNDERSCORES -I/d/Eduke32_svn/sdk/dx
> -I/d/Eduke32_svn/sdk/dx/incl
> ude -DHAVE_INTTYPES -DRENDERTYPEWIN=1 -Wstrict-overflow=1 -DUSE_OPENGL
> -DNOASM
> -DPOLYMER -Wno-attributes"
> linker: " -flto -Wl,-Map=start.memmap
> -L/d/Eduke32_svn/eduke32/source/jaudioli
> b/third-party/Windows/lib/64 -L/d/Eduke32_svn/eduke32/Windows/lib/64
> -lFLAC -
> lvorbisfile -lvorbis -logg -ldsound -lm -lvpx -Wl,--enable-auto-import
> -mwindow
> s -lmingwex -lcomctl32 -lwinmm -lssp -lwsock32 -lws2_32 -ldxguid
> -lpng_mini -lz_
> mini -lsupc++"
> Changing dir to /d/Eduke32_svn/eduke32/build
> Changing dir to /d/Eduke32_svn/eduke32
> Changing dir to /d/Eduke32_svn/eduke32/source/jaudiolib
> Changing dir to /d/Eduke32_svn/eduke32
> Changing dir to /d/Eduke32_svn/eduke32/source/enet
> Changing dir to /d/Eduke32_svn/eduke32
> lto1.exe: internal compiler error: compressed stream: data error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <[email protected]> for instructions.
> lto-wrapper: c:\MinGW64\mingw64\bin\gcc.exe returned 1 exit status
>
> c:/mingw64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w6
> 4-mingw32/bin/ld.exe: lto-wrapper failed
> collect2: ld returned 1 exit status
> Failed linking executable eduke32.exe!
> make: *** [eduke32.exe] Error 1
>
Hi,
Which build did you use? I was able to build eduke32 (the latest source
snapshot from http://dukeworld.duke4.net/eduke32/synthesis/) with my 4.8pre
x64 toolchain and my 4.6.3-2-dw2-release x86 toolchain (with nasm). I did
run the make command under MSYS, as the Makefile is not compatible with
mingw32-make. Perhaps you are running into a mingw32-make vs (MSYS) make
issue?
Ruben
>
> D:\Eduke32_svn\eduke32>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122912
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public