arm-linux armhf crashes when initializing threads
Original Reporter info from Mantis: tom_at_work
-
Reporter name: Thomas Schatzl
Original Reporter info from Mantis: tom_at_work
- Reporter name: Thomas Schatzl
Description:
Any arm-linux armhf program that uses threads crashes immediately at thread initialization time (it seems). I.e. immediately an access violation, or process kill by the kernel due to using too much memory, occurs when using threads.
Steps to reproduce:
Compile arm-linux with ARMHF support, e.g. run
make zipinstall FPC=path_to_fpc OPT="-dFPC_ARMHF -Cvfpv3 -Cparmv7" FPMAKEOPT="-T 4"
and fpmake crashes almost immediately when compiling the packages because it uses multiple threads.
Alternatively, if you have an armhf starting compiler (e.g. running above command line without the FPMAKEOPT) and using OPT=-CaEABIHF shows the same problems.
Testsuite programs which use threads (eg. theapthread) have the same issue.
Mantis conversion info:
- Mantis ID: 22607
- OS: linux
- OS Build: 3.6.0-rc1
- Platform: arm-linux (armhf)
- Version: 2.7.1
- Fixed in revision: 22062 (#9a82fb9e)
- Monitored by: » masta (Nico Erfurth)
- Target version: 2.7.1