View Issue Details

IDProjectCategoryView StatusLast Update
0035902FPCCompilerpublic2019-07-30 04:43
ReporterKarl-Michael Schindler Assigned ToPierre Muller  
Status closedResolutionfixed 
PlatformdarwinOSMac OS X 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0035902: Commit 42527 breaks cross-building the target m68k-linux
DescriptionCommit 42527 breaks cross-building the target m68k-linux with the following error message:

/BlaBla/FreePascal/compiler/ppcross68k -Ur -Tlinux -Pm68k -XPm68k-linux- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../m68k -Fi../unix -Fim68k -FE. -FU/BlaBla/FreePascal/rtl/units/m68k-linux -ap -dm68k -dRELEASE ../inc/iso7185.pp
objpas.pp(87,59) Error: Wrong size of Settings read-in
Fatal: You need ObjFpc (-S2) or Delphi (-Sd) mode to compile this module
Fatal: Compilation aborted
Steps To Reproducesvn up -r 42527
make -j 4 clean all OPT=-ap OS_TARGET=linux CPU_TARGET=m68k
Additional InformationI do not think that it matters, but for the sake of completeness. Hosting platform is macOS 10.14.5 with Xcode 10.2.1; the bootstrap compiler is fpc (64bit) 3.0.4 from fink.
TagsNo tags attached.
Fixed in Revision
Attached Files


has duplicate 0035901 closedSven Barth Crosscompile for aix 64 broken 


Karl-Michael Schindler

2019-07-29 09:44

reporter   ~0117470

As to expect, the other big-endian targets mips-linux, powerpc-linux, powerpc64-linux, sparc-linux, and sparc64-linux are affected in the same way, whereas little-endian targets are fine.

Pierre Muller

2019-07-29 11:58

developer   ~0117481

Hopefully fixed by commit number 42528, please check!

  The error comes from the fact that most of the time, the replaytokens are
not read from a PPU, but rather used as specialization of a generic class
inside the same unit, in such cases, no swaps are needed!

Karl-Michael Schindler

2019-07-29 12:27

reporter   ~0117485

I confirmed the fix on my system with commit 42528. Thanks.

Issue History

Date Modified Username Field Change
2019-07-29 09:22 Karl-Michael Schindler New Issue
2019-07-29 09:44 Karl-Michael Schindler Note Added: 0117470
2019-07-29 11:58 Pierre Muller Assigned To => Pierre Muller
2019-07-29 11:58 Pierre Muller Status new => resolved
2019-07-29 11:58 Pierre Muller Resolution open => fixed
2019-07-29 11:58 Pierre Muller Fixed in Version => 3.3.1
2019-07-29 11:58 Pierre Muller FPCTarget => -
2019-07-29 11:58 Pierre Muller Note Added: 0117481
2019-07-29 12:27 Karl-Michael Schindler Status resolved => closed
2019-07-29 12:27 Karl-Michael Schindler Note Added: 0117485
2019-07-29 19:08 Sven Barth Relationship added has duplicate 0035901