This is the mail archive of the gcc-help@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]

[gcc4.4.4] bootstrap


Hi,

My name is Pierre Léonard, I work at INRA for Institut National de Recherche en Agronimie. Before I was computer scientist at INRIA and ar Chosrus Systems.
But , Th fact:


We have a Sun solaris X86 with two opteron six core each. We wanted to have gcc in order to get the openMP 3.0 release.
I try to install the gcc4.5 but it didn't compile.
So I use an old relesae 346 of gcc find on sunfreeware. Then I compile all the relesease from 431 until 444, but without the bootstraping pass. Now I want to bootstrap the gcc4.4.4 release, to have something completlely clean. for the configuration I use the following command :


../configure --prefix=/usr/local/ --with-gnu-as --with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++ --with-cpu-64=athlon64-sse3 --with-gmp=/home/pleonard/math64 --with-mpfr=/home/pleonard/math64 --enable-build-with-cxx --with-mpc=/home/pleonard/math64 --enable-bootstrap

then gmake

I got an error withe file : ../../libiberty/cp-demangle.c

the make try to compile it with gcc instead of g++. No problem. It take the compile command générated et replace gcc by g++. The result is better but still false :

/usr/local/bin/g++ -c -DHAVE_CONFIG_H -g -fkeep-inline-functions -I/usr/local/include -I/opt/SUNWspro/include -I/opt/SUNWmlib/include -I/usr/sfw/include -I/usr/dt/include -I/usr/openwin/include -I/usr/X11/include -I. -I../../libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../libiberty/cp-demangle.c -o pic/cp-demangle.o
cc1plus: attention : l'option de la ligne de commande "-Wc++-compat" est valide pour C/ObjC mais pas pour C++
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour Ada/C/ObjC mais pas pour C++
In file included from ../../libiberty/cp-demangle.c:128:
../../libiberty/../include/libiberty.h:126: erreur: expected initializer before ‘ATTRIBUTE_SENTINEL’
../../libiberty/../include/libiberty.h:135: erreur: expected initializer before ‘ATTRIBUTE_SENTINEL’
../../libiberty/../include/libiberty.h:141: erreur: expected initializer before ‘ATTRIBUTE_SENTINEL’
../../libiberty/../include/libiberty.h:148: erreur: expected initializer before ‘ATTRIBUTE_SENTINEL’
../../libiberty/../include/libiberty.h:155: erreur: expected initializer before ‘ATTRIBUTE_SENTINEL’



As you see also the paramters passed to the compiler are not those I choosed with the configure pass.


I don't mind that I am alone to try to get gcc on solaris x86_64.

It would be please to find that bug and offer a good compiler to the solaris community.

So if you have any Idea, it would be great.

I thank you in advance.


-- Pierre Léonard, Ph.D. Institut Micalis (Microbiologie de l’Alimentation au service de la Santé humaine) Bat-440 Centre de recherche de Jouy en Josas. Domaine de Vilvert 78 352 Jouy en Josas cedex France 01 34 65 29 27




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