View Issue Details

IDProjectCategoryView StatusLast Update
0036626FPCRTLpublic2020-01-26 00:34
ReporterKarl-Michael SchindlerAssigned ToFlorian 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformdarwinOSMac OS XOS Version10.5, 10.6
Product Version3.3.1Product Buildcurrent svn version of trunk 
Target VersionFixed in Version3.3.1 
Summary0036626: current svn version of trunk is broken for cross building all subarchs of arm-embedded.
DescriptionAfter r44010 / r44013 crossbuilding for arm-embedded breaks with this error:

...
/BlaBla/FreePascal/compiler/ppcrossarm -Cparmv7m -Ur -Tembedded -Parm -XParm-embedded- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -FE. -FU/BlaBla/FreePascal/rtl/units/arm-embedded -ap -v0 -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -darm -dRELEASE -Fi../objpas/sysutils sysutils.pp
filutilh.inc(229,10) Error: Forward declaration not solved "FileSetDate(LongInt;Int64):LongInt;"
sysutils.pp(297) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
...

It can be fixed by patching line 62 in rtl/embedded/sysutils.pp:

function FileSetDate(Handle: THandle; Age: LongInt) : Longint;

function FileSetDate(Handle: THandle; Age: Int64) : Longint;
TagsNo tags attached.
Fixed in Revision44034
FPCOldBugId
FPCTarget-
Attached Files

Activities

Karl-Michael Schindler

2020-01-26 00:34

reporter   ~0120747

Fix confirmed. Thanks.

Issue History

Date Modified Username Field Change
2020-01-25 08:32 Karl-Michael Schindler New Issue
2020-01-25 16:24 Florian Assigned To => Florian
2020-01-25 16:24 Florian Status new => resolved
2020-01-25 16:24 Florian Resolution open => fixed
2020-01-25 16:24 Florian Fixed in Version => 3.3.1
2020-01-25 16:24 Florian Fixed in Revision => 44034
2020-01-25 16:24 Florian FPCTarget => -
2020-01-26 00:34 Karl-Michael Schindler Status resolved => closed
2020-01-26 00:34 Karl-Michael Schindler Note Added: 0120747