www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/01/15/14:40:11

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <50F5B085.7000204@iki.fi>
Date: Tue, 15 Jan 2013 21:39:49 +0200
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
CC: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Subject: Re: gcc-4.8.0 20130111
References: <50F305C1 DOT 5080608 AT iki DOT fi> <50F5A473 DOT 9050805 AT gmx DOT de>
In-Reply-To: <50F5A473.9050805@gmx.de>
Reply-To: djgpp-workers AT delorie DOT com

On 01/15/2013 08:48 PM, Juan Manuel Guerrero wrote:
> Am 13.01.2013 20:06, schrieb Andris Pavenis:
>> Build of gcc-4.8.0-20130111 snapshot is now available for testing:
>>
>> http://ap1.pp.fi/djgpp/gcc/test/4.8.0-20130111/
>>
> After installing gcc480 and the other compilers, I tried to build libc and
> it aborted with the following error:
>
> building new response file
> C:/DJGPP-2.04/BIN/make.exe -C ansi/time
> gcc ... -c ctime.c
> In file included from ctime.c:44:0:
> e:/djgpp/include/time.h:117:23: fatal error: x86intrin.h: No such file or directory (ENOENT)
>   #include <x86intrin.h>
>                         ^
> compilation terminated.
> make.exe[3]: *** [ctime.o] Error 1
> make.exe[2]: *** [all_subs] Error 2
> make.exe[1]: *** [all] Error 2
> make.exe: *** [subs] Error 2

x86intrin.h is gcc own header file (I had to patch time.h to avoid
build problems fir libstdc++-v3: both time.h and ia32intrin.h included from
x86intrin.h define _rdtsc and later as a macro and one can imagine
results)

The problem is that when building DJGPP libc GCC own headers are
currently not included at all.

- we could only put DJGPP own include directory first in search path and not to
   disable other ones
- we could append GCC header directory to the include directories and disable others

Unfortunately did not think about that earlier.

Andris

- Raw text -


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