On 8/7/19 4:35 PM, Ian Lance Taylor wrote:
> On Wed, Aug 7, 2019 at 5:09 AM Martin Liška wrote:
>>
>> There's one enhanced version where I added HAVE_FCNTL_H.
>>
>> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>>
>> Ready to be installed?
>
> I think a better name than f
On Wed, Aug 7, 2019 at 5:09 AM Martin Liška wrote:
>
> There's one enhanced version where I added HAVE_FCNTL_H.
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?
I think a better name than fd_exists would be is_valid_fd. If that's
OK with you,
On 7.8.2019 15:09, Martin Liška wrote:
Hi.
There's one enhanced version where I added HAVE_FCNTL_H.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
Hi,
tested this one against the latest trunk and it seems to be working --
as in
13:04:40 +0200
Subject: [PATCH] Fix file descriptor existence of MinGW.
gcc/ChangeLog:
2019-08-07 Martin Liska
PR bootstrap/91352
* gcc.c (driver::detect_jobserver): Use fd_exists.
* lto-wrapper.c (jobserver_active_p): Likewise.
include/ChangeLog:
2019-08-07 Martin Liska
PR bootstr
for when F_GETFD isn't defined
> e.g. through dup2 (fd, fd) < 0.
Thank you for the review. I updated the patch accordingly.
Martin
>
> And for the libiberty changes you want Ian to review them.
>
> Jakub
>
>From 7d3593a4189bd970ae752abab36c8a5bc4681847 M
On Wed, Aug 07, 2019 at 10:45:08AM +0200, Martin Liška wrote:
> @@ -155,3 +156,16 @@ lrealpath (const char *filename)
>/* This system is a lost cause, just duplicate the filename. */
>return strdup (filename);
> }
> +
> +/* Return true when FD file descriptor exists. */
> +
> +int
> +fd_
;>> 2019-08-06 Martin Liska
>>>>
>>>> PR bootstrap/91352
>>>> * gcc.c (fd_exists): New.
>>>> (driver::detect_jobserver): Use fd_exists.
>>>> * lto-wrapper.c (fd_exists): New.
>>>> (jobserver_active_p): Use fd_exists.
>>>
On 8/6/19 9:55 AM, Martin Liška wrote:
On 8/6/19 5:35 PM, Martin Sebor wrote:
On 8/6/19 6:04 AM, Martin Liška wrote:
Hi.
The patch is about proper checking of file descriptors on Windows.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Is there a way to share the defi
On 8/6/19 5:35 PM, Martin Sebor wrote:
> On 8/6/19 6:04 AM, Martin Liška wrote:
>> Hi.
>>
>> The patch is about proper checking of file descriptors on Windows.
>>
>> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Is there a way to share the definition of the new functio
On 8/6/19 6:04 AM, Martin Liška wrote:
Hi.
The patch is about proper checking of file descriptors on Windows.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Is there a way to share the definition of the new function so
it doesn't have to be duplicated?
Other than that
Hi.
The patch is about proper checking of file descriptors on Windows.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
@Pekka: Can you please test it on Windows?
Ready to be installed?
Thanks,
Martin
gcc/ChangeLog:
2019-08-06 Martin Liska
PR bootstrap/91352
11 matches
Mail list logo