Sign in Join

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

Mailing lists / lazarus / 2014-11

lazarus trunk compile fails with fpc trunk

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

waldo kitty

i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus, on the other hand, gave me the following failure output...

lazarus update processing steps...
* CMND: make distclean
* CMND: TortoiseProc /command:update /path:"c:\freepascal\laz"
* CMND: make OPT="-gl -gh -dHEAPTRC_WINDOW" lazbuild lcl basecomponents starter bigidecomponents lhelp
* CMND: lazbuild.exe --build-ide="-gl -gh -dHEAPTRC_WINDOW" --build-mode="debug ide"

[quote="lazarus compile log"]
[chomp 7375 lines]
(3104) Compiling synpropertyeditobjectlist.pas
TExternalTool.DoExecute Title="Compiling package TurboPowerIProDsgn 0.0" Process.CurrentDirectory="C:\freepascal\laz\components\turbopower_ipro\design\" Executable="c:\freepascal\fpc\trunk\bin\i386-win32\fpc.exe" Params: -B
-MObjFPC
-Scgi
-O1
-g
-gl
-vewnhibq
-FuC:\freepascal\laz\packager\units\i386-win32
-FuC:\freepascal\laz\components\lazutils\lib\i386-win32 -FuC:\freepascal\laz\lcl\units\i386-win32
-FuC:\freepascal\laz\lcl\units\i386-win32\win32
-FuC:\freepascal\laz\components\cairocanvas\lib\i386-win32\win32 -FuC:\freepascal\laz\components\lazcontrols\lib\i386-win32\win32 -FuC:\freepascal\laz\components\ideintf\units\i386-win32\win32 -FuC:\freepascal\laz\components\printers\lib\i386-win32\win32 -FuC:\freepascal\laz\components\turbopower_ipro\units\i386-win32\win32 -FuC:\freepascal\laz\components\turbopower_ipro\design\ -FUC:\freepascal\laz\components\turbopower_ipro\design\lib\i386-win32\win32\ -l
-dLCL
-dLCLwin32
turbopoweriprodsgn.pas

Hint: (11030) Start of reading config file
c:\freepascal\fpc\trunk\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file
c:\freepascal\fpc\trunk\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.7.1 [2014/11/03] for i386 Copyright (c) 1993-2014 by Florian Klaempfl and others (1002) Target OS: Win32 for i386
(3104) Compiling turbopoweriprodsgn.pas
(3104) Compiling ipidehtmlcontrol.pas
C:\freepascal\laz\components\synedit\design\allsyneditdsgn.pas(10,3) Hint: (5023) Unit "SynDesignStringConstants" not used in allsyneditdsgn (1008) 971 lines compiled, 7.3 sec
(1022) 3 hint(s) issued
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(73,22) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(74,27) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(39,36) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(39,64) Hint: (5024) Parameter "URL" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(40,36) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(40,64) Hint: (5024) Parameter "URL" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(42,35) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(42,63) Hint: (5024) Parameter "URL" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(43,18) Hint: (5024) Parameter "aPostData" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(44,36) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(46,33) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(47,43) Hint: (5024) Parameter "Sender" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(47,71) Hint: (5024) Parameter "URL" not used
C:\freepascal\laz\components\turbopower_ipro\design\ipidehtmlcontrol.pas(48,35) Hint: (5024) Parameter "Sender" not used
(1010) Writing Resource String Table file: ipidehtmlcontrol.rsj (1008) 407 lines compiled, 5.7 sec
(1022) 16 hint(s) issued
An unhandled exception occurred at $004AA2F3:
EAccessViolation: Access violation
TExternalTool.DoExecute Title="Clean Lazarus Source" Process.CurrentDirectory="C:\freepascal\laz\"
Executable="C:\freepascal\binutils\i386-win32\make.exe" Params: cleanide
-w

