Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
[SOLVED] TAChart fails to build for aarch64
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Using Lazarus for other L...
by
marcov
[
Today
at 09:03:41 pm]
bug of SourceEditorManage...
by
Martin_fr
[
Today
at 09:02:21 pm]
SIGSEGV after calling a D...
by
440bx
[
Today
at 08:42:29 pm]
accounting software fpc/L...
by
marcov
[
Today
at 08:41:20 pm]
[Index] My Collections of...
by
lucamar
[
Today
at 08:40:22 pm]
A strange error when tryi...
by
lucamar
[
Today
at 08:33:27 pm]
[LAMW] Using App Bundles ...
by
pasquale
[
Today
at 08:25:40 pm]
working with GPS coordina...
by
mika
[
Today
at 08:12:14 pm]
Online Package Manager
by
wp
[
Today
at 08:03:31 pm]
FFT scaling (old chestnut...
by
Fred vS
[
Today
at 08:01:37 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] TAChart fails to build for aarch64 (Read 454 times)
trev
Global Moderator
Hero Member
Posts: 1222
Former Delphi 1-7, 10.2 User
[SOLVED] TAChart fails to build for aarch64
«
on:
November 28, 2020, 12:21:33 am »
There's an issue building TAChart as part of Lazarus trunk's bigide option on macOS aarch64 (Apple Silicon ARM):
Code: Text
[Select]
[+]
[-]
/Users/trev/laz_trunk/components/tachart/tatextelements.pas(688,3) Warning: (6060) Case statement does not handle all possible cases
(9009) Assembling tatextelements
lib/aarch64-darwin/cocoa/tatextelements.s:543:9: error: invalid operand for instruction
add x0,w0,w0,lsr #63
^
lib/aarch64-darwin/cocoa/tatextelements.s:544:9: error: invalid operand for instruction
asr w0,x0,#1
^
lib/aarch64-darwin/cocoa/tatextelements.s:546:9: error: invalid operand for instruction
add x1,w1,w1,lsr #63
^
lib/aarch64-darwin/cocoa/tatextelements.s:547:9: error: invalid operand for instruction
asr w1,x1,#1
lib/aarch64-darwin/cocoa/tatextelements.s:3832:9: error: invalid operand for instruction
add x0,w0,w0,lsr #63
^
lib/aarch64-darwin/cocoa/tatextelements.s:3833:9: error: invalid operand for instruction
asr w1,x0,#1
^
lib/aarch64-darwin/cocoa/tatextelements.s:3835:9: error: invalid operand for instruction
add x0,w0,w0,lsr #63
^
lib/aarch64-darwin/cocoa/tatextelements.s:3836:9: error: invalid operand for instruction
asr w0,x0,#1
^
lib/aarch64-darwin/cocoa/tatextelements.s:3934:9: error: invalid operand for instruction
add x0,w0,w0,lsr #63
^
lib/aarch64-darwin/cocoa/tatextelements.s:3935:9: error: invalid operand for instruction
asr w1,x0,#1
^
lib/aarch64-darwin/cocoa/tatextelements.s:3937:9: error: invalid operand for instruction
add x0,w0,w0,lsr #63
^
lib/aarch64-darwin/cocoa/tatextelements.s:3938:9: error: invalid operand for instruction
asr w0,x0,#1
^
tatextelements.pas(944) Error: (9007) Error while assembling exitcode 1
tatextelements.pas(944) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [tachartlazaruspkg.ppu] Error 1
make[1]: *** [bigide] Error 2
make: *** [bigidecomponents] Error 2
«
Last Edit: December 19, 2020, 07:23:48 am by trev
»
Logged
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM
wp
Hero Member
Posts: 7976
Re: TAChart fails to build for aarch64
«
Reply #1 on:
November 28, 2020, 02:05:44 pm »
Sorry, I don't have access to such a system and cannot test the issue.
Logged
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...
trev
Global Moderator
Hero Member
Posts: 1222
Former Delphi 1-7, 10.2 User
Re: TAChart fails to build for aarch64
«
Reply #2 on:
November 28, 2020, 10:07:49 pm »
I can provide remote command line access via ssh (to a FreeBSD Mac mini, then to the Apple Silicon Mac mini) if that helps.
Logged
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM
trev
Global Moderator
Hero Member
Posts: 1222
Former Delphi 1-7, 10.2 User
Re: TAChart fails to build for aarch64
«
Reply #3 on:
December 19, 2020, 07:22:39 am »
Fixed in FPC trunk r47812 - see the
Bug Tracker
.
Logged
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM
wp
Hero Member
Posts: 7976
Re: [SOLVED] TAChart fails to build for aarch64
«
Reply #4 on:
December 19, 2020, 10:15:19 am »
Good news
Logged
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
[SOLVED] TAChart fails to build for aarch64
TinyPortal
© 2005-2018