* gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3
@ 2002-12-10 23:57 Karel Gardas
2002-12-11 0:09 ` toa
2002-12-11 1:09 ` David S. Miller
0 siblings, 2 replies; 4+ messages in thread
From: Karel Gardas @ 2002-12-10 23:57 UTC (permalink / raw)
To: GCC Mailing List
Hello,
I'm trying to bootstrap gcc3.2.1 on solaris8 with using gcc2.95.3.
Bootstrap process fails with:
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
"CC_FOR_TARGET=/tmp/kgardas/obj/gcc/xgcc -B/tmp/kgardas/obj/gcc/
-B/home/users/k/kg/kgardas/usr/local/gcc3.2.1/sparc-sun-solaris2.8/bin/
-B/home/users/k/kg/kgardas/usr/local/gcc3.2.1/sparc-sun-solaris2.8/lib/
-isystem
/home/users/k/kg/kgardas/usr/local/gcc3.2.1/sparc-sun-solaris2.8/include"
"CFLAGS=-O2 -O" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD="
"CFLAGS_FOR_TARGET=-O2 -O" "INSTALL=/bin/sh
/tmp/kgardas/gcc3.2/install-sh -c" "INSTALL_DATA=/bin/sh
/tmp/kgardas/gcc3.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/tmp/kgardas/gcc3.2/install-sh -c" "INSTALL_SCRIPT=/bin/sh
/tmp/kgardas/gcc3.2/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-O2 -O"
"LIBCFLAGS_FOR_TARGET=-O2 -O" "MAKE=make" "MAKEINFO=makeinfo "
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS="
"exec_prefix=/home/users/k/kg/kgardas/usr/local/gcc3.2.1"
"infodir=/home/users/k/kg/kgardas/usr/local/gcc3.2.1/info"
"libdir=/home/users/k/kg/kgardas/usr/local/gcc3.2.1/lib"
"includedir=/home/users/k/kg/kgardas/usr/local/gcc3.2.1/include"
"prefix=/home/users/k/kg/kgardas/usr/local/gcc3.2.1"
"tooldir=/home/users/k/kg/kgardas/usr/local/gcc3.2.1/sparc-sun-solaris2.8"
"AR=ar" "AS=/usr/ccs/bin/as" "LD=/usr/ccs/bin/ld" "LIBCFLAGS=-O2 -O"
"PICFLAG=" "RANLIB=true" "NM=/usr/ccs/bin/nm" "NM_FOR_BUILD="
"NM_FOR_TARGET=/usr/ccs/bin/nm" "DESTDIR=" "WERROR=" all-recursive
Making all in include
Making all in libio
Making all in libmath
Making all in libsupc++
Making all in src
Making all in po
Making all in testsuite
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory
/tmp/kgardas/obj/sparc-sun-solaris2.8/libstdc++-v3/testsuite
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/tmp/kgardas/obj/sparc-sun-solaris2.8/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory
/tmp/kgardas/obj/sparc-sun-solaris2.8/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-target-libstdc++-v3'
Current working directory /tmp/kgardas/obj
*** Error code 1
make: Fatal error: Command failed for target `bootstrap-lean'
bash-2.03$ uname -a
SunOS usf-cf-sparc-solaris-1 5.8 Generic_108528-17 sun4u sparc SUNW,Ultra-60
bash-2.03$ gcc -v
Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
bash-2.03$
gcc is configured with:
bash-2.03$ cd gcc
bash-2.03$ ./xgcc -v
Using built-in specs.
Configured with: ../gcc3.2/configure
--prefix=/home/users/k/kg/kgardas/usr/local/gcc3.2.1 --enable-shared
--enable-threads --enable-languages=c++
Thread model: posix
gcc version 3.2.1
bash-2.03$
and I'm building with:
time make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap-lean
Is there any known workaround for this problem or did I somewhere any
mistake?
Thanks a lot,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3
2002-12-10 23:57 gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3 Karel Gardas
@ 2002-12-11 0:09 ` toa
2002-12-11 1:09 ` David S. Miller
1 sibling, 0 replies; 4+ messages in thread
From: toa @ 2002-12-11 0:09 UTC (permalink / raw)
To: Karel Gardas, GCC Mailing List
-- Original Message --
>mksh: Fatal error in reader: = missing from replacement macro reference
You may try with gnumake, I had similar problems last week on a ss5. Changing
to gnumake (e.g. from sunfreeware.com) solved it.
You should populate make before /usr/ccs/bin/make and then reconfigure and
bootstrap again.
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3
2002-12-10 23:57 gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3 Karel Gardas
2002-12-11 0:09 ` toa
@ 2002-12-11 1:09 ` David S. Miller
2002-12-11 7:49 ` Karel Gardas
1 sibling, 1 reply; 4+ messages in thread
From: David S. Miller @ 2002-12-11 1:09 UTC (permalink / raw)
To: kgardas; +Cc: gcc
Please read the Solaris specific sections of the installation
documention, you'll find that you're not doing lots of required
things (using something other than /bin/sh as the shell that runs
the configure scripts, among other things).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3
2002-12-11 1:09 ` David S. Miller
@ 2002-12-11 7:49 ` Karel Gardas
0 siblings, 0 replies; 4+ messages in thread
From: Karel Gardas @ 2002-12-11 7:49 UTC (permalink / raw)
To: David S. Miller; +Cc: gcc
On Wed, 11 Dec 2002, David S. Miller wrote:
>
> Please read the Solaris specific sections of the installation
> documention, you'll find that you're not doing lots of required
> things (using something other than /bin/sh as the shell that runs
> the configure scripts, among other things).
>
You are right. After reading this doc, I've bootstrapped gcc3.2.1 on SunOS
5.8 successfully.
Thanks a lot,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-11 15:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-10 23:57 gcc3.2.1 bootstrap failure on solaris8/gcc2.95.3 Karel Gardas
2002-12-11 0:09 ` toa
2002-12-11 1:09 ` David S. Miller
2002-12-11 7:49 ` Karel Gardas
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).