public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
@ 2002-12-13  3:16 Martin Mokrejs
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Mokrejs @ 2002-12-13  3:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR other/8920; it has been noted by GNATS.

From: Martin Mokrejs <mmokrejs@natur.cuni.cz>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, mmokrejs@natur.cuni.cz,
        gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
Date: Fri, 13 Dec 2002 12:09:21 +0100

 Hi,
   even when I remove libiberty from gcc-3.2.1 and soflink to libiberty
 from binutils-2.11.2, I don't get much further:
 
 gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
 -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
 -DHAVE_CONFIG_H -DGENERATOR_FILE -I/software/@sys/usr/include
 -I/software/@sys/usr/include/ncurses
 -I/software/@sys/usr/openssl/include
 -I/software/@sys/usr/include/freetype2   -I. -I. -I../../gcc
 -I../../gcc/. -I../../gcc/config -I../../gcc/../include
 ../../gcc/read-rtl.c -o read-rtl.o
 ../../gcc/read-rtl.c: In function `fatal_with_file_and_line':
 ../../gcc/read-rtl.c:67: warning: implicit declaration of function
 `VA_OPEN'
 ../../gcc/read-rtl.c:67: `ap' undeclared (first use in this function)
 ../../gcc/read-rtl.c:67: (Each undeclared identifier is reported only
 once
 ../../gcc/read-rtl.c:67: for each function it appears in.)
 ../../gcc/read-rtl.c:68: warning: implicit declaration of function
 `VA_FIXEDARG'
 ../../gcc/read-rtl.c:68: parse error before "FILE"
 ../../gcc/read-rtl.c:69: parse error before "const"
 ../../gcc/read-rtl.c:90: warning: implicit declaration of function
 `VA_CLOSE'
 make[2]: *** [read-rtl.o] Error 1
 make[2]: Leaving directory `/scratch/mmokrejs/gcc-3.2.1/objdir/gcc'
 
 
 $ uname -a
 SunOS xx 5.6 Generic_105181-33 sun4u sparc SUNW,Ultra-30
 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8920
 
 
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
@ 2002-12-19  2:56 Martin MOKREJŠ
  0 siblings, 0 replies; 6+ messages in thread
From: Martin MOKREJŠ @ 2002-12-19  2:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 10378 bytes --]

The following reply was made to PR other/8920; it has been noted by GNATS.

From: =?iso-8859-2?Q?Martin_MOKREJ=A9?= <mmokrejs@natur.cuni.cz>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside
 gcc-3.2.1
