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]

[Bug ada/10973] New: Bootstrap error building Ada


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10973

           Summary: Bootstrap error building Ada
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bugzilla-gcc@thewrittenword.com
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: sparc-sun-solaris2.6
  GCC host triplet: sparc-sun-solaris2.6
GCC target triplet: sparc-sun-solaris2.6

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.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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