64 bit ability incomplete
Original Reporter info from Mantis: hapr41
-
Reporter name: hapr41
Original Reporter info from Mantis: hapr41
- Reporter name: hapr41
Description:
hw: x86_64 4GiBy ram + 3GiBy swap
os: suse linux sles-15.1 kern 4.12.14 x86_64
fpc: 3.0.4 AND 3.2.0 x86_64
the fpc-versions mentioned above can not handle a program if....
(a) total size of static vars (main prog.) >= 2 GiBy
or
(b) there is one (or more) dynamic var (heap) >= 2 GiBy
example
for(a):
st1.pas 1 static var 2000|2100 MiBy = 1.95|2.05 GiBy
st3.pas 3 static vars 2000|2100 MiBy = 1.95|2.05 GiBy total
for(b):
dn.pas 1 dynamic var 2000|2100 MiBy = 1.95|2.05 GiBy
if the size is 1.95 GiBy, the program compiles,links,runs well.
if the size is 2.05 GiBy, compiling or linking shows errors:
look at file st.txt for(a), dn.txt for(b).
(a 'c' program with 5 GiBy static or dynamic var runs well, in the same system.)
what is wrong?
Mantis conversion info:
- Mantis ID: 38054
- OS: suse linux sles
- OS Build: 15.1
- Build: 3.2.0 [2020/06/14] x86_64 ?
- Platform: x86_64
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 47355 (#091b0fde)