Date: Thu, 19 Dec 2002 11:51:53 +0100 (CET)

 Hi,
   sorry for the delay in this thread.
 
 On Fri, 13 Dec 2002, Rainer Orth wrote:
 
 > =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes:
 >
 > > > all those -I/software/@sys switches look completely unnecessary, and
 > >
 > > No, that whole lots of files installed under prefix=/software/@sys/usr,
 > > i.e. really header files, libs, binaries. It's located in AFS (@sys is a
 > > speciable variable expanded by kernel, not by any shell!).
 >
 > I recognized that, thus my suspicion that /software/@sys/usr/include might
 > be a copy of/link to the system /usr/include.
 
 No, it's not.
 
 >
 > > /usr/inlcude definitely doesn't contains my custom compiled/installed
 > > stuff from /software/@sys/usr/include
 > >
 > > Maybe only the freetype2 stuff could go away this time, I know.
 >
 > But why do you think GCC needs any of the other stuff, like ncurses or
 > openssl?  And what software installed in /software/@sys/usr/include is
 > required by GCC?
 >
 
 OK, I've deleted my CFLAGS, CPPFLAGS, LIBS to empty.
 
 As gcc-3.2.1 is out, I tried that. First I've configured without GNU ld
 and as. I got in stage2 error while compiling the java stuff.
 
 /bin/sh ./libtool --tag=GCJ --mode=compile /scratch/mmokrejs/gcc-3.2.1/objdir/gcc/gcj -B/scratch/mmokrejs/gcc-3.2.1/objdir/sparc-sun-solaris2.6/libjava/ -B/scratch/mmokrejs/gcc-3.2.1/objdir/gcc/ --encoding=UTF-8 -fclasspath= -fbootclasspath=/scratch/mmokrejs/gcc-3.2.1/objdir/sparc-sun-solaris2.6/libjava -g -O2 -MD -MT java/lang/Class.lo -MF java/lang/Class.d -c -o java/lang/Class.lo ../../../libjava/java/lang/Class.java
 /scratch/mmokrejs/gcc-3.2.1/objdir/gcc/gcj -B/scratch/mmokrejs/gcc-3.2.1/objdir/sparc-sun-solaris2.6/libjava/ -B/scratch/mmokrejs/gcc-3.2.1/objdir/gcc/ --encoding=UTF-8 -fclasspath= -fbootclasspath=/scratch/mmokrejs/gcc-3.2.1/objdir/sparc-sun-solaris2.6/libjava -g -O2 -MD -MT java/lang/Class.lo -MF java/lang/Class.d -c ../../../libjava/java/lang/Class.java -fPIC -o java/lang/.libs/Class.o
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 844: error: invalid character (0x40)
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 844: error: quoted-string operand required
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 844: error: statement syntax
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 853: error: invalid character (0x40)
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 853: error: quoted-string operand required
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 853: error: statement syntax
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 862: error: invalid character (0x40)
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 862: error: quoted-string operand required
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 862: error: statement syntax
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 878: error: invalid character (0x40)
 /usr/ccs/bin/as: "/var/tmp//ccnN6qJb.s", line 878: error: quoted-string operand required
 
 
 
 So I've tried to use installed binutils, nd re-ruin configure to to use GNU ld and GNU as from binutils.
 
 ./xgcc -B./ -B/software/@sys/usr/sparc-sun-solaris2.6/bin/ -isystem /software/@sys/usr/sparc-sun-solaris2.6/include -isystem /software/@sys/usr/sparc-sun-solaris2.6/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
 ../../gcc/unwind-dw2.c: In function `uw_install_context_1':
 ../../gcc/unwind-dw2.c:1166: warning: missing braces around initializer
 ../../gcc/unwind-dw2.c:1166: warning: (near initialization for `once_regsizes.__pthread_once_pad')
 ./xgcc -B./ -B/software/@sys/usr/sparc-sun-solaris2.6/bin/ -isystem /software/@sys/usr/sparc-sun-solaris2.6/include -isystem /software/@sys/usr/sparc-sun-solaris2.6/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c ../../gcc/unwind-dw2-fde.c -o libgcc/./unwind-dw2-fde.o
 ../../gcc/unwind-dw2-fde.c:50: warning: missing braces around initializer
 ../../gcc/unwind-dw2-fde.c:50: warning: (near initialization for `object_mutex.__pthread_mutex_flags')
 ../../gcc/unwind-dw2-fde.c:50: warning: missing initializer
 ../../gcc/unwind-dw2-fde.c:50: warning: (near initialization for `object_mutex.__pthread_mutex_flags.__pthread_mutex_type')
 ../../gcc/unwind-dw2-fde.c:50: warning: missing initializer
 ../../gcc/unwind-dw2-fde.c:50: warning: (near initialization for `object_mutex.__pthread_mutex_lock')
 ./xgcc -B./ -B/software/@sys/usr/sparc-sun-solaris2.6/bin/ -isystem /software/@sys/usr/sparc-sun-solaris2.6/include -isystem /software/@sys/usr/sparc-sun-solaris2.6/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c ../../gcc/unwind-sjlj.c -o libgcc/./unwind-sjlj.o
 rm -rf ./libgcc_eh.a
 ar  rc ./libgcc_eh.a libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o
 if [ -f ranlib ] || ( [ sparc-sun-solaris2.6 = sparc-sun-solaris2.6 ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
   ranlib ./libgcc_eh.a ; \
 else true; fi;
 { nm -pg  libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o  libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libg!
  cc/./unwind-sjlj.o; echo %%; \
   cat ../../gcc/libgcc-std.ver | sed -e "/^[    ]*#/d" -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
   | ./xgcc -B./ -B/software/@sys/usr/sparc-sun-solaris2.6/bin/ -isystem /software/@sys/usr/sparc-sun-solaris2.6/include -isystem /software/@sys/usr/sparc-sun-solaris2.6/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  -E -xassembler-with-cpp -; \
 } | gawk -f ../../gcc/mkmap-symver.awk  > libgcc/./tmp-libgcc.map
 mv libgcc/./tmp-libgcc.map libgcc/./libgcc.map
 ./xgcc -B./ -B/software/@sys/usr/sparc-sun-solaris2.6/bin/ -isystem /software/@sys/usr/sparc-sun-solaris2.6/include -isystem /software/@sys/usr/sparc-sun-solaris2.6/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc/./libgcc.map -o libgcc_s.so.1   libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_l shrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o li!
  bgcc/./_trampoline.o libgcc/./__mai../xgcc -B./ -B/software/@sys/usr/sparc-sun-solaris2.6/bin/ -isystem /software/@sys/usr/sparc-sun-solaris2.6/include -isystem /software/@sys/usr/sparc-sun-solaris2.6/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc/./libgcc.map -o libgcc_s.so.1   libgcc/./_mu ldi3.o libgcc/./_negdi/software/@sys/usr/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map: file format not recognized; treating as linker script
 /software/@sys/usr/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map:1: parse error
 collect2: ld returned 1 exit status
 make[3]: *** [libgcc_s.so] Error 1
 make[3]: Leaving directory `/scratch/mmokrejs/gcc-3.2.1/objdir/gcc'
 make[2]: *** [libgcc.a] Error 2
 make[2]: Leaving directory `/scratch/mmokrejs/gcc-3.2.1/objdir/gcc'
 make[1]: *** [stage1_build] Error 2
 make[1]: Leaving directory `/scratch/mmokrejs/gcc-3.2.1/objdir/gcc'
 make: *** [bootstrap-lean] Error 2
 $ /software/@sys/usr/sparc-sun-solaris2.6/bin/ld --version
 GNU ld version 2.13.1
 Copyright 2002 Free Software Foundation, Inc.
 This program is free software; you may redistribute it under the terms of
 the GNU General Public License.  This program has absolutely no warranty.
 mmokrejs@pf-i400$ file gcc/libgcc/libgcc.map
 gcc/libgcc/libgcc.map:  English text
 $
 
 -- 
 Martin Mokrejs <mmokrejs@natur.cuni.cz>, <m.mokrejs@gsf.de>
 PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
 MIPS / Institute for Bioinformatics <http://mips.gsf.de>
 GSF - National Research Center for Environment and Health
 Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
 tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
 
 
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
@ 2002-12-13  5:56 Rainer Orth
  0 siblings, 0 replies; 6+ messages in thread
From: Rainer Orth @ 2002-12-13  5:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR other/8920; it has been noted by GNATS.

From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: =?iso-8859-2?Q?Martin_MOKREJ=A9?= <mmokrejs@natur.cuni.cz>
Cc: gcc-gnats@gcc.gnu.org, <gcc-prs@gcc.gnu.org>, <gcc-bugs@gcc.gnu.org>,
   <nobody@gcc.gnu.org>
Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside
 gcc-3.2.1
Date: Fri, 13 Dec 2002 14:55:19 +0100 (MET)

 =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes:
 
 > > all those -I/software/@sys switches look completely unnecessary, and
 > 
 > No, that whole lots of files installed under prefix=/software/@sys/usr,
 > i.e. really header files, libs, binaries. It's located in AFS (@sys is a
 > speciable variable expanded by kernel, not by any shell!).
 
 I recognized that, thus my suspicion that /software/@sys/usr/include might
 be a copy of/link to the system /usr/include.
 
 > /usr/inlcude definitely doesn't contains my custom compiled/installed
 > stuff from /software/@sys/usr/include
 > 
 > Maybe only the freetype2 stuff could go away this time, I know.
 
 But why do you think GCC needs any of the other stuff, like ncurses or
 openssl?  And what software installed in /software/@sys/usr/include is
 required by GCC?
 
 > What do you mean "doesn't play nicely with gcc"?
 
 RTFM: http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Directory-Options.html#Directory%20Options
 
 especially the note unter -Idir.
 
 	Rainer


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
@ 2002-12-13  5:46 Martin MOKREJŠ
  0 siblings, 0 replies; 6+ messages in thread
From: Martin MOKREJŠ @ 2002-12-13  5:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2126 bytes --]

