Recent

Author Topic: Internal Error 200108231 : Cross Compile From Windows to aarch64-Linux failed  (Read 338 times)

Takeda

  • Full Member
  • ***
  • Posts: 157
Hello everybody...
Just curious why I faces about Cross Compile From Windows to aarch64-Linux failed.  :'(
Anyone else faces the same issue?

Here my step :

Download for aarch64-linux :
1. Toolchain : https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/wincrossbins_v1.0
2. Library : https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/crosslibs_v1.1
3. FPC 3.2.0 r42593

4. Build the Cross Compiler for aarch64-linux
5. Open the project
6. Set Project Option Config Target OS : Linux, Target CPU : aarch64
7. Add Cross Library (aarch64-linux) Folder
8. Build The Project


Build the compiler using both toolchain and library above were successful but when select aarch64-linux in Lazarus Fixes 2.0 Branch (Lazarus v2.0.5) always failed.

Thanks in advances,
Takeda

Call me Takeda coz that's my true name.
Pascal coding using Lazarus => "Be native in any where.."

ƪ(˘⌣˘)┐ ƪ(˘⌣˘)ʃ ┌(˘⌣˘)ʃ

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
I am unable to reproduce with latest (few minutes ago) FPC + Laz fixes.
Please note:
I do use fpcupdeluxe for install and update.
Followed by a clean and build of an empty project.

Takeda

  • Full Member
  • ***
  • Posts: 157
I am unable to reproduce with latest (few minutes ago) FPC + Laz fixes.
Please note:
I do use fpcupdeluxe for install and update.
Followed by a clean and build of an empty project.

Hi Don...
well take a look into https://bugs.freepascal.org/view.php?id=35980
I was attached simple project..
Call me Takeda coz that's my true name.
Pascal coding using Lazarus => "Be native in any where.."

ƪ(˘⌣˘)┐ ƪ(˘⌣˘)ʃ ┌(˘⌣˘)ʃ

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1170
Looks like the error occurs in "GraphMath".
Which compiles fine on my system for linux-aarch64.
So, I am in the dark unfortunately.

Takeda

  • Full Member
  • ***
  • Posts: 157
Looks like the error occurs in "GraphMath".
Which compiles fine on my system for linux-aarch64.
So, I am in the dark unfortunately.

Are you cross compile from Windows to aarch64-linux?
note : I use 32bit Lazarus..  and set gtk2 as widgetset for aarch64-linux
« Last Edit: August 19, 2019, 10:01:52 am by Takeda »
Call me Takeda coz that's my true name.
Pascal coding using Lazarus => "Be native in any where.."

ƪ(˘⌣˘)┐ ƪ(˘⌣˘)ʃ ┌(˘⌣˘)ʃ