cpu.ppu: No such file or directory


<h3><details><summary>Original Reporter info from Mantis: <small>takeda99</small></summary><small>

- **Reporter name:** Takeda Matsuki
</small></details></h3>

## Description:

Here chunk of output log :

[ 90%] Compiled package tcl<br/>
[ 90%] Skipped package univint which has been disabled for target x86_64-linux<br/>
[ 91%] Skipped package unixutil which has been disabled for target x86_64-linux<br/>
Start compiling package unzip for target x86_64-linux.<br/>
```
       Compiling unzip\BuildUnit_unzip.pp
       Compiling .\unzip\src\ziptypes.pp
       Compiling .\unzip\src\unzip51g.pp
```
[ 92%] Compiled package unzip<br/>
Start compiling package users for target x86_64-linux.<br/>
```
       Compiling users\BuildUnit_users.pp
       Compiling .\users\src\crypth.pp
       Compiling .\users\src\grp.pp
       Compiling .\users\src\pwd.pp
       Compiling .\users\src\shadow.pp
       Compiling .\users\src\users.pp
```
[ 93%] Compiled package users<br/>
Start compiling package utmp for target x86_64-linux.<br/>
```
       Compiling utmp\BuildUnit_utmp.pp
       Compiling .\utmp\src\utmp.pp
```
[ 94%] Compiled package utmp<br/>
Start compiling package uuid for target x86_64-linux.<br/>
```
       Compiling uuid\BuildUnit_uuid.pp
       Compiling .\uuid\src\libuuid.pp
       Compiling .\uuid\src\macuuid.pp
```
[ 95%] Compiled package uuid<br/>
[ 96%] Skipped package winceunits which has been disabled for target x86_64-linu<br/>
x<br/>
[ 97%] Skipped package winunits-base which has been disabled for target x86_64-l<br/>
inux<br/>
[ 97%] Skipped package winunits-jedi which has been disabled for target x86_64-l<br/>
inux<br/>
Start compiling package xforms for target x86_64-linux.<br/>
```
       Compiling xforms\BuildUnit_xforms.pp
       Compiling .\xforms\src\xforms.pp
```
[ 98%] Compiled package xforms<br/>
Start compiling package zorba for target x86_64-linux.<br/>
```
       Compiling zorba\BuildUnit_zorba.pp
       Compiling .\zorba\src\xqc.pas
       Compiling .\zorba\src\zorbadyn.pas
       Compiling .\zorba\src\zorba.pas
```
[ 99%] Compiled package zorba<br/>
make[2]: Leaving directory `d:/freepascal271/packages'<br/>
make[1]: Leaving directory `d:/freepascal271'<br/>
echo Build > build-stamp.x86_64-linux<br/>
echo Build > base.build-stamp.x86_64-linux<br/>
make install CROSSINSTALL=1<br/>
make[1]: Entering directory `d:/freepascal271'<br/>
make installbase FPC=d:/freepascal271/compiler/ppcrossx64.exe ZIPDESTDIR=d:/free<br/>
pascal271 FPCMAKE=d:/freepascal271/fpc/2.7.1/bin/i386-win32/fpcmake.exe<br/>
make[2]: Entering directory `d:/freepascal271'<br/>
d:/freepascal271/binutils/i386-win32/ginstall.exe -m 755 -d d:\freepascal271\fpc<br/>
\\2.7.1<br/>
d:/freepascal271/binutils/i386-win32/ginstall.exe -m 755 -d d:\freepascal271\fpc<br/>
\\2.7.1/bin/i386-win32<br/>
make compiler_install FPC=d:/freepascal271/compiler/ppcrossx64.exe ZIPDESTDIR=d:<br/>
/freepascal271 FPCMAKE=d:/freepascal271/fpc/2.7.1/bin/i386-win32/fpcmake.exe<br/>
make[3]: Entering directory `d:/freepascal271'<br/>
make -C compiler install<br/>
make[4]: Entering directory `d:/freepascal271/compiler'<br/>
make -C utils install<br/>
make[5]: Entering directory `d:/freepascal271/compiler/utils'<br/>
make[5]: Leaving directory `d:/freepascal271/compiler/utils'<br/>
d:/freepascal271/binutils/i386-win32/ginstall.exe -m 755 -d d:\freepascal271\fpc<br/>
\\2.7.1/bin/i386-win32<br/>
d:/freepascal271/binutils/i386-win32/cp.exe -fp ppcrossx64.exe d:\freepascal271\<br/>
fpc\2.7.1/bin/i386-win32/ppcrossx64.exe<br/>
make[4]: Leaving directory `d:/freepascal271/compiler'<br/>
make[3]: Leaving directory `d:/freepascal271'<br/>
make rtl_install FPC=d:/freepascal271/compiler/ppcrossx64.exe ZIPDESTDIR=d:/free<br/>
pascal271 FPCMAKE=d:/freepascal271/fpc/2.7.1/bin/i386-win32/fpcmake.exe<br/>
make[3]: Entering directory `d:/freepascal271'<br/>
make -C rtl install<br/>
make[4]: Entering directory `d:/freepascal271/rtl'<br/>
make -C linux all<br/>
make[5]: Entering directory `d:/freepascal271/rtl/linux'<br/>
make[5]: Leaving directory `d:/freepascal271/rtl/linux'<br/>
d:/freepascal271/fpc/2.7.1/bin/i386-win32/fpcmake.exe -p -Tx86_64-linux Makefile<br/>
.fpc<br/>
Processing Makefile.fpc<br/>
 Writing Package.fpc<br/>
