From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21621 invoked by alias); 29 Oct 2002 22:51:49 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21606 invoked from network); 29 Oct 2002 22:51:47 -0000 Received: from unknown (HELO darius.concentric.net) (207.155.198.79) by sources.redhat.com with SMTP; 29 Oct 2002 22:51:47 -0000 Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g9TMpku21207 for ; Tue, 29 Oct 2002 17:51:46 -0500 (EST) Received: from bqd1q0a6ahx0hq (w189.z064003252.nyc-ny.dsl.cnc.net [64.3.252.189]) by newman.concentric.net (8.9.1a) id RAA28925; Tue, 29 Oct 2002 17:51:46 -0500 (EST) Message-ID: <006201c27f9d$c23a9f50$fd01a8c0@rhizome.org> From: "Francis Hwang" To: Subject: Problem compiling GCC 3.2 on i686-pc-linux: "not enough room for program headers" Date: Tue, 29 Oct 2002 14:51:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-SW-Source: 2002-10/txt/msg00359.txt.bz2 I'm trying to compile GCC 3.2, and configure seems to work, but then when I make, I get this error: checking whether the C compiler (...) works... no configure: error: installation or configuration problem: C compiler cannot create executables. So I started looking around in the config.log files, and the first errors I found were these, in i686-pc-linux-gnu/libstdc++-v3/config.log: /usr/bin/ld: conftest: Not enough room for program headers (allocated 6, need 7) /usr/bin/ld: final link failed: Bad value I'm getting a lot of these "not enough room for program headers" errors. In the list archives, I've seen a couple of people saying that running ld -N works well, but I'm not sure how to set that up when I'm compiling GCC. Is there some flag that I should use that'll do that for me? Thanks in advance, Francis