delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/16/14:54:55

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <55579278.8090301@iki.fi>
Date: Sat, 16 May 2015 21:54:48 +0300
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi)" <djgpp AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com> <CAA2C=vAjN-HamFRWCQak=QF_NPjR5-TBYZw1U5707MO0b=qXkw AT mail DOT gmail DOT com> <554DF584 DOT 4020309 AT iki DOT fi> <CAA2C=vDaOJb_RW2bQEFoM_cqwp7yhzwX-CB328r5GCCi6XcooA AT mail DOT gmail DOT com> <55501DAD DOT 1080604 AT iki DOT fi> <CAA2C=vAvMW-yquZLSN=Z39NU24Kqf7urjan90801i7BDTdqOvQ AT mail DOT gmail DOT com>
In-Reply-To: <CAA2C=vAvMW-yquZLSN=Z39NU24Kqf7urjan90801i7BDTdqOvQ@mail.gmail.com>
Reply-To: djgpp AT delorie DOT com

On 05/11/2015 11:12 AM, Ozkan Sezer (sezeroz AT gmail DOT com) wrote:
> [adding list back to CC]
>
> On 5/11/15, Andris Pavenis <andris DOT pavenis AT iki DOT fi> wrote:
> [...]
>> You also mentioned stdbool.h and float.h issues (no patches yet). I do not
>> think we should touch
>> them now before actual 2.05 release. Also including GCC own header and ones
>> modified by
>> fixincludes in GCC build process before system ones is way how it is done
>> (not only for DJGPP but also
>> for other targets).
> For float.h issue:  Well, -nostdinc means -nostdinc so I think that we
> should be consistent with it.  For gcc >= 4.8 maybe define our _rdtsc()
> as __builtin_ia32_rdtsc()??  What was the exact problem with _rdtsc()
> with gcc >= 4.8?
If we define own _rdtsc() we get duplicate definition of it when GCC own header x86intrin.h is also
included (for new GCC version). That was the reason why I used GCC defined function instead
of DJGPP one.

There is additional problem that GCC header files *intrin.h are not OK when -Wcast-qual is being used.
The problem is triggered when building DJGPP tests but not when building libc itself.

Andris

- Raw text -


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