d:/freepascal271/binutils/i386-win32/ginstall.exe -m 755 -d d:\freepascal271\fpc<br/>
\\2.7.1/units/x86_64-linux/rtl<br/>
d:/freepascal271/binutils/i386-win32/cp.exe -fp Package.fpc d:\freepascal271\fpc<br/>
\\2.7.1/units/x86_64-linux/rtl<br/>
make -C linux install<br/>
make[5]: Entering directory `d:/freepascal271/rtl/linux'<br/>
d:/freepascal271/binutils/i386-win32/ginstall.exe -m 755 -d d:\freepascal271\fpc<br/>
\\2.7.1/units/x86_64-linux/rtl<br/>
d:/freepascal271/binutils/i386-win32/cp.exe -fp d:/freepascal271/rtl/units/x86_6<br/>
4-linux/prt0.o d:/freepascal271/rtl/units/x86_64-linux/dllprt0.o d:/freepascal27<br/>
1/rtl/units/x86_64-linux/cprt0.o d:/freepascal271/rtl/units/x86_64-linux/gprt0.o<br/>
 d:\freepascal271\fpc\2.7.1/units/x86_64-linux/rtl<br/>
d:/freepascal271/binutils/i386-win32/ginstall.exe -m 755 -d d:\freepascal271\fpc<br/>
\\2.7.1/units/x86_64-linux/rtl<br/>
d:/freepascal271/binutils/i386-win32/cp.exe -fp d:/freepascal271/rtl/units/x86_6<br/>
4-linux/system.ppu d:/freepascal271/rtl/units/x86_64-linux/uuchar.ppu d:/freepas<br/>
cal271/rtl/units/x86_64-linux/unixtype.ppu d:/freepascal271/rtl/units/x86_64-lin<br/>
ux/ctypes.ppu d:/freepascal271/rtl/units/x86_64-linux/baseunix.ppu d:/freepascal<br/>
271/rtl/units/x86_64-linux/strings.ppu d:/freepascal271/rtl/units/x86_64-linux/o<br/>
bjpas.ppu d:/freepascal271/rtl/units/x86_64-linux/macpas.ppu d:/freepascal271/rt<br/>
l/units/x86_64-linux/iso7185.ppu d:/freepascal271/rtl/units/x86_64-linux/syscall<br/>
.ppu d:/freepascal271/rtl/units/x86_64-linux/unixutil.ppu d:/freepascal271/rtl/u<br/>
nits/x86_64-linux/fpintres.ppu d:/freepascal271/rtl/units/x86_64-linux/heaptrc.p<br/>
pu d:/freepascal271/rtl/units/x86_64-linux/lineinfo.ppu d:/freepascal271/rtl/uni<br/>
ts/x86_64-linux/lnfodwrf.ppu d:/freepascal271/rtl/units/x86_64-linux/termio.ppu<br/>
d:/freepascal271/rtl/units/x86_64-linux/unix.ppu d:/freepascal271/rtl/units/x86_<br/>
64-linux/linux.ppu d:/freepascal271/rtl/units/x86_64-linux/initc.ppu d:/freepasc<br/>
al271/rtl/units/x86_64-linux/cmem.ppu d:/freepascal271/rtl/units/x86_64-linux/x8<br/>
6.ppu d:/freepascal271/rtl/units/x86_64-linux/ports.ppu d:/freepascal271/rtl/uni<br/>
ts/x86_64-linux/cpu.ppu d:/freepascal271/rtl/units/x86_64-linux/crt.ppu d:/freep<br/>
ascal271/rtl/units/x86_64-linux/printer.ppu d:/freepascal271/rtl/units/x86_64-li<br/>
nux/linuxvcs.ppu d:/freepascal271/rtl/units/x86_64-linux/sysutils.ppu d:/freepas<br/>
cal271/rtl/units/x86_64-linux/typinfo.ppu d:/freepascal271/rtl/units/x86_64-linu<br/>
x/math.ppu d:/freepascal271/rtl/units/x86_64-linux/matrix.ppu d:/freepascal271/r<br/>
tl/units/x86_64-linux/varutils.ppu d:/freepascal271/rtl/units/x86_64-linux/chars<br/>
et.ppu d:/freepascal271/rtl/units/x86_64-linux/character.ppu d:/freepascal271/rt<br/>
l/units/x86_64-linux/ucomplex.ppu d:/freepascal271/rtl/units/x86_64-linux/getopt<br/>
s.ppu d:/freepascal271/rtl/units/x86_64-linux/errors.ppu d:/freepascal271/rtl/un<br/>
its/x86_64-linux/sockets.ppu d:/freepascal271/rtl/units/x86_64-linux/gpm.ppu d:/<br/>
freepascal271/rtl/units/x86_64-linux/ipc.ppu d:/freepascal271/rtl/units/x86_64-l<br/>
inux/serial.ppu d:/freepascal271/rtl/units/x86_64-linux/terminfo.ppu d:/freepasc<br/>
al271/rtl/units/x86_64-linux/dl.ppu d:/freepascal271/rtl/units/x86_64-linux/dynl<br/>
ibs.ppu d:/freepascal271/rtl/units/x86_64-linux/video.ppu d:/freepascal271/rtl/u<br/>
nits/x86_64-linux/mouse.ppu d:/freepascal271/rtl/units/x86_64-linux/keyboard.ppu<br/>
 d:/freepascal271/rtl/units/x86_64-linux/variants.ppu d:/freepascal271/rtl/units<br/>
/x86_64-linux/types.ppu d:/freepascal271/rtl/units/x86_64-linux/dateutils.ppu d:<br/>
/freepascal271/rtl/units/x86_64-linux/sysconst.ppu d:/freepascal271/rtl/units/x8<br/>
6_64-linux/fmtbcd.ppu d:/freepascal271/rtl/units/x86_64-linux/cthreads.ppu d:/fr<br/>
eepascal271/rtl/units/x86_64-linux/classes.ppu d:/freepascal271/rtl/units/x86_64<br/>
\-linux/fgl.ppu d:/freepascal271/rtl/units/x86_64-linux/convutils.ppu d:/freepasc<br/>
al271/rtl/units/x86_64-linux/stdconvs.ppu d:/freepascal271/rtl/units/x86_64-linu<br/>
x/strutils.ppu d:/freepascal271/rtl/units/x86_64-linux/rtlconsts.ppu d:/freepasc<br/>
al271/rtl/units/x86_64-linux/dos.ppu d:/freepascal271/rtl/units/x86_64-linux/obj<br/>
ects.ppu d:/freepascal271/rtl/units/x86_64-linux/cwstring.ppu d:/freepascal271/r<br/>
tl/units/x86_64-linux/fpcylix.ppu d:/freepascal271/rtl/units/x86_64-linux/clocal<br/>
e.ppu d:/freepascal271/rtl/units/x86_64-linux/exeinfo.ppu d:\freepascal271\fpc\2<br/>
.7.1/units/x86_64-linux/rtl<br/>
cp.exe: d:/freepascal271/rtl/units/x86_64-linux/cpu.ppu: No such file or directo<br/>
ry<br/>
make[5]: *** [fpc_install] Error 1<br/>
make[5]: Leaving directory `d:/freepascal271/rtl/linux'<br/>
make[4]: *** [linux_install] Error 2<br/>
make[4]: Leaving directory `d:/freepascal271/rtl'<br/>
make[3]: *** [rtl_install] Error 2<br/>
make[3]: Leaving directory `d:/freepascal271'<br/>
make[2]: *** [installbase] Error 2<br/>
make[2]: Leaving directory `d:/freepascal271'<br/>
make[1]: *** [installall] Error 2<br/>
make[1]: Leaving directory `d:/freepascal271'<br/>
make: *** [crossinstall] Error 2

