<div dir="ltr"><div>It seems that compilation doesn't work under Windows Server 2003 Enterprise.</div><div><br></div><div>I did the same under Windows XP SP3 using</div><div><br></div><div>make go32v2zip "OPT=-gl -O- -Xs-"</div>
<div><br></div><div>and it works up to compilation of IDE fp.pas - see attached listing fpc263.rar.</div><div><br></div><div>I got the same error for crt1.c even I think the compiler is compiled</div><div>and used (at least as I see in LOG file):</div>
<div><br></div><div>Z:\fpcbuild>Z:\fpcbuild\fpcsrc\compiler\ppc386.exe -?</div><div>Free Pascal Compiler version 2.6.3 [2013/11/11] for i386</div><div>...</div><div><br></div><div><b>Could you help me how to compile now IDE fp.pas with GDB using new ppc386.exe?</b></div>
<div><br></div><div>From LOG file:</div><div><br></div><div>...</div><div>z:/pp/bin/go32v2/make.exe testgdb</div><div>make.exe[6]: Entering directory `z:/fpcbuild/fpcsrc/ide'</div><div>LibGDB found in z:/fpcbuild/fpcsrc/libgdb/go32v2/libgdb.a</div>
<div>make.exe[6]: Leaving directory `z:/fpcbuild/fpcsrc/ide'</div><div>z:/pp/bin/go32v2/make.exe fpc_all</div><div>make.exe[6]: Entering directory `z:/fpcbuild/fpcsrc/ide'</div><div><b>z:/fpcbuild/fpcsrc/compiler/ppc386.exe</b> -di386 -Flz:/fpcbuild/fpcsrc/libgdb/go32v2 -Ur -Xs -O2 -n -Sg -Fuz:/fpcbuild/fpcsrc/rtl/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/fv/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/gdbint/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/regexpr/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/fcl-base/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/fcl-xml/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/chm/units/go32v2 -Fuz:/fpcbuild/fpcsrc/packages/graph/units/go32v2 -FE. -FUunits/go32v2 -gl -O- -Xs- -dRELEASE fp.pas</div>
<div>fp.pas(553,1) Error: Error while linking</div><div>fp.pas(553,1) Fatal: There were 1 errors compiling module, stopping</div><div>Fatal: Compilation aborted</div><div>make.exe[6]: Leaving directory `z:/fpcbuild/fpcsrc/ide'</div>
<div>make.exe[5]: Leaving directory `z:/fpcbuild/fpcsrc/ide'</div><div>make.exe[4]: Leaving directory `z:/fpcbuild/fpcsrc/ide'</div><div>make.exe[3]: Leaving directory `z:/fpcbuild/fpcsrc'</div><div>make.exe[2]: Leaving directory `z:/fpcbuild/fpcsrc'</div>
<div>make.exe[1]: Leaving directory `z:/fpcbuild'</div><div><br></div><div>Output to CMD:</div><div><br></div><div>Z:\fpcbuild>make go32v2zip "OPT=-gl -O- -Xs-">x131111.log</div><div><a href="http://exceptn.as">exceptn.as</a>: Assembler messages:</div>
<div><a href="http://exceptn.as:362">exceptn.as:362</a>: Warning: indirect ljmp without `*'</div><div><a href="http://exceptn.as:414">exceptn.as:414</a>: Warning: indirect ljmp without `*'</div><div>z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0x0): multiple definition of `__bss_count'</div>
<div>z:\fpcbuild\fpcsrc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0x94): first defined here</div><div>z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0x4): multiple definition of `__PROXY'</div><div>z:\fpcbuild\fpcsrc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0xba): first defined here</div>
<div>z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0xc): multiple definition of `__PROXY_LEN'</div><div>z:\fpcbuild\fpcsrc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0xc2): first defined here</div><div>
z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.text+0x45c): undefined reference to `_crt0_init_mcount'</div><div>make.exe[6]: *** [fp.exe] Error 1</div><div>make.exe[5]: *** [buildfp] Error 2</div><div>make.exe[4]: *** [gdb] Error 2</div>
<div>make.exe[3]: *** [ide_all] Error 2</div><div>make.exe[2]: *** [build-stamp.i386-go32v2] Error 2</div><div>make.exe[1]: *** [fpcsrc/build-stamp.i386-go32v2] Error 2</div><div>make.exe: *** [go32v2zip] Error 2</div><div>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 9, 2013 at 11:03 PM, Lubomír Čabla <span dir="ltr"><<a href="mailto:kladno@gmail.com" target="_blank">kladno@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Oh my god, I made a big mistake.<div><br></div>
<div>I'm very sorry, but you know - nobody is perfect.</div><div><br></div><div>I forgot to change the compiler from old one to 2.6.2, so in z:\pp was the old one :-(</div>
<div><br></div><div>Well from start:</div><div><br></div><div>OS = Windows Server 2003 Enterprise, 3 GB RAM, on disk z: over 1 TB free space</div><div><br></div><div>FPC 2.6.2 is installed in z:\pp</div><div><br></div><div>
1. unpack fpcbuild.zip (build from 8.11.2013) to z:\fpcbuild</div><div><br></div><div>2. libgdb copied to Z:\fpcbuild\fpcsrc\libgdb</div><div><br></div><div>3. in CMD:</div><div><br></div><div><div class="gmail_extra"><div>
Z:\fpcbuild>make go32v2zip "OPT=-gl -O- -Xs-" 1>x131109.log</div><div class="im"><div><a href="http://v2prt0.as" target="_blank">v2prt0.as</a>: Assembler messages:</div><div><a href="http://v2prt0.as:330" target="_blank">v2prt0.as:330</a>: Warning: indirect ljmp without `*'</div>
<div><a href="http://v2prt0.as:404" target="_blank">v2prt0.as:404</a>: Warning: indirect lcall without `*'</div><div><a href="http://exceptn.as" target="_blank">exceptn.as</a>: Assembler messages:</div><div><a href="http://exceptn.as:362" target="_blank">exceptn.as:362</a>: Warning: indirect ljmp without `*'</div>
<div><a href="http://exceptn.as:414" target="_blank">exceptn.as:414</a>: Warning: indirect ljmp without `*'</div></div><div>make.exe[7]: *** [ppc386.exe] Error 217</div><div>make.exe[6]: *** [next] Error 2</div><div>
make.exe[5]: *** [ppc1.exe] Error 2</div><div class="im">
<div>make.exe[4]: *** [cycle] Error 2</div></div><div class="im"><div>make.exe[3]: *** [compiler_cycle] Error 2</div></div><div>make.exe[2]: *** [build-stamp.i386-go32v2] Error 2</div><div>make.exe[1]: *** [fpcsrc/build-stamp.i386-go32v2] Error 2</div>
<div class="im">
<div>make.exe: *** [go32v2zip] Error 2</div><div><br></div></div><div>From LOG file (see attachment):</div><div><br></div><div><div>Z:/pp/bin/go32v2/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -Fuz:/fpcbuild/fpcsrc/rtl/units/go32v2 -Fii386 -FE. -FUi386/units/i386-go32v2 -dRELEASE -gl -O- -Xs- -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas</div>
<div>An unhandled exception occurred at $0001475E :</div><div><b>EOutOfMemory : Out of memory</b></div><div> $0001475E</div><div> $00014AA5</div><div> $00043227</div><div> $00057EEB</div><div> $00058141</div><div> $0005C46B</div>
<div> $0015A060</div><div> $0015A4B4</div><div> $0015A4B4</div><div> $0015B13B</div><div> $000DF46C</div><div> $000DF46C</div><div> $000F66D3</div><div> <b>$000F6Aaasmtai.pas(396,11) Warning: Constructor should be public</b></div>
<div><b>Fatal: Compilation aborted</b></div><div>4C</div><div> $000F6E50</div><div> $00131AB0</div><div> $0013E7D1</div></div><div><div class="h5"><div><br></div><br><div class="gmail_quote">On Sat, Nov 9, 2013 at 12:35 AM, Tomas Hajny <span dir="ltr"><<a href="mailto:XHajT03@hajny.biz" target="_blank">XHajT03@hajny.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Fri, November 8, 2013 22:07, Lubomír Čabla wrote:<br>
<br>
<br>
Hi Lubomir,<br>
<div><br>
> thank you for your help but I am totally confused and do not know how to<br>
> compile the compiler from snapshot.<br>
><br>
> Could you help me, please? Thank you.<br>
><br>
> I downloaded fpcbuild.zip, unpacked to Z:\fpcbuild and I got these errors:<br>
><br>
> Z:\fpcbuild>make go32v2zip<br>
> z:/pp/bin/go32v2/make.exe zipinstall OS_TARGET=go32v2<br>
> make.exe[1]: Entering directory `z:/fpcbuild'<br>
> z:/pp/bin/go32v2/make.exe -C fpcsrc build<br>
> make.exe[2]: Entering directory `z:/fpcbuild/fpcsrc'<br>
> z:/pp/bin/go32v2/make.exe compiler_cycle RELEASE=1<br>
> make.exe[3]: Entering directory `z:/fpcbuild/fpcsrc'<br>
> z:/pp/bin/go32v2/make.exe -C compiler cycle<br>
> make.exe[4]: Entering directory `z:/fpcbuild/fpcsrc/compiler'<br>
> z:/pp/bin/go32v2/make.exe OS_TARGET= CROSSBINDIR= BINUTILSPREFIX=<br>
> CROSSCYCLEBOOT<br>
> STRAP=1 rtlclean rtl<br>
> make.exe[5]: Entering directory `z:/fpcbuild/fpcsrc/compiler'<br>
> z:/pp/bin/go32v2/make.exe -C clean<br>
<br>
</div>No idea. :-( The line should state 'z:/pp/bin/go32v2/make.exe -C<br>
z:/fpcbuild/fpcsrc/rtl clean'. I really don't understand why it misses the<br>
directory name. Does the same happen if you call 'make rtlclean' within<br>
directory fpcsrc\compiler? Anyway, the only way for finding out what's<br>
happening is calling make with additional parameters for makefile<br>
debugging - '--debug=all -p -w --warn-undefined-variables'. If the error<br>
happens also with 'make rtlclean', use those parameters for that call<br>
(between 'make' and 'rtlclean'), otherwise they need to be added to the<br>
'make go32v2zip' call. Note that stderr should be redirected to the same<br>
file as stdout. Make sure to zip the output before sending it (especially<br>
if you intend to send it to the list - uploading it somewhere and sending<br>
just a URL might be a better option), otherwise your post might be held<br>
for approval if your attachment exceeds limit set for this list.<br>
<br>
Hope this helps<br>
<div><div><br>
Tomas<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div></div>