$004AA2F3 TABSTRACTEXTERNALTOOL__LEAVECRITICALSECTION, line 1178 of ideexterntoolintf.pas
$004B43E7 TEXTERNALTOOL__SETTHREAD, line 570 of exttools.pas $004B7417 TEXTERNALTOOLTHREAD__SETTOOL, line 1446 of exttools.pas $004B833D TEXTERNALTOOLTHREAD__DESTROY, line 1730 of exttools.pas $00411872
C:\freepascal\binutils\i386-win32\make.exe: Entering directory `C:/freepascal/laz' C:/freepascal/binutils/i386-win32/make.exe -C ide cleanide $0041576E
$76AED3C9
$77401603
$774015D6

make.exe[1]: Entering directory `C:/freepascal/laz/ide' c:/freepascal/binutils/i386-win32/rm.exe -f
Heap dump by heaptrc unit
112226 memory blocks allocated : 5889338/6238168
112222 memory blocks freed : 5889134/6237960
4 unfreed memory blocks : 204
True heap size : 163840
True free heap : 163328
Should be : 163376
Call trace for block $0A2C1328 size 64
$00437A37
$00413B5E
$004B43E7
$004B7417
$004B833D
$00411872
$0041576E
Call trace for block $0A709518 size 24
$00437A37
$00413B5E
$004B43E7
$004B7417
$004B833D
$00411872
$0041576E
Call trace for block $0A6614A8 size 92
$00413B5E
$004B43E7
$004B7417
$004B833D
$00411872
$0041576E
$76AED3C9
Call trace for block $0A709578 size 24
$00423165
$0041576E
$76AED3C9
$77401603
$774015D6
$F0F0F0F0
$F0F0F0F0
$F0F0F0F0
[/quote]

now what??

NOTE: No off-list assistance is given without prior approval. Please *keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

Joost van der Sluis
to waldo kitty
waldo kitty wrote 7 lines
i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus, on the other hand, gave me the following failure output... $004AA2F3 TABSTRACTEXTERNALTOOL__LEAVECRITICALSECTION, line 1178 of ideexterntoolintf.pas $004B43E7 TEXTERNALTOOL__SETTHREAD, line 570 of exttools.pas

Could you try with fpc-trunk revision 28964? It could be that 28965 introduces this problem. But I want to know for sure before I pass this one to Jonas. (I also see that you are on Windows... well, please try 28964, then we know more)

Joost.

Reply by email

waldo kitty
to Joost van der Sluis
Joost van der Sluis wrote 12 lines
On 11/04/2014 04:50 PM, waldo kitty wrote: > i updated my fpc trunk last night to 28981 and this morning i updated my > lazarus trunk to 46747... fpc built properly with no problems... > lazarus, on the other hand, gave me the following failure output... > $004AA2F3 TABSTRACTEXTERNALTOOL__LEAVECRITICALSECTION, line 1178 of > ideexterntoolintf.pas > $004B43E7 TEXTERNALTOOL__SETTHREAD, line 570 of exttools.pas Could you try with fpc-trunk revision 28964? It could be that 28965 introduces this problem. But I want to know for sure before I pass this one to Jonas. (I also see that you are on Windows... well, please try 28964, then we know more)

i'll try but i've never backed up to a specific revision... definitely not with tortoiseSVN... but i'll take a look and see what i can do...

NOTE: No off-list assistance is given without prior approval. Please *keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

waldo kitty
to Joost van der Sluis: Could you try with fpc-trunk revision 28964? It could be that 28965 introduces this…
Joost van der Sluis wrote 12 lines
On 11/04/2014 04:50 PM, waldo kitty wrote: > i updated my fpc trunk last night to 28981 and this morning i updated my > lazarus trunk to 46747... fpc built properly with no problems... > lazarus, on the other hand, gave me the following failure output... > $004AA2F3 TABSTRACTEXTERNALTOOL__LEAVECRITICALSECTION, line 1178 of > ideexterntoolintf.pas > $004B43E7 TEXTERNALTOOL__SETTHREAD, line 570 of exttools.pas Could you try with fpc-trunk revision 28964? It could be that 28965 introduces this problem. But I want to know for sure before I pass this one to Jonas. (I also see that you are on Windows... well, please try 28964, then we know more)

