This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Service.html (fwd)
- From: Dave <dave at dave dot tj>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 09 Jul 2002 15:17:21 -0400 (EDT)
- Subject: Re: http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Service.html (fwd)
Dave wrote:
>From dave Tue Jul 9 11:18:28 2002
Subject: Re: http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Service.html
To: epotter@eep.burdell.org (Elliott Potter)
Date: Tue, 9 Jul 2002 11:18:28 -0400 (EDT)
In-Reply-To: <Pine.LNX.4.44.0207090129280.4100-100000@slartibartfast.mex> from "Elliott Potter" at Jul 09, 2002 01:30:53 AM
From: Dave <dave@dave.tj>
X-Mailer: ELM [version 2.5 PL3]
Content-Length: 8697
Thanks for the link :-)
- Dave
FWIW - My problem manifests itself as this in my
/root/download/gcc-3.1/i686-pc-linux-gnu/libiberty/config.log (check
end for actual error message - the configure script complains that my
new gcc doesn't work):
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:590: checking whether to enable maintainer-specific portions of Makefiles
configure:615: checking for makeinfo
configure:661: checking for perl
configure:701: checking host system type
configure:724: checking build system type
configure:750: checking for ar
configure:782: checking for ranlib
configure:851: checking for gcc
configure:930: checking whether we are using GNU C
configure:955: checking whether /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include accepts -g
configure:986: checking for POSIXized ISC
configure:1007: checking for working const
configure:1061: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -g -O2 conftest.c 1>&5
configure:1082: checking for inline
configure:1096: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -g -O2 conftest.c 1>&5
configure:1139: checking for a BSD compatible install
configure:1200: checking how to run the C preprocessor
configure:1283: checking for sys/file.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for sys/param.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for limits.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for stdlib.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for string.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for unistd.h
configure:1283: checking for strings.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for sys/time.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for time.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for sys/resource.h
configure:1283: checking for sys/stat.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for sys/mman.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for fcntl.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1283: checking for alloca.h
configure:1293: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1320: checking for sys/wait.h that is POSIX.1 compatible
configure:1341: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -g -O2 conftest.c 1>&5
configure:1362: checking whether time.h and sys/time.h may both be included
configure:1376: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -g -O2 conftest.c 1>&5
configure:1398: checking whether errno must be declared
configure:1410: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -g -O2 conftest.c 1>&5
configure:1432: checking for ANSI C header files
configure:1445: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -E conftest.c >/dev/null 2>conftest.out
configure:1512: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -o conftest -g -O2 conftest.c 1>&5
/usr/bin/ld: conftest: Not enough room for program headers (allocated 6, need 7)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
configure: failed program was:
#line 1501 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
configure:1536: checking for uintptr_t
configure:2196: checking whether the C compiler (/root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -g -O2 ) works
configure:2212: /root/download/gcc-3.1/gcc/xgcc -B/root/download/gcc-3.1/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -o conftest -g -O2 conftest.c 1>&5
/usr/bin/ld: conftest: Not enough room for program headers (allocated 6, need 7)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
configure: failed program was:
#line 2207 "configure"
#include "confdefs.h"
main(){return(0);}
If you've got the same problem, lemme know, and I'll email you (and/or
post here, or something - what should I do?) when I figure out a solution.
Elliott Potter wrote:
>
> On Tue, 9 Jul 2002 dave@dave.tj wrote:
>
> > Is there any way I can get the archives of this list? I'm having trouble
> > making gcc-3.1 (libiberty, to be more precise), but I hate to ask busy
> > devs for help when I haven't yet RTFMed the heck out of every FM I
> > can find. (The FAQ is interesting, but it's hard to tell whether it's
> > describing any of the problems I'm having. I think I'd be much better off
> > simply reading up on other people's experience, and the replies they got.)
>
> Go to http://gcc.gnu.org/lists.html and click on whatever list you'd like
> to see archives for.
>
> Out of curiosity, what is the problem you are having with libiberty? I
> had a problem with it as well and have not been able to resolve it.
> --
> Elliott
>