Hello,

I have to questions with your patch:
- Why then my FC30 aarch64 PRi port does not fail, I'm running tcc for several 
months on it. Maybe I'm luck?
- pagesize can be configured by sys admin (including huge pages up to 1GB) , so 
IMHO, the right patch is to use the POSIX portable value of  
sysconf(_SC_PAGESIZE) you can compute once and put in a variable when tcc 
initializes.

C.



-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On 
Behalf Of Siddhesh Poyarekar
Sent: Tuesday, September 03, 2019 09:59
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] arm64: Fix crash due to incorrect page alignment on 
centos

Hi,

I posted a patch to mob for review:

https://repo.or.cz/tinycc.git/commitdiff/7d4a71fc8b9776dc9c156a158546040833090a7a

which increases the page size on arm64 to increase alignment of section
headers in the generated ELF binaries.  This fixes crashes of binaries
built by tinycc on centos.

Thanks,
Siddhesh

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to