#1 2017-05-17 16:41:49

RObyDP
Member
Registered: 2015-02-19
Posts: 56

BROKEN aarch64 fpcupdeluxe

starting with an exception:
TApplication.HandleException Error reading Form1.Height: Access violation
  Stack trace:
  $00000000004EF434
  $00000000004E2D68
  $00000000005F4BC4
  $00000000004F0154
  $00000000006FA3EC
  $00000000006FA1CC
  $00000000006F1998
  $00000000004B20DC
  $00000000004B1F70
  $00000000004B5154
  $00000000004BF484
  $0000000000479E38
  $0000007FAC8558A0
  $0000000000479CB8

previously versions worked perfectly, please can correct?
Thank you
R.

Offline

#2 2017-05-17 19:16:40

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 9,591
Website

Re: BROKEN aarch64 fpcupdeluxe

I've notified Alfred, which has the hardware - and knowledge ! - to look into it...

Stay tuned!

Offline

#3 2017-05-18 05:32:09

AOG
Member
Registered: 2014-02-24
Posts: 349

Re: BROKEN aarch64 fpcupdeluxe

Confirmed this behavior !
Will try to solve asap.

Offline

#4 2017-05-18 05:59:18

AOG
Member
Registered: 2014-02-24
Posts: 349

Re: BROKEN aarch64 fpcupdeluxe

Working version now available online ! Sorry about this and thanks for the report.

Offline

#5 2017-05-18 07:47:21

RObyDP
Member
Registered: 2015-02-19
Posts: 56

Re: BROKEN aarch64 fpcupdeluxe

hello,
I'm using fpc 3.1.1 aarch64 on a C2 board. The toolchain compiler+RTL is fantastic, thanks for your efforts.
But... now, still I get errors trying to setup:

ERROR: Fpcupdeluxe failed.

fpcupdeluxe: info: 18-5-17 07:42:01: fpcup019 (20170310) started.

Please stand back and enjoy !
Lazarus directory:  /home/odroid/Dev/lazarus
Lazarus options:   
Lazarus URL:        https://github.com/newpascal/lazarus/branches/release
FPC install directory: /home/odroid/Dev/fpc
FPC source directory:  /home/odroid/Dev/fpcsrc
FPC options:           
FPC URL:               https://github.com/newpascal/freepascal … es/release
Bootstrap dir:      /home/odroid/Dev/fpcbootstrap

FPCUP(deluxe) is starting up.
Going to install NewPascal release.
Executing : as "--version" (working dir: )
GNU assembler (GNU Binutils for Ubuntu) 2.26.1
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `aarch64-linux-gnu'.
Executing : unzip "-v" (working dir: )
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 3, param: fpc

I did a test with a previous fpcupdeluxe too, same errors: do I'  m missing some lib?
THX

Offline

#6 2017-05-18 08:06:22

RObyDP
Member
Registered: 2015-02-19
Posts: 56

Re: BROKEN aarch64 fpcupdeluxe

sorry, WORKS OK, was a problem of permissions
thanks again
regards

Offline

#7 2017-05-18 09:10:01

AOG
Member
Registered: 2014-02-24
Posts: 349

Re: BROKEN aarch64 fpcupdeluxe

Thanks for the feedback.

Latest Lazarus has some issues.
Hard to find I must say.
I switched over to NewPascal again, for cross-compiling Windows towards aarch64.

edit1:
Found bugger !
https://bugs.freepascal.org/view.php?id=31869
https://svn.freepascal.org/cgi-bin/view … sion=54578

edit2:
And already resolved by Lazarus team ! Thanks.
https://svn.freepascal.org/cgi-bin/view … sion=54969

Last edited by AOG (2017-05-18 12:14:38)

Offline

#8 2017-05-18 12:58:06

RObyDP
Member
Registered: 2015-02-19
Posts: 56

Re: BROKEN aarch64 fpcupdeluxe

now I get errors near the end of the compile:

(3104) Compiling restrictionbrowser.pas
(3104) Compiling projectwizarddlg.pas
(3104) Compiling sourcefilemanager.pas
(3104) Compiling diskdiffsdialog.pas
lazarus.pp(161) Error: (9008) Can't call the assembler, error -1 switching to external assembling
lazarus.pp(161) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
make: *** [idepkg] Error 2
Error: /home/odroid/Develop/fpc/bin/aarch64-linux/ppca64 returned an error exitcode
Makefile:3961: recipe for target 'lazarus' failed
Makefile:4383: recipe for target 'idepkg' failed
Makefile:3160: recipe for target 'idepkg' failed
Error: (lazarus) Build IDE: stopped with exit code 512

fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence lazarus; line: 7, param: UniversalDefault

fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 4, param: lazarus

lazarus.pp(161) Error: (9008) Can't call the assembler, error -1 switching to external assembling
lazarus.pp(161) Fatal: (10026) There were 2 errors compiling module, stopping
lazarus.pp(161) Error: (9008) Can't call the assembler, error -1 switching to external assembling
Fatal: (1018) Compilation aborted
lazarus.pp(161) Fatal: (10026) There were 2 errors compiling module, stopping
Error: /home/odroid/Develop/fpc/bin/aarch64-linux/ppca64 returned an error exitcode
Error: (lazarus) Build IDE: stopped with exit code 512
ERROR: Fpcupdeluxe fatal error !

I retry again then I let you know.

Offline

#9 2017-05-18 13:05:21

AOG
Member
Registered: 2014-02-24
Posts: 349

Re: BROKEN aarch64 fpcupdeluxe

This is a known error ! Has been reported on the Lazarus forums (many times) before. Happens on all mini-ARM SBC.

Its a lack of memory. Just add swap (at least 1GB). And run again.

Offline

#10 2017-05-18 13:12:24

RObyDP
Member
Registered: 2015-02-19
Posts: 56

Re: BROKEN aarch64 fpcupdeluxe

trying adding binutils-dev

Offline

Board footer

Powered by FluxBB