/if/ i did it right then that seems to have fixed it... i was able to get back to r28964 in FPC and get it compiled after a distclean (which i normally do before updating)... after that i ran my normal updatelaz script which pulled some new code and the built to completion... it looks like it went ok...

NOTE: No off-list assistance is given without prior approval. Please *keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

Joost van der Sluis
to waldo kitty
waldo kitty wrote 22 lines
On 11/5/2014 10:14 AM, Joost van der Sluis wrote: > On 11/04/2014 04:50 PM, waldo kitty wrote: >> i updated my fpc trunk last night to 28981 and this morning i updated my >> lazarus trunk to 46747... fpc built properly with no problems... >> lazarus, on the other hand, gave me the following failure output... > >> $004AA2F3 TABSTRACTEXTERNALTOOL__LEAVECRITICALSECTION, line 1178 of >> ideexterntoolintf.pas >> $004B43E7 TEXTERNALTOOL__SETTHREAD, line 570 of exttools.pas > > Could you try with fpc-trunk revision 28964? It could be that 28965 > introduces > this problem. But I want to know for sure before I pass this one to > Jonas. (I > also see that you are on Windows... well, please try 28964, then we > know more) /if/ i did it right then that seems to have fixed it... i was able to get back to r28964 in FPC and get it compiled after a distclean (which i normally do before updating)... after that i ran my normal updatelaz script which pulled some new code and the built to completion... it looks like it went ok...

Ok, if you now want to update to r28965 and try again. If that one fails, please create a bug-report for fpc. And include all this information.

Joost.

Reply by email

Reinier Olislagers
to Joost van der Sluis: Could you try with fpc-trunk revision 28964? It could be that 28965 introduces this…
Joost van der Sluis wrote 6 lines
On 11/04/2014 04:50 PM, waldo kitty wrote: > i updated my fpc trunk last night to 28981 and this morning i updated my > lazarus trunk to 46747... fpc built properly with no problems... > lazarus, on the other hand, gave me the following failure output... Could you try with fpc-trunk revision 28964? It could be that 28965 introduces this problem. But I want to know for sure before I pass this

FYI, have had no problem building laz trunk/x86 fpc trunk, windows e.g. fpc r28988. Note that make distclean was indeed sometimes necessary.

Reply by email

waldo kitty
to Joost van der Sluis: Ok, if you now want to update to r28965 and try again. If that one fails, please create a…
Joost van der Sluis wrote 26 lines
On 11/06/2014 01:18 AM, waldo kitty wrote: > On 11/5/2014 10:14 AM, Joost van der Sluis wrote: >> On 11/04/2014 04:50 PM, waldo kitty wrote: >>> i updated my fpc trunk last night to 28981 and this morning i updated my >>> lazarus trunk to 46747... fpc built properly with no problems... >>> lazarus, on the other hand, gave me the following failure output... >> >>> $004AA2F3 TABSTRACTEXTERNALTOOL__LEAVECRITICALSECTION, line 1178 of >>> ideexterntoolintf.pas >>> $004B43E7 TEXTERNALTOOL__SETTHREAD, line 570 of exttools.pas >> >> Could you try with fpc-trunk revision 28964? It could be that 28965 >> introduces >> this problem. But I want to know for sure before I pass this one to >> Jonas. (I >> also see that you are on Windows... well, please try 28964, then we >> know more) > > /if/ i did it right then that seems to have fixed it... i was able to > get back to r28964 in FPC and get it compiled after a distclean (which i > normally do before updating)... after that i ran my normal updatelaz > script which pulled some new code and the built to completion... it > looks like it went ok... Ok, if you now want to update to r28965 and try again. If that one fails, please create a bug-report for fpc. And include all this information.

i followed the same method to move to FPC's r28965, built it ok, ran my updatelaz script which pulled one or two new files for lazarus and it also built properly...

i don't know if i adjusted FPC to the revisions properly though... i didn't revert anything... i just told tortoise to "update to revision" both times... the first time to move back to r28964... then again to move up to r28965... did i not do that properly??

NOTE: No off-list assistance is given without prior approval. Please *keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email