delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2021/11/09/11:44:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <2239fa27-8162-ac1c-d7ac-12bf7443493e@iki.fi>
Date: Tue, 9 Nov 2021 18:43:53 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.1.1
Subject: Re: [Suspected Spam] Re: DJGPP build of gcc-10.3.0 and make 4.3
incompatibility
To: djgpp AT delorie DOT com
References: <e69c2d84-e2cf-445c-b666-803170f473den AT googlegroups DOT com>
<4016e9cd-0be1-4758-8f29-db7770508ed6n AT googlegroups DOT com>
<df91c1b1-43f4-0074-dfd6-b271feb06b39 AT iki DOT fi>
<9788a12e-c532-b273-a13d-ae12d2eed8a7 AT gmail DOT com>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
In-Reply-To: <9788a12e-c532-b273-a13d-ae12d2eed8a7@gmail.com>
X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id 1A9Ghxxd017581
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 11/8/21 11:53, J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com] wrote:
> On 2021-11-03 15:43, Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com] wrote:
>> Actually gcc-10.3.0 was built for DJGPP, just not uploaded (both RPMs and DJGPP packages). 
>> Uploading could be easy.
>
> I've been waiting for djcross-gcc-10.3.0.tar.bz2, please do upload :)


File was already inside SRPM file so it was available. Just download size was big, Extracted and 
uploaded

>
>> gcc-11 is a different story:
>>
>> - Ada library does not compile - alignment issues which are likely to cause problems also for 
>> other languages like (c or C++) when SSE or AVX is being used (and maybe even with earlier GCC 
>> versions)
>
> What sort of alignment issues?  I already ran into alignment trouble with SSE
> (at run-time, not compile-time).  To work around it, in the linker script I put
> SUBALIGN(0x10) on the .text and .bss sections.  For .data this is not possible
> because it leaves gaps in the ctors/dtors list, so I ended up linking
> *(.data .data.* .gnu.linkonce.d*) in .text.  A bit of a hack but .text is
> writable.  I suppose the input section alignment could be changed in binutils
> somewhere though.
>
> Also in libc I had to put attribute __attribute__((force_align_arg_pointer)) on
> __crt1_startup() to align the stack for ctors & main(). Alternatively this
> alignment could be performed manually in crt0.S.

I was thinking about possible runtime alignment problems.I have not tested it myself. Ada library 
has some alignment checks and as far as I understand refuses to compile as max. available alignment 
is not sufficient (error message is not clear).

Andris





- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019