This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: FYI: Fix for gcc PR36312 breaks glibc builds over usage of /dev/null as input and output file.
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 19 Nov 2014 19:35:46 +0100
- Subject: Re: FYI: Fix for gcc PR36312 breaks glibc builds over usage of /dev/null as input and output file.
- Authentication-results: sourceware.org; auth=none
- References: <546CACE4 dot 50207 at redhat dot com>
On 2014.11.19 at 09:44 -0500, Carlos O'Donell wrote:
> The fix for gcc PR36312 breaks glibc builds.
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36312
>
> The fix disallows this common configure idiom:
>
> configure:72: checking for AVX support
> configure:78: /home/triegel/local/gcc/bin/gcc -mavx -xc /dev/null -S -o /dev/null
> gcc: fatal error: input file '/dev/null' is the same as output file
> compilation terminated.
> configure:81: $? = 1
> configure:89: result: no
>
> PR is reopened with a request to fix.
>
> Alternatively we could discuss changing glibc, but I think
> this will impact more than just glibc.
No need to change anything. The bug is already fixed:
https://gcc.gnu.org/viewcvs?rev=217789&root=gcc&view=rev
--
Markus