Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-11

FPC 2.6.2 for DOS/Go32V2 FP.PAS cannot compile with GDB support

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lubomír Čabla

Attempt to compile IDE from snapshot with GDB:

FPC GO32V2 2.6.2 is installed in z:\pp
PATH contains Z:\pp\bin\go32v2

Instruction from Tomas Hajny does not work:

*creating directory "libgdb" next to "rtl", "ide" and "packages", unpacking* *content of the downloaded file there and then compiling again using:*

*make clean rtl_all packages_all ide_all "OPT=-gl -O-"*

Ii fails with error message

on screen:

z:/pp/bin/go32v2/ld.exe: cannot find -lgdb
make.exe[3]: *** [fp.exe] Error 1
make.exe[2]: *** [buildfp] Error 2
make.exe[1]: *** [gdb] Error 2
make.exe: *** [ide_all] Error 2

in LOG file:

make.exe[3]: Entering directory `z:/fpc/ide'
LibGDB not found
LIBGDBFILE=

make.exe[3]: Leaving directory `z:/fpc/ide'
z:/pp/bin/go32v2/make.exe fpc_all
make.exe[3]: Entering directory `z:/fpc/ide'
Z:/pp/bin/go32v2/ppc386.exe -di386 -Ur -Xs -O2 -n -Sg -Fuz:/fpc/rtl/units/go32v2 -Fuz:/fpc/packages/fv/units/go32v2 -Fuz:/fpc/packages/gdbint/units/go32v2
-Fuz:/fpc/packages/regexpr/units/go32v2
-Fuz:/fpc/packages/fcl-base/units/go32v2
-Fuz:/fpc/packages/fcl-xml/units/go32v2 -Fuz:/fpc/packages/chm/units/go32v2 -Fuz:/fpc/packages/graph/units/go32v2 -FE. -FUunits/go32v2 -gl -O- -dRELEASE -dNODEBUG fp.pas
fp.pas(553,1) Error: Error while linking
fp.pas(553,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make.exe[3]: Leaving directory `z:/fpc/ide'
make.exe[2]: Leaving directory `z:/fpc/ide'
make.exe[1]: Leaving directory `z:/fpc/ide'

So, I made this:

1. download source package 21.10.2013
ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpc.zip Revision: 25838
Last Changed Rev: 25765

2. unpacked to z:\fpc

3. download
ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/v6.1.1/go32v2-v601.zip

*unpacked files in directory libgdb copied to Z:\fpc\libgdb\go32v2*

3. command for compilation:

Z:\fpc>make rtl_all packages_all ide_all>x131107.log

