View Issue Details

IDProjectCategoryView StatusLast Update
0036860FPCCompilerpublic2020-04-03 08:18
ReporterAwkward Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformi386OSwindows 
Product Version3.3.1 
Summary0036860: Compiler [fatal] error or "exports" function without "interface" section placed
Descriptionwhen i trying to build program which uses unit with "exports" section, i got compiler crash if at least one name in "exports" section not exists in "interface" section of unit.
usually i have error like
"Fatal: Internal error 200709272
Fatal: Compilation aborted"
sometime i can get internal address (depends of command line keys)
once i got
Error: Undefined symbol: _SYSINITPAS_D:=D:\Dropbox\src\test_init$ (first seen in 1.o)

tried on FPC trunk and 3.2.0 rc1 versions
Steps To ReproduceCreate unit like this:
unit unita;

interface
implementation

function funca:integer;
begin
  result:=0;
end;

exports
  funca;
end.

then create empty program like this:

uses unita;
begin
end.

try to build with FPC.
Additional InformationIf i use "make" mode after it, program compiled. when i remove all *.o and *.ppu files, compilation breaks.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

Anton Kavalenka

2020-04-03 08:18

reporter   ~0121855

see also 0026173

Issue History

Date Modified Username Field Change
2020-04-03 07:15 Awkward New Issue
2020-04-03 08:18 Anton Kavalenka Note Added: 0121855