<p>> External command "/usr/local/bin/ppcsparc -Tlinux -FEbin/sparc-linux -FUunits/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/rtl/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/fv/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/chm/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/fcl-xml/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/fcl-base/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/fcl-res/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/iconvenc/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/regexpr/units/sparc-linux/ -Fu/usr/local/src/fpc/fpc-trunk/packages/gdbint/units/sparc-linux/ -Fl -Fu../rtl/units/sparc-linux -Fu../packages/paszlib/units/sparc-linux -Fu../packages/fcl-process/units/sparc-linux -Fu../packages/hash/units/sparc-linux -Fu../packages/libtar/units/sparc-linux -Fu../packages/fpmkunit/units/sparc-linux -O- -gl -Xd -Ur -dNOCATCH -dBrowserCol -dGDB -dsparc -Fu../compiler -Fu../compiler/sparc -Fu../compiler/targets -Fu../compiler/systems -Fi../compiler/sparc -Fi../compiler -Sg -Fl../libgdb/linux/sparc/ -viq fp.pas" failed with exit code 217. Console output:<br>
> Free Pascal Compiler version 2.6.2 [2013/08/05] for sparc<br>
> Copyright (c) 1993-2012 by Florian Klaempfl and others<br>
><br>
> Target OS: Linux for SPARC<br>
> Compiling fp.pas<br>
> ..<br>
> Compiling /usr/local/src/fpc/fpc-trunk/compiler/sparc/itcpugas.pas<br>
> Assembling itcpugas<br>
> Compiling fpswitch.pas<br>
> Compiling fpvars.pas<br>
> Compiling fpdebug.pas<br>
> Compiling fpregs.pas<br>
> Compiling fpvars.pas<br>
> Compiling fputils.pas<br>
> Compiling fpvars.pas<br>
> Compiling fpcalc.pas<br>
> fpcalc.pas(236,3) Note: Local variable "fpucw" not used<br>
> Writing Resource String Table file: fpcalc.rst<br>
> Assembling fpcalc<br>
> Assembling fpvars<br>
> fputils.pas(239,5) Note: Local variable "C" is assigned but never used<br>
> Assembling fputils<br>
> fpregs.pas(281,8) Note: Local variable "code" is assigned but never used<br>
> fpregs.pas(822,12) Note: Local variable "value" not used<br>
> fpregs.pas(825,8) Note: Local variable "res" is assigned but never used<br>
> fpregs.pas(827,8) Note: Local variable "err" is assigned but never used<br>
> fpregs.pas(997,8) Note: Local variable "top" not used<br>
> fpregs.pas(1002,7) Note: Local variable "TypeStr" not used<br>
> fpregs.pas(1251,8) Note: Local variable "reg" is assigned but never used<br>
> fpregs.pas(1251,12) Note: Local variable "value" not used<br>
> fpregs.pas(1254,8) Note: Local variable "res" is assigned but never used<br>
> fpregs.pas(1256,8) Note: Local variable "err" is assigned but never used<br>
> fpregs.pas(1381,8) Note: Local variable "top" not used<br>
> fpregs.pas(1382,8) Note: Local variable "color" is assigned but never used<br>
> fpregs.pas(1384,8) Note: Local variable "i" not used<br>
> fpregs.pas(1386,7) Note: Local variable "TypeStr" not used<br>
> Fatal: Compilation aborted<br>
> An unhandled exception occurred at $001E61C0 :<br>
> EDivByZero : Division by zero<br>
> $001E61C0 TCGASSIGNMENTNODE__PASS_GENERATE_CODE, line 785 of ncgld.pas<br>
><br>
> At this point: what's actually running, i.e. what command should I apply gdb to to get a decent backtrace?</p>
<p>I think the command at the top is running, because tcgassignmentnode is a class in the compiler.</p>
<p>Regards,<br>
Sven</p>