This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[3.3] Bootstrap error building Ada on Solaris 2.6/SPARC
- From: Albert Chin-A-Young <china at thewrittenword dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 23 May 2003 22:42:44 -0500
- Subject: [3.3] Bootstrap error building Ada on Solaris 2.6/SPARC
I'm using Binutils 2.12.1 (gas) and GNAT 3.15p Solaris 2.5.1/SPARC
binary to bootstrap GCC 3.3 on Solaris 2.6/SPARC:
$ CC=gcc /opt/build/gcc-3.3/configure --enable-nls \
--with-included-gettext --enable-shared --enable-threads \
--enable-libgcj --with-gnu-as --with-as=[path to gas]
...
stage1/xgcc -Bstage1/ -B/opt/TWWfsw/gcc33/sparc-sun-solaris2.6/bin/
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -o gnat1 ada/b_gnat1.o ...
...
Undefined first referenced
symbol in file
mprotect stage1/libgcc.a(_trampoline.oS)
(symbol scope specifies local binding)
perror stage1/libgcc.a(_trampoline.oS)
(symbol scope specifies local binding)
getpagesize ada/init.o (symbol scope
specifies local binding)
sysconf libbackend.a(timevar.o) (symbol
scope specifies local binding)
...
I build in a similar way on Solaris 2.5.1/SPARC but with
--enable-languages="ada,c,c++,f77" and don't have this problem. On
Solaris 7, 8, and 9/SPARC, I don't build with binutils and also don't
see this problem.
--
albert chin (china@thewrittenword.com)