Recent

Author Topic: FPC/arm compiler error  (Read 2550 times)

vincococka

  • Full Member
  • ***
  • Posts: 101
FPC/arm compiler error
« on: January 01, 2016, 09:50:30 pm »
Dear community,

it seems that commit 32803 produces invalid binaries for ARM CPUs.
I`ve tried to compile applications for Windows CE and then also for Raspberry Pi 2, but after this commit no application is able to run and always ends with segmentation fault.

Here is bug report: http://bugs.freepascal.org/view.php?id=29305

GDB backtrace showed this on Raspberry Pi 2:
Code: [Select]
0x00013300 in fpc_initializeunits ()
(gdb) bt
#0  0x00013300 in fpc_initializeunits ()
#1  0x00013308 in fpc_initializeunits ()
#2  0x00013308 in fpc_initializeunits ()
#3  0x00013308 in fpc_initializeunits ()
« Last Edit: January 02, 2016, 04:13:53 pm by vincococka »
---
  Guide me God and I`ll find you

vincococka

  • Full Member
  • ***
  • Posts: 101
Re: FPC/arm compiler error
« Reply #1 on: January 02, 2016, 04:17:00 pm »
Can anybody give some hints/directions where to look at when debugging this kind of problem?
Any pointers where to look on?
---
  Guide me God and I`ll find you

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FPC/arm compiler error
« Reply #2 on: January 02, 2016, 06:52:35 pm »
Can anybody give some hints/directions where to look at when debugging this kind of problem?
Any pointers where to look on?
Start with reading "svn diff" documentation

vincococka

  • Full Member
  • ***
  • Posts: 101
Re: FPC/arm compiler error
« Reply #3 on: January 02, 2016, 07:05:16 pm »
Thanks for help, but I already did that (see bug report from 1st post).
Now the question is why fpc_initializeunits fails while calling fpc_cpuinit on ARM
---
  Guide me God and I`ll find you

 

TinyPortal © 2005-2018