on screen I got these mesaages:

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 `*' *z:\fpc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0x0): multiple definition of `__bss_count'*
*z:\fpc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0x94): first defined here* *z:\fpc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0x4): multiple definition of `__PROXY'*
*z:\fpc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0xba): first defined here* *z:\fpc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0xc): multiple definition of `__PROXY_LEN'*
*z:\fpc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0xc2): first defined here* *z:\fpc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.text+0x45c): undefined reference to `_crt0_init_mcount'*
make.exe[3]: *** [fp.exe] Error 1
make.exe[2]: *** [buildfp] Error 2
make.exe[1]: *** [gdb] Error 2
make.exe: *** [ide_all] Error 2

Error in LOG file is:

make.exe[3]: Entering directory `z:/fpc/ide'
Z:/pp/bin/go32v2/ppc386.exe -di386 -Flz:/fpc/libgdb/go32v2 -Ur -Xs -O2 -n -Sg -Fuz:/fpc/rtl/units/go32v2 -Fuz:/fpc/packages/fv/units/go32v2 -Fuz:/fpc/packages/gdbint/units/go32v2
-Fuz:/fpc/packages/regexpr/units/go32v2
-Fuz:/fpc/packages/fcl-base/units/go32v2
-Fuz:/fpc/packages/fcl-xml/units/go32v2 -Fuz:/fpc/packages/chm/units/go32v2 -Fuz:/fpc/packages/graph/units/go32v2 -FE. -FUunits/go32v2 -dRELEASE fp.pas
fp.pas(553,1) Error: Error while linking
fp.pas(553,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted

For more information see the log file x131107.log.

What I am doing wrong?

Reply by email

Pierre Free Pascal
to Lubomír Čabla

Hi Lubomir,

I think that your problem comes from the fact that you are using release go32v2 compiler version 2.6.2
to compile 2.6.3 snapshot IDE.
I was able to reproduce this problem.
The error comes from the fact that there are several variations of the environ pchar array ...
The assembler symbol can be _environ or __environ
and there is an incompatibility between 2.6.3 rtl and 2.6.2 compiler that generates a laoding of crt1.o object from libgdb.a library. This should not happen, and of course, when it does, leads to multiply defined symbols and the error you got.

You should first compiler the snapshot 2.6.3 compiler, and use this freshly generated snapshot compiler to recompile rtl packages and finally compile the IDE with libgdb.

Could you test if this works for you also?

Pierre Muller.

Reply by email

Tomas Hajny
to Pierre Free Pascal

On Fri, November 8, 2013 12:31, Pierre Free Pascal wrote:

Hi,

Show quoted text 19 lines
I think that your problem comes from the fact that you are using release go32v2 compiler version 2.6.2 to compile 2.6.3 snapshot IDE. I was able to reproduce this problem. The error comes from the fact that there are several variations of the environ pchar array ... The assembler symbol can be _environ or __environ and there is an incompatibility between 2.6.3 rtl and 2.6.2 compiler that generates a laoding of crt1.o object from libgdb.a library. This should not happen, and of course, when it does, leads to multiply defined symbols and the error you got. You should first compiler the snapshot 2.6.3 compiler, and use this freshly generated snapshot compiler to recompile rtl packages and finally compile the IDE with libgdb. Could you test if this works for you also?

Alright, this is my fault then - I wasn't aware of this change in 2.6.3 RTL for GO32v2 and hoped to simplify things for the original poster by not requiring him to go through the full building cycle. If this is necessary, using the fpcbuild.zip instead of just fpc.zip (while still unpacking the downloaded libgdb into fpcsrc/libgdb/go32v2) and running "make go32v2zip" (with the respective additional parameters, i.e. "OPT=-gl -O- -Xs-" to get executable providing the backtrace source line information in case of crash) is probably an easier option than first installing the snapshot compiler and then ensuring that this one is used rather than the last release... Anyway, sorry. :-(

Tomas

Reply by email

Lubomír Čabla
to Tomas Hajny

Hi Pierre and Tomas,

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
*make.exe: Entering an unknown directory*
make.exe: *** clean: No such file or directory (ENOENT). Stop. make.exe: Leaving an unknown directory
make.exe[5]: *** [rtlclean] Error 2
make.exe[5]: Leaving directory `z:/fpcbuild/fpcsrc/compiler' make.exe[4]: *** [cycle] Error 2
make.exe[4]: Leaving directory `z:/fpcbuild/fpcsrc/compiler' make.exe[3]: *** [compiler_cycle] Error 2
make.exe[3]: Leaving directory `z:/fpcbuild/fpcsrc' make.exe[2]: *** [build-stamp.-go32v2] Error 2
make.exe[2]: Leaving directory `z:/fpcbuild/fpcsrc' make.exe[1]: *** [fpcsrc/build-stamp.-go32v2] Error 2 make.exe[1]: Leaving directory `z:/fpcbuild'
make.exe: *** [go32v2zip] Error 2

Tomas Hajny wrote 43 lines
On Fri, November 8, 2013 12:31, Pierre Free Pascal wrote: Hi, > I think that your problem comes from the fact that you are > using release go32v2 compiler version 2.6.2 > to compile 2.6.3 snapshot IDE. > I was able to reproduce this problem. > The error comes from the fact that there are several variations > of the environ pchar array ... > The assembler symbol can be _environ or __environ > and there is an incompatibility between 2.6.3 rtl and 2.6.2 > compiler that generates a laoding of crt1.o object from > libgdb.a library. This should not happen, and of course, > when it does, leads to multiply defined symbols and the error > you got. > > You should first compiler the snapshot 2.6.3 compiler, > and use this freshly generated snapshot compiler to > recompile rtl packages and finally compile the IDE > with libgdb. > > Could you test if this works for you also? Alright, this is my fault then - I wasn't aware of this change in 2.6.3 RTL for GO32v2 and hoped to simplify things for the original poster by not requiring him to go through the full building cycle. If this is necessary, using the fpcbuild.zip instead of just fpc.zip (while still unpacking the downloaded libgdb into fpcsrc/libgdb/go32v2) and running "make go32v2zip" (with the respective additional parameters, i.e. "OPT=-gl -O- -Xs-" to get executable providing the backtrace source line information in case of crash) is probably an easier option than first installing the snapshot compiler and then ensuring that this one is used rather than the last release... Anyway, sorry. :-( Tomas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Tomas Hajny
to Lubomír Čabla

On Fri, November 8, 2013 22:07, Lubomír Čabla wrote:

Hi Lubomir,

Show quoted text 21 lines
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

Reply by email

Lubomír Čabla
to Tomas Hajny

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

Tomas Hajny wrote 53 lines
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 - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Lubomír Čabla
to Lubomír Čabla

It seems that compilation doesn't work under Windows Server 2003 Enterprise.

I did the same under Windows XP SP3 using

make go32v2zip "OPT=-gl -O- -Xs-"

and it works up to compilation of IDE fp.pas - see attached listing fpc263.rar.

I got the same error for crt1.c even I think the compiler is compiled and used (at least as I see in LOG file):

Z:\fpcbuild>Z:\fpcbuild\fpcsrc\compiler\ppc386.exe -? Free Pascal Compiler version 2.6.3 [2013/11/11] for i386 ...

*Could you help me how to compile now IDE fp.pas with GDB using new ppc386.exe?*

From LOG file:

...
z:/pp/bin/go32v2/make.exe testgdb
make.exe[6]: Entering directory `z:/fpcbuild/fpcsrc/ide' LibGDB found in z:/fpcbuild/fpcsrc/libgdb/go32v2/libgdb.a make.exe[6]: Leaving directory `z:/fpcbuild/fpcsrc/ide' z:/pp/bin/go32v2/make.exe fpc_all
make.exe[6]: Entering directory `z:/fpcbuild/fpcsrc/ide' *z:/fpcbuild/fpcsrc/compiler/ppc386.exe* -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
fp.pas(553,1) Error: Error while linking
fp.pas(553,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make.exe[6]: Leaving directory `z:/fpcbuild/fpcsrc/ide' make.exe[5]: Leaving directory `z:/fpcbuild/fpcsrc/ide' make.exe[4]: Leaving directory `z:/fpcbuild/fpcsrc/ide' make.exe[3]: Leaving directory `z:/fpcbuild/fpcsrc' make.exe[2]: Leaving directory `z:/fpcbuild/fpcsrc' make.exe[1]: Leaving directory `z:/fpcbuild'

Output to CMD:

Z:\fpcbuild>make go32v2zip "OPT=-gl -O- -Xs-">x131111.log exceptn.as: Assembler messages:
exceptn.as:362: Warning: indirect ljmp without `*' exceptn.as:414: Warning: indirect ljmp without `*' z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0x0): multiple definition of `__bss_count'
z:\fpcbuild\fpcsrc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0x94): first defined here
z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0x4): multiple definition of `__PROXY'
z:\fpcbuild\fpcsrc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0xba): first defined here
z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.data+0xc): multiple definition of `__PROXY_LEN'
z:\fpcbuild\fpcsrc\rtl\units\go32v2\prt0.o:v2prt0.as:(.data+0xc2): first defined here
z:\fpcbuild\fpcsrc\libgdb\go32v2\/libc.a(crt1.o):crt1.c:(.text+0x45c): undefined reference to `_crt0_init_mcount'
make.exe[6]: *** [fp.exe] Error 1
make.exe[5]: *** [buildfp] Error 2
make.exe[4]: *** [gdb] Error 2
make.exe[3]: *** [ide_all] 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

Lubomír Čabla wrote 122 lines
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 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 - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email