View Issue Details

IDProjectCategoryView StatusLast Update
0036474FPCCompilerpublic2019-12-23 16:19
ReporterJ. Gareth Moreton Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformi386OSUbuntu Linux 
Product Version3.0.4 
Summary0036474: Internal Error 200501156 during manual bootstrapping
DescriptionI have managed to consitently raise an Internal Error with FPC under i386-linux when attempting to manually bootstrap the compiler. This has been seen to occur with 3.0.4 and 3.3.1.
Steps To ReproduceRun the following from the "compiler/" subdirectroy of the FPC source files from a Linux terminal.

ppc386 -O2 -Fui386 -Fusystems -Fu../rtl/linux -Fu../rtl/units/i386-linux -Fu../rtl/inc -Fu../rtl/objpas -Fu../rtl/unix -Fu../rtl/charmaps -Fii386 -FEi386/bin/i386-linux -Fi../rtl/unix -Fi../rtl/linux -Fi../rtl/inc -Fi../rtl/i386 -Fi../rtl/linux/i386 -Fi../rtl/objpas/sysutils -FUi386/units/i386-linux -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 -Sg pp.pas
Additional InformationError line is: "sysnr.inc(22,1) Fatal: Internal error 200501156"

Find attached my personal log file of building under 3.0.4 (3.3.1 results in the same error and location).
Tagscompiler, i386, internal error, linux, x86
Fixed in Revision
FPCOldBugId
FPCTarget-
Attached Files

Activities

J. Gareth Moreton

2019-12-22 23:35

developer  

200501156.log (20,489 bytes)   
From directory ~/Documents/fpc-prototype/compiler

ppc386 -O2 -Fui386 -Fusystems -Fu../rtl/linux -Fu../rtl/units/i386-linux -Fu../rtl/inc -Fu../rtl/objpas -Fu../rtl/unix -Fu../rtl/charmaps -Fii386 -FEi386/bin/i386-linux -Fi../rtl/unix -Fi../rtl/linux -Fi../rtl/inc -Fi../rtl/i386 -Fi../rtl/linux/i386 -Fi../rtl/objpas/sysutils -FUi386/units/i386-linux -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 -Sg pp.pas