## Steps to reproduce:

I tried to build compiler for target x86_64-linux from Windows using this script :

\-------------------------------------------------

cd d:\freepascal271

set myroot=d:\freepascal271<br/>
set myFPC=d:\freepascal271\fpc\2.7.1<br/>
set mybinutils=d:\freepascal271\binutils<br/>
set mycrossbin=D:\freepascal271\binutils\aw-bincross\aw-win32-x86_64-Linux

set PATH=d:\freepascal271\binutils\i386-win32;D:\freepascal271\binutils\aw-bincross\aw-win32-x86_64-Linux;d:\freepascal271\fpc\2.7.1\bin\i386-win32;

make clean all OS_TARGET=linux CPU_TARGET=x86_64 crossinstall CROSSBINDIR=%mycrossbin% BINUTILSPREFIX=x86_64-linux- INSTALL_PREFIX=%myFPC% DATA2INC=%myFPC%\utils\data2inc.exe

\----------------------------------------------------------

Notes :<br/>
1. I use FPC 2.6.0 as starting compiler and use fpcbuild from ( http://svn.freepascal.org/cgi-bin/viewvc.cgi/binaries/i386-win32/?root=fpcbuild )

2. I use Windows 7 Ultimate x64 SP1

3. AMD A8 APU Processor with AHCI-System enabled.


Regards,<br/>
Takeda

## Mantis conversion info:

- **Mantis ID:** 23910
- **OS:** Windows 7 Ultimate x64 SP1
- **OS Build:** 6.1
- **Build:** 23625
- **Platform:** x86_64
- **Version:** 2.7.1
- **Fixed in version:** 3.0.0
- **Fixed in revision:** 23629 (#776f4cc18fc1d25aa427498daa470dd92531520c)

Story points: 200.0