[fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.PAS cannot compile with GDB support

Lubomír Čabla kladno at gmail.com
Sat Nov 9 23:03:12 CET 2013


Oh my god, I made a big mistake.

I'm very sorry, but you know - nobody is perfect.

I forgot to change the compiler from old one to 2.6.2, so in z:\pp was the
old one :-(

Well from start:

OS = Windows Server 2003 Enterprise, 3 GB RAM, on disk z: over 1 TB free
space

FPC 2.6.2 is installed in z:\pp

1. unpack fpcbuild.zip (build from 8.11.2013) to z:\fpcbuild

2. libgdb copied to Z:\fpcbuild\fpcsrc\libgdb

3. in CMD:

Z:\fpcbuild>make go32v2zip "OPT=-gl -O- -Xs-" 1>x131109.log
v2prt0.as: Assembler messages:
v2prt0.as:330: Warning: indirect ljmp without `*'
v2prt0.as:404: Warning: indirect lcall without `*'
exceptn.as: Assembler messages:
exceptn.as:362: Warning: indirect ljmp without `*'
exceptn.as:414: Warning: indirect ljmp without `*'
make.exe[7]: *** [ppc386.exe] Error 217
make.exe[6]: *** [next] Error 2
make.exe[5]: *** [ppc1.exe] Error 2
make.exe[4]: *** [cycle] Error 2
make.exe[3]: *** [compiler_cycle] Error 2
make.exe[2]: *** [build-stamp.i386-go32v2] Error 2
make.exe[1]: *** [fpcsrc/build-stamp.i386-go32v2] Error 2
make.exe: *** [go32v2zip] Error 2

>From LOG file (see attachment):

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
An unhandled exception occurred at $0001475E :
*EOutOfMemory : Out of memory*
  $0001475E
  $00014AA5
  $00043227
  $00057EEB
  $00058141
  $0005C46B
  $0015A060
  $0015A4B4
  $0015A4B4
  $0015B13B
  $000DF46C
  $000DF46C
  $000F66D3
  *$000F6Aaasmtai.pas(396,11) Warning: Constructor should be public*
*Fatal: Compilation aborted*
4C
  $000F6E50
  $00131AB0
  $0013E7D1


On Sat, Nov 9, 2013 at 12:35 AM, Tomas Hajny <XHajT03 at hajny.biz> wrote:

> On Fri, November 8, 2013 22:07, Lubomír Čabla wrote:
>
>
> Hi Lubomir,
>
> > thank you for your help but I am totally confused and do not know how to
> > compile the compiler from snapshot.
> >
> > Could you help me, please? Thank you.
> >
> > I downloaded fpcbuild.zip, unpacked to Z:\fpcbuild and I got these
> errors:
> >
> > Z:\fpcbuild>make go32v2zip
> > z:/pp/bin/go32v2/make.exe zipinstall OS_TARGET=go32v2
> > make.exe[1]: Entering directory `z:/fpcbuild'
> > z:/pp/bin/go32v2/make.exe -C fpcsrc build
> > make.exe[2]: Entering directory `z:/fpcbuild/fpcsrc'
> > z:/pp/bin/go32v2/make.exe compiler_cycle RELEASE=1
> > make.exe[3]: Entering directory `z:/fpcbuild/fpcsrc'
> > z:/pp/bin/go32v2/make.exe -C compiler cycle
> > make.exe[4]: Entering directory `z:/fpcbuild/fpcsrc/compiler'
> > z:/pp/bin/go32v2/make.exe OS_TARGET= CROSSBINDIR= BINUTILSPREFIX=
> > CROSSCYCLEBOOT
> > STRAP=1 rtlclean rtl
> > make.exe[5]: Entering directory `z:/fpcbuild/fpcsrc/compiler'
> > z:/pp/bin/go32v2/make.exe -C  clean
>
> No idea. :-( The line should state 'z:/pp/bin/go32v2/make.exe -C
> z:/fpcbuild/fpcsrc/rtl clean'. I really don't understand why it misses the
> directory name. Does the same happen if you call 'make rtlclean' within
> directory fpcsrc\compiler? Anyway, the only way for finding out what's
> happening is calling make with additional parameters for makefile
> debugging - '--debug=all -p -w --warn-undefined-variables'. If the error
> happens also with 'make rtlclean', use those parameters for that call
> (between 'make' and 'rtlclean'), otherwise they need to be added to the
> 'make go32v2zip' call. Note that stderr should be redirected to the same
> file as stdout. Make sure to zip the output before sending it (especially
> if you intend to send it to the list - uploading it somewhere and sending
> just a URL might be a better option), otherwise your post might be held
> for approval if your attachment exceeds limit set for this list.
>
> Hope this helps
>
> Tomas
>
>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131109/e8003ea5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x131109.log
Type: application/octet-stream
Size: 19035 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131109/e8003ea5/attachment.obj>


More information about the fpc-pascal mailing list