The following reply was made to PR other/8920; it has been noted by GNATS.

From: =?iso-8859-2?Q?Martin_MOKREJ=A9?= <mmokrejs@natur.cuni.cz>
To: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Cc: gcc-gnats@gcc.gnu.org, <gcc-prs@gcc.gnu.org>, <gcc-bugs@gcc.gnu.org>,
       <nobody@gcc.gnu.org>
Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside
 gcc-3.2.1
Date: Fri, 13 Dec 2002 14:40:38 +0100 (CET)

 On 13 Dec 2002, Rainer Orth wrote:
 
 > Martin Mokrejs <mmokrejs@natur.cuni.cz> writes:
 >
 > >   even when I remove libiberty from gcc-3.2.1 and soflink to libiberty
 > > from binutils-2.11.2, I don't get much further:
 > >
 > > gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
 > > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
 > > -DHAVE_CONFIG_H -DGENERATOR_FILE -I/software/@sys/usr/include
 > > -I/software/@sys/usr/include/ncurses
 > > -I/software/@sys/usr/openssl/include
 > > -I/software/@sys/usr/include/freetype2   -I. -I. -I../../gcc
 > > -I../../gcc/. -I../../gcc/config -I../../gcc/../include
 >
 > all those -I/software/@sys switches look completely unnecessary, and
 
 No, that whole lots of files installed under prefix=/software/@sys/usr,
 i.e. really header files, libs, binaries. It's located in AFS (@sys is a
 speciable variable expanded by kernel, not by any shell!).
 
 /usr/inlcude definitely doesn't contains my custom compiled/installed
 stuff from /software/@sys/usr/include
 
 Maybe only the freetype2 stuff could go away this time, I know.
 
 > -I/software/@sys/usr/include may be an equivalent to -I/usr/include, which
 > doesn't play nicely with gcc.  Try removing all of them and start a fresh
 > bootstrap (with libiberty included again).
 
 What do you mean "doesn't play nicely with gcc"?
 
 -- 
 Martin Mokrejs <mmokrejs@natur.cuni.cz>, <m.mokrejs@gsf.de>
 PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
 MIPS / Institute for Bioinformatics <http://mips.gsf.de>
 GSF - National Research Center for Environment and Health
 Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
 tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
