Re: [fpc-devel] Better Call Stack Information

2014-08-10 Thread Sven Barth
On 11.08.2014 00:02, mark diener wrote: Sven: I built the RTL as you instructed: make install INSTALL_PREFIX=c:\lazarus\fpc\2.6.4-debug Then I changed a single line in fpc.cfg: From: -FuC:\lazarus\fpc\$FPCVERSION/units/$fpctarget/rtl To: -FuC:\lazarus\fpc\$FPCVERSION-debug/units/$fpctarget

Re: [fpc-devel] SYSUTILS UTF8String Memory Bug

2014-08-10 Thread Marco van de Voort
In our previous episode, mark diener said: > Compile Error Message: > > C:\pdev\rpzlib\rpzopsyswin32.pas(46,37) Error: range check error while > evaluating constants > > Offending code: > > nres := ioctlsocket(socket,FIONBIO,@nblock) ; > > So my FIONBIO constant is triggering a compile time err

Re: [fpc-devel] Better Call Stack Information

2014-08-10 Thread mark diener
Sven: I built the RTL as you instructed: make install INSTALL_PREFIX=c:\lazarus\fpc\2.6.4-debug Then I changed a single line in fpc.cfg: From: -FuC:\lazarus\fpc\$FPCVERSION/units/$fpctarget/rtl To: -FuC:\lazarus\fpc\$FPCVERSION-debug/units/$fpctarget/rtl But I did not rebuild the compiler,

Re: [fpc-devel] Better Call Stack Information

2014-08-10 Thread Sven Barth
On 10.08.2014 21:48, mark diener wrote: Sven: Thanks for your response. I am able to recompile RTL with the following commands issues from an Admin level DOS prompt: You should not need a Command shell with Admin rights. make clean make all OS_TARGET=win32 CPU_TARGET=i386 OPT="-gl -O-" make

Re: [fpc-devel] SYSUTILS UTF8String Memory Bug

2014-08-10 Thread mark diener
Jonas: I am working on the heaptrc and DrMemory analysis today. Switching to range checks (-CRr) begins a new round of code changing to handle compile errors as shown by example below. How would you begin to clean up the code so that range checks Your response appreciated, Marco

Re: [fpc-devel] Better Call Stack Information

2014-08-10 Thread mark diener
Sven: Thanks for your response. I am able to recompile RTL with the following commands issues from an Admin level DOS prompt: make clean make all OS_TARGET=win32 CPU_TARGET=i386 OPT="-gl -O-" make install OS_TARGET=win32 CPU_TARGET=i386 How do I point the compiler to look at the new units/*.ppu

Re: [fpc-devel] Code generator issue for Cortex-M0 chips in trunk

2014-08-10 Thread Michael Ring
The patch worked, generated assembler looks ok, will test on device this evening Am 08.08.14 um 14:27 schrieb Nico Erfurth: On 08.08.14 10:28, Michael Ring wrote: There seems to be a bug in the codegenerator for armv6m thumb code. tst r0,#-2147483648 is not valid armv6m assembler code, docum

Re: [fpc-devel] Subversion offline?

2014-08-10 Thread Jonas Maebe
On 10/08/14 13:20, Michael Ring wrote: I am currently getting an error message: [ring@MacbookPro fpc-arm]$ svn update Updating '.': svn: E175002: Unable to connect to a repository at URL 'http://svn.freepascal.org/svn/fpc/trunk' svn: E175002: The OPTIONS request returned invalid XML in the respo

[fpc-devel] Subversion offline?

2014-08-10 Thread Michael Ring
I am currently getting an error message: [ring@MacbookPro fpc-arm]$ svn update Updating '.': svn: E175002: Unable to connect to a repository at URL 'http://svn.freepascal.org/svn/fpc/trunk' svn: E175002: The OPTIONS request returned invalid XML in the response: XML parse error at line 1: no ele