Compiling Release Version
Free Pascal Compiler version 3.0.4 [2018/10/29] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling pp.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/linux/system.pp
astrings.inc(655,3) Note: Local variable "r1" not used
astrings.inc(655,6) Note: Local variable "r2" not used
ustrings.inc(1813,5) Note: Local variable "PRECHAR" is assigned but never used
dynlib.inc(173,10) Warning: Function result does not seem to be set
dynlib.inc(178,10) Warning: Function result does not seem to be set
dynlib.inc(183,10) Warning: Function result does not seem to be set
dynlib.inc(188,10) Warning: Function result does not seem to be set
dynlib.inc(193,10) Warning: Function result does not seem to be set
dynlib.inc(198,10) Warning: Function result does not seem to be set
genmath.inc(95,7) Note: Local variable "one" not used
genmath.inc(96,7) Note: Local variable "zero" not used
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/inc/fpintres.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/objpas/objpas.pp
Compiling catch.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/baseunix.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/unixtype.pp
bunxsysc.inc(203,29) Warning: Symbol "Domain" is not portable
bunxsysc.inc(206,19) Warning: Symbol "Domain" is not portable
bunxovl.inc(58,73) Warning: Comment level 2 found
bunxovl.inc(58,95) Warning: Comment level 2 found
bunxovl.inc(210,2) Warning: Comment level 2 found
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/unix.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/unixutil.pp
unixutil.pp(187,3) Warning: Symbol "JulianToGregorian" is deprecated: "use DateUtils.DateTimetoJulianDate"
unixutil.pp(201,19) Warning: Symbol "GregorianToJulian" is deprecated: "use DateUtils.JulianDateToDateTime"
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/syscall.pp
unix.pp(205,16) Warning: Symbol "FpGetEnv" is deprecated
unix.pp(357,3) Note: Local variable "cmd" not used
timezone.inc(133,16) Warning: Symbol "FpGetEnv" is deprecated
timezone.inc(204,3) Note: Local variable "tzdir" not used
timezone.inc(296,7) Warning: Symbol "FpGetEnv" is deprecated
unix.pp(1085,32) Warning: Symbol "Domain" is not portable
unix.pp(1222,12) Warning: Implicit string type conversion from "RawByteString" to "UnicodeString"
unix.pp(1227,12) Warning: Implicit string type conversion from "RawByteString" to "UnicodeString"
Compiling verbose.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/sysutils.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/linux/linux.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/errors.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/objpas/sysconst.pp
Writing Resource String Table file: sysconst.rsj
syssbh.inc(100,14) Warning: An inherited method is hidden by "ToString:UnicodeString;"
filutil.inc(112,22) Warning: Symbol "faSymLink" is not portable
syshelp.inc(350,51) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
syshelp.inc(351,53) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
syshelp.inc(352,28) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
sysstr.inc(183,5) Note: Local variable "res" not used
syssb.inc(162,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(185,30) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(197,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(204,44) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(211,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(223,29) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(229,35) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(235,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(241,30) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(247,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(253,27) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(259,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(265,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(286,30) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(311,22) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
syssb.inc(311,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(318,22) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
syssb.inc(318,28) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(330,18) Warning: Implicit string type conversion from "RawByteString" to "UnicodeString"
syssb.inc(388,35) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(395,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(402,36) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(417,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(424,35) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(432,35) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(446,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(453,36) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(460,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(467,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(474,40) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(505,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
syssb.inc(512,34) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
dati.inc(1257,11) Warning: Symbol "LocalToEpoch" is deprecated: "use DateUtils.DateTimeToUnix"
dati.inc(1284,3) Warning: Symbol "EpochToLocal" is deprecated: "use DateUtils.UnixToDateTime"
sysutils.pp(624,31) Warning: Symbol "faHidden" is not portable
sysutils.pp(628,33) Warning: Symbol "faSysFile" is not portable
sysutils.pp(631,34) Warning: Symbol "faSymLink" is not portable
sysutils.pp(926,89) Warning: Symbol "faSymLink" is not portable
sysuthrd.inc(61,3) Note: Local variable "cNewReader" not used
Compiling cutils.pas
Compiling constexp.pas
cutils.pas(1635,12) Note: Local variable "size" is assigned but never used
cutils.pas(1680,12) Note: Local variable "size" is assigned but never used
Compiling globtype.pas
Compiling finput.pas
Compiling cclasses.pas
Compiling cstreams.pas
Compiling comphook.pas
Compiling systems.pas
Compiling globals.pas
Compiling cfileutl.pas
Compiling globals.pas
Compiling ./i386/cpuinfo.pas
Compiling version.pas
Compiling cmsgs.pas
Compiling fmodule.pas
Compiling ogbase.pas
Compiling owbase.pas
Compiling aasmbase.pas
Compiling ogmap.pas
Compiling fpkg.pas
Compiling symbase.pas
Compiling symconst.pas
Compiling symsym.pas
Compiling compinnr.pas
Compiling widestr.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/inc/charset.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1251.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp866.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp8859_5.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1253.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp8859_1.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp850.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp437.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1252.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp646.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp874.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp856.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp852.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp8859_2.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1250.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1254.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1255.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1256.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1257.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/charmaps/cp1258.pas
Compiling symtype.pas
Compiling ppu.pas
Compiling entfile.pas
Compiling fpccrc.pas
Compiling crefs.pas
Compiling fmodule.pas
Compiling symsym.pas
Compiling symdef.pas
Compiling tokens.pas
Compiling node.pas
Compiling cgbase.pas
Compiling cgutils.pas
Compiling ./x86/cpubase.pas
Compiling rgbase.pas
Compiling cgobj.pas
Compiling parabase.pas
Compiling symsym.pas
Compiling symdef.pas
Compiling node.pas
Compiling optbase.pas
Compiling nutils.pas
Compiling symsym.pas
Compiling symdef.pas
Compiling aasmtai.pas
Compiling aasmdata.pas
Compiling aasmtai.pas
Compiling ./x86/aasmcpu.pas
Compiling aasmsym.pas
Compiling symsym.pas
Compiling symdef.pas
Compiling paramgr.pas
Compiling symsym.pas
Compiling defcmp.pas
Compiling symtable.pas
Compiling symsym.pas
Compiling defutil.pas
Compiling symtable.pas
Compiling symutil.pas
Compiling objcdef.pas
Compiling paramgr.pas
Compiling cgobj.pas
Compiling ./x86/aasmcpu.pas
Compiling ./x86/itcpugas.pas
aasmcpu.pas(3098,9) Note: Local variable "len_ea_data" is assigned but never used
aasmcpu.pas(3099,9) Note: Local variable "len_ea_data_evex" is assigned but never used
aasmcpu.pas(3100,9) Note: Local variable "mref_offset" is assigned but never used
aasmcpu.pas(3111,9) Note: Local variable "pmref_operand" is assigned but never used
aasmcpu.pas(3706,9) Note: Local variable "needed_VSIB" is assigned but never used
aasmcpu.pas(3710,9) Note: Local variable "VEXw" is assigned but never used
aasmcpu.pas(3711,9) Note: Local variable "VEXpp" is assigned but never used
aasmcpu.pas(3712,9) Note: Local variable "VEXll" is assigned but never used
aasmcpu.pas(3719,9) Note: Local variable "EVEXw0" is assigned but never used
aasmcpu.pas(4905,7) Note: Local variable "codes" not used
aasmcpu.pas(4906,7) Note: Local variable "c" not used
Compiling rgobj.pas
Compiling tgobj.pas
Compiling procinfo.pas
Compiling procdefutil.pas
Compiling pparautl.pas
Compiling fmodule.pas
Compiling wpobase.pas
Compiling scanner.pas
Compiling switches.pas
Compiling dirparse.pas
Compiling fppu.pas
Compiling options.pas
Compiling comprsrc.pas
Compiling cscript.pas
Compiling rabase.pas
Compiling pkgutil.pas
Compiling link.pas
Compiling ldscript.pas
link.pas(379,9) Note: Local variable "cmdstritem" not used
Compiling aasmcnst.pas
aasmcnst.pas(832,8) Note: Local variable "ai" not used
Compiling psub.pas
Compiling nbas.pas
Compiling pass_1.pas
Compiling nutils.pas
Compiling ncon.pas
Compiling nld.pas
Compiling htypechk.pas
Compiling pgentype.pas
Compiling ncnv.pas
Compiling ./i386/symcpu.pas
Compiling ./x86/symx86.pas
Compiling ./x86/symi86.pas
Compiling ncal.pas
Compiling nflw.pas
Compiling optloop.pas
Compiling nadd.pas
Compiling nmat.pas
Compiling nflw.pas
Compiling nmem.pas
Compiling objcutil.pas
Compiling export.pas
Compiling ninl.pas
Compiling nobjc.pas
Compiling nset.pas
Compiling ngenutil.pas
Compiling nopt.pas
Compiling ncgmem.pas
Compiling pass_2.pas
Compiling cgobj.pas
Compiling hlcgobj.pas
Compiling ncgrtti.pas
ncgrtti.pas(1864,15) Note: Local variable "len" not used
Compiling ./x86/cgx86.pas
Compiling ./x86/rgx86.pas
Compiling ncgutil.pas
Compiling cg64f32.pas
Compiling ./i386/cpupara.pas
Compiling dbgbase.pas
Compiling ./i386/hlcgcpu.pas
Compiling ./x86/hlcgx86.pas
Compiling hlcg2ll.pas
Compiling ./i386/cgcpu.pas
Compiling ./i386/rgcpu.pas
hlcgobj.pas(1627,7) Note: Local variable "tmpref" not used
hlcgobj.pas(1631,7) Note: Local variable "newdef" not used
hlcgobj.pas(1632,7) Note: Local variable "newbytesize" not used
hlcgobj.pas(1633,7) Note: Local variable "loval" not used
hlcgobj.pas(1633,14) Note: Local variable "hival" not used
Compiling objcgutl.pas
ncgmem.pas(860,10) Note: Local variable "i" not used
Compiling optutils.pas
Compiling pgenutil.pas
Compiling nobj.pas
Compiling pbase.pas
Compiling pexpr.pas
Compiling pinline.pas
Compiling ptype.pas
Compiling symcreat.pas
Compiling pdecobj.pas
Compiling pdecsub.pas
Compiling syscinfo.pas
Compiling pdecl.pas
Compiling ptconst.pas
Compiling pdecvar.pas
Compiling ngtcon.pas
Compiling psub.pas
Compiling optdfa.pas
Compiling gendef.pas
Compiling pstatmnt.pas
Compiling pexports.pas
Compiling ncgflw.pas
Compiling cgexcept.pas
Compiling psabiehpi.pas
Compiling dwarfbase.pas
Compiling cfidwarf.pas
Compiling aasmcfi.pas
psabiehpi.pas(625,9) Note: Local variable "action" not used
psabiehpi.pas(689,9) Note: Local variable "typeidres" not used
psabiehpi.pas(692,9) Note: Local variable "landingpadstructdef" not used
psabiehpi.pas(693,9) Note: Local variable "landingpadtypeiddef" not used
psabiehpi.pas(694,9) Note: Local variable "rttisym" is assigned but never used
psabiehpi.pas(695,9) Note: Local variable "rttidef" is assigned but never used
psabiehpi.pas(696,9) Note: Local variable "rttiref" not used
psabiehpi.pas(698,9) Note: Local variable "exceptiontypeidreg" not used
psabiehpi.pas(699,9) Note: Local variable "landingpadres" not used
Compiling opttail.pas
Compiling optcse.pas
Compiling optconstprop.pas
Compiling optdeadstore.pas
Compiling optloadmodifystore.pas
Compiling aopt.pas
Compiling aoptobj.pas
Compiling aoptbase.pas
Compiling ./i386/aoptcpub.pas
Compiling aoptda.pas
Compiling aoptutils.pas
aoptobj.pas(2413,11) Note: Local variable "hp1" not used
aoptobj.pas(2413,15) Note: Local variable "hp2" not used
aoptobj.pas(2413,19) Note: Local variable "hp3" not used
Compiling ./i386/aoptcpu.pas
Compiling ./x86/aoptx86.pas
aoptcpu.pas(132,13) Note: Local variable "hp2" not used
aoptcpu.pas(133,9) Note: Local variable "hp3" not used
aoptcpu.pas(133,13) Note: Local variable "hp4" not used
aoptcpu.pas(134,9) Note: Local variable "v" not used
pgenutil.pas(456,9) Note: Local variable "pt2" not used
pgenutil.pas(458,9) Note: Local variable "first" not used
pgenutil.pas(462,9) Note: Local variable "def" not used
pgenutil.pas(464,9) Note: Local variable "srsym" not used
pgenutil.pas(465,9) Note: Local variable "st" not used
Compiling blockutl.pas
Compiling fpcp.pas
Compiling pcp.pas
Compiling ./systems/i_bsd.pas
Compiling wpoinfo.pas
Compiling parser.pas
Compiling globstat.pas
Compiling scandir.pas
Compiling psystem.pas
Compiling pmodules.pas
Compiling assemble.pas
Compiling import.pas
Compiling cresstr.pas
Compiling ncgvmt.pas
symtable.pas(4272,9) Note: Local variable "s" not used
symtable.pas(4275,9) Note: Local variable "st" not used
symtable.pas(4296,9) Note: Local variable "s" not used
Compiling compiler.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/unix/unixcp.pp
unixcp.pp(722,9) Warning: Symbol "FpGetEnv" is deprecated
unixcp.pp(724,11) Warning: Symbol "FpGetEnv" is deprecated
unixcp.pp(726,11) Warning: Symbol "FpGetEnv" is deprecated
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/objpas/fpwidestring.pp
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/objpas/unicodedata.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/objpas/unicodenumtable.pas
unicodedata.pas(2108,13) Warning: Conversion between ordinals and pointers is not portable
unicodedata.pas(2237,19) Warning: Conversion between ordinals and pointers is not portable
unicodedata.pas(2244,19) Warning: Conversion between ordinals and pointers is not portable
unicodedata.pas(2344,8) Warning: Conversion between ordinals and pointers is not portable
unicodedata.pas(2355,14) Warning: Conversion between ordinals and pointers is not portable
unicodedata.pas(2366,8) Warning: Conversion between ordinals and pointers is not portable
unicodedata.pas(2378,14) Warning: Conversion between ordinals and pointers is not portable
Writing Resource String Table file: unicodedata.rsj
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/objpas/math.pp
Writing Resource String Table file: math.rsj
Compiling wpo.pas
Compiling optvirt.pas
Compiling optdead.pas
Compiling ./i386/cpupi.pas
Compiling ./i386/cpunode.pas
Compiling ncgbas.pas
Compiling ncgld.pas
Compiling ncgcnv.pas
Compiling ncgmat.pas
Compiling ncgcon.pas
Compiling ncgcal.pas
Compiling ncgset.pas
Compiling ncginl.pas
Compiling ncgopt.pas
Compiling ncgobjc.pas
Compiling ./x86/nx86set.pas
Compiling ./x86/cga.pas
Compiling ./x86/nx86con.pas
Compiling ./x86/nx86cnv.pas
Compiling ./i386/n386add.pas
Compiling ./x86/nx86add.pas
Compiling ncgadd.pas
Compiling ./i386/n386cal.pas
Compiling ./x86/nx86cal.pas
Compiling ./i386/n386ld.pas
Compiling ./x86/nx86ld.pas
Compiling ./i386/n386mem.pas
Compiling ./x86/nx86mem.pas
Compiling ./x86/ni86mem.pas
Compiling ./i386/n386set.pas
Compiling ./i386/n386inl.pas
Compiling ./x86/nx86inl.pas
Compiling ./i386/n386mat.pas
Compiling ./x86/nx86mat.pas
Compiling aasmdef.pas
Compiling ./i386/cputarg.pas
Compiling ./systems/t_android.pas
Compiling expunix.pas
Compiling rescmn.pas
Compiling ./systems/i_android.pas
Compiling ./systems/t_linux.pas
Compiling ogelf.pas
Compiling elfbase.pas
Compiling owar.pas
Compiling ./systems/i_linux.pas
Compiling ./systems/t_bsd.pas
Compiling ./systems/t_sunos.pas
Compiling ./systems/i_sunos.pas
Compiling ./systems/t_emx.pas
Compiling ./systems/i_emx.pas
Compiling ./systems/t_os2.pas
Compiling ./systems/i_os2.pas
Compiling ./systems/t_win.pas
Compiling ./systems/i_win.pas
Compiling ogcoff.pas
Compiling ./systems/t_nwm.pas
Compiling ./systems/i_nwm.pas
Compiling ognlm.pas
Compiling ./systems/t_nwl.pas
Compiling ./systems/i_nwl.pas
Compiling ./systems/t_go32v2.pas
Compiling ./systems/i_go32v2.pas
Compiling ./systems/t_beos.pas
Compiling ./systems/i_beos.pas
t_beos.pas(174,3) Note: Local variable "i" not used
Compiling ./systems/t_haiku.pas
Compiling ./systems/i_haiku.pas
Compiling ./systems/t_wdosx.pas
Compiling ./systems/i_wdosx.pas
Compiling ./systems/t_watcom.pas
Compiling ./systems/i_watcom.pas
Compiling ./systems/t_symbian.pas
Compiling ./systems/i_symbian.pas
Compiling ./systems/t_nativent.pas
Compiling ./systems/i_nativent.pas
Compiling ./systems/t_embed.pas
Compiling ./systems/i_embed.pas
Compiling ./systems/t_aros.pas
Compiling ./systems/i_aros.pas
Compiling ./x86/agx86att.pas
Compiling aggas.pas
Compiling objcasm.pas
Compiling ./x86/agx86nsm.pas
Compiling omfbase.pas
Compiling ./x86/agx86int.pas
Compiling ./x86/itx86int.pas
Compiling ./i386/cpuelf.pas
Compiling ./i386/ra386int.pas
Compiling ./x86/rax86int.pas
Compiling rasm.pas
Compiling ./x86/rax86.pas
Compiling rautils.pas
rax86.pas(444,3) Note: Local variable "t" not used
rax86int.pas(310,9) Note: Local variable "scomment" not used
rax86int.pas(311,9) Note: Local variable "schar" not used
rax86int.pas(312,9) Note: Local variable "old_commentstyle" not used
Compiling ./i386/ra386att.pas
Compiling ./x86/rax86att.pas
Compiling raatt.pas
Compiling dbgstabs.pas
Compiling dbgdwarf.pas
Compiling /home/thecuriouskit/Documents/fpc-prototype/rtl/linux/si_prc.pp
sysnr.inc(22,1) Fatal: Internal error 200501156
Fatal: Compilation aborted
200501156.log (20,489 bytes)   

Sven Barth

2019-12-23 11:40

manager   ~0120033

While an internal error is not good, what you're trying to do is not supported: The RTL is supposed to be precompiled.
When you're using 3.0.4 you either compile with the existing 3.0.4 RTL or you manually compile the trunk RTL using "make all" in the RTL directory with the correct compiler set (using FPC=path/to/your/ppc) and pass the rtl/units/CPU-OS directory to the compiler invocation. This is also true when compiling with 3.3.1.

J. Gareth Moreton

2019-12-23 16:19

developer   ~0120043

I was trying to manually compile in stages in order to gain access to the produced assembler files produced when making the equivalent of ppc2 and ppc3, and kept adding directories to the search path whenever it couldn't find something. How should I be doing this?

Issue History

Date Modified Username Field Change
2019-12-22 23:35 J. Gareth Moreton New Issue
2019-12-22 23:35 J. Gareth Moreton File Added: 200501156.log
2019-12-22 23:35 J. Gareth Moreton Tag Attached: compiler
2019-12-22 23:35 J. Gareth Moreton Tag Attached: internal error
2019-12-22 23:35 J. Gareth Moreton Tag Attached: linux
2019-12-22 23:35 J. Gareth Moreton Tag Attached: i386
2019-12-22 23:35 J. Gareth Moreton Tag Attached: x86
2019-12-22 23:36 J. Gareth Moreton Summary Internal Error 200501156 => Internal Error 200501156 during manual bootstrapping
2019-12-22 23:36 J. Gareth Moreton FPCTarget => -
2019-12-23 11:40 Sven Barth Note Added: 0120033
2019-12-23 16:19 J. Gareth Moreton Note Added: 0120043