This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc-3.1 installation problem


                                                  June 23, 2002



      GNU g++,

      I have just sent you 3 g++ bug reports describing problems I have
run into over the past several months.  The compiler used was 2.95.2
running on Red Hat Linux, version 2.2.5-15 (as I recall, called release
6.2 by Red Hat).

      I had very much wanted to run these examples on the new gcc-3.1
but I was not able to install it.  I saw several "successful build"
reports for this compiler on the GNU web site but, so far, I can not
find the path to success.  I tried on a Red Hat 7.2 system, Linux
version 2.4.7-10.  First step was to obtain binutils-2.11.2 and build
and install that using all default configuration options.

      Then I got gcc-3.1. This I configured as follows --

      configure --enable-languages="c,c++" \
                --enable-threads \
                --disable-nls

      But, following this,

      make bootstrap

      produces --

make[1]: Entering directory `/home/wb/gcc-3.1/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall -Wtraditional -pedantic  regex.c -o pic/regex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall -Wtraditional -pedantic regex.c
In file included from regex.c:649:
regex.c: In function `byte_compile_range':
regex.c:4602: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c: At top level:
regex.c:1380: warning: traditional C rejects string concatenation
regex.c:1382: warning: traditional C rejects string concatenation
regex.c:1383: warning: traditional C rejects string concatenation
regex.c:1385: warning: traditional C rejects string concatenation
regex.c:1386: warning: traditional C rejects string concatenation
regex.c:1388: warning: traditional C rejects string concatenation
regex.c:1389: warning: traditional C rejects string concatenation
regex.c:1391: warning: traditional C rejects string concatenation
regex.c:1392: warning: traditional C rejects string concatenation
regex.c:1394: warning: traditional C rejects string concatenation
regex.c:1395: warning: traditional C rejects string concatenation
regex.c:1397: warning: traditional C rejects string concatenation
regex.c:1398: warning: traditional C rejects string concatenation
regex.c:1400: warning: traditional C rejects string concatenation
regex.c:1401: warning: traditional C rejects string concatenation
regex.c:1403: warning: traditional C rejects string concatenation
regex.c:1404: warning: traditional C rejects string concatenation
regex.c:1406: warning: traditional C rejects string concatenation
regex.c:1407: warning: traditional C rejects string concatenation
regex.c:1409: warning: traditional C rejects string concatenation
regex.c:1410: warning: traditional C rejects string concatenation
regex.c:1412: warning: traditional C rejects string concatenation
regex.c:1413: warning: traditional C rejects string concatenation
regex.c:1415: warning: traditional C rejects string concatenation
regex.c:1416: warning: traditional C rejects string concatenation
regex.c:1418: warning: traditional C rejects string concatenation
regex.c:1419: warning: traditional C rejects string concatenation
regex.c:1421: warning: traditional C rejects string concatenation
regex.c:1422: warning: traditional C rejects string concatenation
regex.c:1424: warning: traditional C rejects string concatenation
regex.c:1425: warning: traditional C rejects string concatenation
regex.c:1427: warning: traditional C rejects string concatenation
regex.c: In function `xregcomp':
regex.c:8099: warning: signed and unsigned type in conditional expression
regex.c: In function `xregerror':
regex.c:8234: warning: unused parameter `preg'
/tmp/ccUo6GNH.s: Assembler messages:
/tmp/ccUo6GNH.s:409: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccUo6GNH.s:409: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccUo6GNH.s:409: Error: Rest of line ignored. First ignored character is `,'.
/tmp/ccUo6GNH.s:11501: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccUo6GNH.s:11501: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccUo6GNH.s:11501: Error: Rest of line ignored. First ignored character is `,'.
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/home/wb/gcc-3.1/libiberty'
make: *** [all-libiberty] Error 2

      I'm stuck here.  Any advice would be greatly appreciated.  
Thanks.


                                                  WB

PS:  In submitting these notices I realize that I have not followed your
guidelines exactly, in particular, your request that problems be
reported using GNATS.  The weakness is entirely my own -- this is a
"learning curve" consideration.  Hopefully, I will eventually come to
understand how to use the recommended methods.

      I would like to also say that I have been using g++ for a little
over three years now on various machines.  The existence of language
itself is a pure miracle in my opinion and if I were to be given the job
of handing out Nobel prizes I would give Bjarne Stroustrup one a year
for the next ten years.  But, unfortunately, there are a number of
problems with the implementations.  Yours appears to be, if not the very
top, certainly fantastic.  I wish I were in circumstances that permitted
me to be of more help than simply reporting problems but "free time"
seems to be something I encounter only in dreams.  Thank you for your
prodigious and tireless efforts to provide our community with this most
magnificent programming language.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]