@ 2002-12-13  5:36 Rainer Orth
  0 siblings, 0 replies; 6+ messages in thread
From: Rainer Orth @ 2002-12-13  5:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR other/8920; it has been noted by GNATS.

From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: Martin Mokrejs <mmokrejs@natur.cuni.cz>
Cc: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
   nobody@gcc.gnu.org
Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
Date: 13 Dec 2002 14:26:52 +0100

 Martin Mokrejs <mmokrejs@natur.cuni.cz> writes:
 
 >   even when I remove libiberty from gcc-3.2.1 and soflink to libiberty
 > from binutils-2.11.2, I don't get much further:
 > 
 > gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
 > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
 > -DHAVE_CONFIG_H -DGENERATOR_FILE -I/software/@sys/usr/include
 > -I/software/@sys/usr/include/ncurses
 > -I/software/@sys/usr/openssl/include
 > -I/software/@sys/usr/include/freetype2   -I. -I. -I../../gcc
 > -I../../gcc/. -I../../gcc/config -I../../gcc/../include
 
 all those -I/software/@sys switches look completely unnecessary, and
 -I/software/@sys/usr/include may be an equivalent to -I/usr/include, which
 doesn't play nicely with gcc.  Try removing all of them and start a fresh
 bootstrap (with libiberty included again).
 
 	Rainer


^ permalink raw reply	[flat|nested] 6+ messages in thread

* other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
@ 2002-12-12 20:16 mmokrejs
  0 siblings, 0 replies; 6+ messages in thread
From: mmokrejs @ 2002-12-12 20:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8920
>Category:       other
>Synopsis:       Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 12 20:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mmokrejs@natur.cuni.cz
>Release:        gcc-3.2.1
>Organization:
>Environment:

>Description:
Hi,
  I've already reported this bug in previous gcc version, but it is still present. :(

gcc -c -DHAVE_CONFIG_H -I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses -I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2 -I. -I../../libiberty/../include  -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c
../../libiberty/concat.c: In function `concat_length':
../../libiberty/concat.c:115: warning: implicit declaration of function `VA_OPEN'
../../libiberty/concat.c:115: `args' undeclared (first use in this function)
../../libiberty/concat.c:115: (Each undeclared identifier is reported only once
../../libiberty/concat.c:115: for each function it appears in.)
../../libiberty/concat.c:116: warning: implicit declaration of function `VA_FIXEDARG'
../../libiberty/concat.c:116: parse error before "const"
../../libiberty/concat.c:118: warning: implicit declaration of function `VA_CLOSE'
../../libiberty/concat.c: In function `concat_copy':
../../libiberty/concat.c:130: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:130: `args' undeclared (first use in this function)
../../libiberty/concat.c:131: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:131: parse error before "char"
../../libiberty/concat.c:132: parse error before "const"
../../libiberty/concat.c:135: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c: In function `concat_copy2':
../../libiberty/concat.c:147: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:147: `args' undeclared (first use in this function)
../../libiberty/concat.c:148: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:148: parse error before "const"
../../libiberty/concat.c:150: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c: In function `concat':
../../libiberty/concat.c:161: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:161: `args' undeclared (first use in this function)
../../libiberty/concat.c:162: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:162: parse error before "const"
../../libiberty/concat.c:164: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c:168: parse error before "const"
../../libiberty/concat.c: In function `reconcat':
../../libiberty/concat.c:198: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:198: `args' undeclared (first use in this function)
../../libiberty/concat.c:199: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:199: parse error before "char"
../../libiberty/concat.c:200: parse error before "const"
../../libiberty/concat.c:202: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c:206: parse error before "char"
../../libiberty/concat.c:207: parse error before "const"
make[1]: *** [concat.o] Error 1
make[1]: Leaving directory `/scratch/mmokrejs/gcc-3.2.1/objdir/libiberty'
>How-To-Repeat:
Lokk using google for these errors/warnings, you will get enough hits. ;)
>Fix:
binutils-2.11.2 have compilable libiberty
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-19 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-13  3:16 other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1 Martin Mokrejs
  -- strict thread matches above, loose matches on Subject: below --
2002-12-19  2:56 Martin MOKREJŠ
2002-12-13  5:56 Rainer Orth
2002-12-13  5:46 Martin MOKREJŠ
2002-12-13  5:36 Rainer Orth
2002-12-12 20:16 mmokrejs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).