From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2050 invoked by alias); 31 Aug 2012 23:32:19 -0000 Received: (qmail 2040 invoked by uid 22791); 31 Aug 2012 23:32:18 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 31 Aug 2012 23:32:05 +0000 From: "gerald at pfeifer dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/54444] New: 32-bit glibc development headers required on GNU/Linux x86_64, but not checked during configure Date: Fri, 31 Aug 2012 23:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerald at pfeifer dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg02105.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54444 Bug #: 54444 Summary: 32-bit glibc development headers required on GNU/Linux x86_64, but not checked during configure Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: gerald@pfeifer.com In the last week I twice ran into a variation of the following on two different systems (operating systems): In file included from /usr/include/features.h:382:0, from /usr/include/stdio.h:28, from /home/gp/svn/gcc-HEAD/libgcc/../gcc/tsystem.h:88, from /home/gp/svn/gcc-HEAD/libgcc/libgcc2.c:29: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory # include ^ compilation terminated. gmake[5]: *** [_muldi3.o] Error 1 gmake[5]: Leaving directory `/tmp/OBJ-0901-0046/x86_64-unknown-linux-gnu/32/libgcc' The fix is simple -- install 32-bit glibc development headers. On openSUSE this is in the glibc-devel-32bit package, and there are similar packages on other distributions. Instead of failing during the build, can we test this at configure time?