View Issue Details

IDProjectCategoryView StatusLast Update
0037998FPCCompilerpublic2020-10-27 17:28
ReporterFabian Büttner Assigned To 
Status newResolutionopen 
Product Version3.0.4 
Summary0037998: -Fu unit search path gets truncated after 243 characters

I am cross compiling fpc and lazarus under yocto for arm linux and I noticed that the -Fu search path gets truncated after 243 characters like this:

PPU Loading /home/teamcity/buildAgent/work/21550bc9d476be58/fooooooooooooooooooooooooooo/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/fooooooooo/
Fatal: Can't find unit Laz_AVL_Tree used by Graphics
Fatal: Compilation aborted

Yocto produces long path names and I only do have control over the directories named "foo".

On my local machine with shorter paths, the units are being found.

Is this a known issue of fpc? If yes, how can I fix it?

I also tried fpc version 3.2.0 with the same results.

Fabian Büttner
TagsNo tags attached.
Fixed in Revision
Attached Files


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-10-27 17:28 Fabian Büttner New Issue