* gcc-3.0.4 build problem on sparc-solaris 2.6
@ 2002-03-21 23:14 Mahesh M.
2002-03-25 19:57 ` Mahesh M.
0 siblings, 1 reply; 2+ messages in thread
From: Mahesh M. @ 2002-03-21 23:14 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1263 bytes --]
Hello,
I get the following error while building
gcc-3.0.4 on solaris 2.6. I tried building gcc with
both the compilers /opt/SUNWspro/bin/cc and
/usr/ucb/cc. The problem is the same. I am using the
following stages to build:
/tmp/temp/gcc-3.0.4/configure --with-gcc-as
--with-as=/usr/local/bin/as --with-gcc-ld
--with-ld=/usr/local/bin/ld
<<<< this is successful >>>>
make bootstrap
.....
<<<< fails here >>>>
stage1/xgcc -Bstage1/
-B/usr/local/sparc-sun-solaris2.6/bin/ -DIN_GCC
-DSVR4 -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I.
-I/tmp/temp/gcc-3.0.4/gcc -I/tmp/temp/gcc-3.0.4/gcc/.
-I/tmp/temp/gcc-3.0.4/gcc/config
-I/tmp/temp/gcc-3.0.4/gcc/../include -c
/tmp/temp/gcc-3.0.4/gcc/c-parse.c
cc1: Cannot allocate 131072 bytes after allocating
9838592 bytes
make[2]: *** [c-parse.o] Error 1
make[2]: Leaving directory `/tmp/temp/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/tmp/temp/objdir/gcc'
make: *** [bootstrap] Error 2
Please help.
best regards,
mahesh
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc-3.0.4 build problem on sparc-solaris 2.6
2002-03-21 23:14 gcc-3.0.4 build problem on sparc-solaris 2.6 Mahesh M.
@ 2002-03-25 19:57 ` Mahesh M.
0 siblings, 0 replies; 2+ messages in thread
From: Mahesh M. @ 2002-03-25 19:57 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1924 bytes --]
Hello,
The problem was caused due to gcc being built in
the /tmp directory. At a some stage of the building
process it exhausted the swap memory.
Shifting the build directories elsewhere solved
the problem. I used the /opt/SUNWspro/bin/cc to build
gcc.
regards,
Mahesh M.
Plz Note: --with-gcc-as, --with-gcc-ld are
--with-gnu-as, --with-gnu-ld resp.
--- "Mahesh M." <mahesh_m_1973@yahoo.com> wrote:
> Hello,
>
> I get the following error while building
> gcc-3.0.4 on solaris 2.6. I tried building gcc with
> both the compilers /opt/SUNWspro/bin/cc and
> /usr/ucb/cc. The problem is the same. I am using the
> following stages to build:
>
> /tmp/temp/gcc-3.0.4/configure --with-gcc-as
> --with-as=/usr/local/bin/as --with-gcc-ld
> --with-ld=/usr/local/bin/ld
> <<<< this is successful >>>>
>
> make bootstrap
>
> .....
> <<<< fails here >>>>
>
> stage1/xgcc -Bstage1/
> -B/usr/local/sparc-sun-solaris2.6/bin/ -DIN_GCC
> -DSVR4 -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes
> -Wtraditional
> -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I.
> -I/tmp/temp/gcc-3.0.4/gcc
> -I/tmp/temp/gcc-3.0.4/gcc/.
> -I/tmp/temp/gcc-3.0.4/gcc/config
> -I/tmp/temp/gcc-3.0.4/gcc/../include -c
> /tmp/temp/gcc-3.0.4/gcc/c-parse.c
>
> cc1: Cannot allocate 131072 bytes after allocating
> 9838592 bytes
> make[2]: *** [c-parse.o] Error 1
> make[2]: Leaving directory `/tmp/temp/objdir/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/tmp/temp/objdir/gcc'
> make: *** [bootstrap] Error 2
>
> Please help.
>
> best regards,
> mahesh
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-26 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-21 23:14 gcc-3.0.4 build problem on sparc-solaris 2.6 Mahesh M.
2002-03-25 19:57 ` Mahesh M.
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).