-Fu unit search path gets truncated after 243 characters
Original Reporter info from Mantis: fabianbuettner
-
Reporter name: Fabian Büttner
Original Reporter info from Mantis: fabianbuettner
- Reporter name: Fabian Büttner
Description:
Hi,
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/2.0.0.0-r0/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/lazarus/2.0.0/components/lazutils/lib/arm-l
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.
regards,
Fabian Büttner
Mantis conversion info:
- Mantis ID: 37998
- Version: 3.0.4