This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC, patch] Detect lack of 32-bit devel environment on x86_64-linux targets
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Richard Henderson <rth at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>
- Date: Mon, 9 Dec 2013 12:08:43 +0100 (CET)
- Subject: Re: [RFC, patch] Detect lack of 32-bit devel environment on x86_64-linux targets
- Authentication-results: sourceware.org; auth=none
- References: <D0868B7A-7DC1-46B1-B451-1B1A4847F072 at gmail dot com> <08855916-EED2-4485-AE68-4BD91FE4393A at gmail dot com> <alpine dot LNX dot 2 dot 00 dot 1312091143490 dot 2197 at tuna dot site> <52A59FEB dot 4040706 at gnu dot org> <D41B6B80-71D4-4F59-BB65-8D05B5F6979A at gmail dot com>
On Mon, 9 Dec 2013, FX wrote:
> Look at this as a diagnostics bug: our current diagnostics for this
> pretty common situation sucks. It comes late in the compilation, and
> the message itself isn’t helpful.
Totally seconded.
Paolo, I have been running into this myself and was confused at
first. If that happens to me, building GCC for some 20 years,
imagine a new user.
This is really something to be identified at configure time,
with a reasonable error message.
If FX's specific patch is not ideal yet, can you help rework it?
That would be great.
Gerald