public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [3.3] Bootstrap error building Ada on Solaris 2.6/SPARC
@ 2003-05-24  3:50 Albert Chin-A-Young
  0 siblings, 0 replies; only message in thread
From: Albert Chin-A-Young @ 2003-05-24  3:50 UTC (permalink / raw)
  To: gcc

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-24  3:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-24  3:50 [3.3] Bootstrap error building Ada on Solaris 2.6/SPARC Albert Chin-A-Young

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).