|
|
Dave (from the UK) wrote:
> Dave (from the UK) wrote:
>
>> I rebuilt as I said I would, but it fails - see below. This time I did
>> set CONFIG_SHELL to bash and export it before trying to build. As you
>> can see, it still fails.
>
> Oops, my error.
>
> I'd run out of disk space - that is why the build failed. It has now
> built on Solaris 10 update 2.
Lucky you. I still have errors...
$ cd /opt/local/src
$ gtar jxf gcc-4.1.1.tar.bz2
$ mkdir buildgcc-4.1.1
$ cd buildgcc-4.1.1
$ export CONFIG_SHELL=/usr/bin/bash
$ ../gcc-4.1.1/configure --prefix=/opt/local --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-threads --disable-nls
--enable-java-awt=xlib --with-x --enable-languages=c,c++,java,objc
$ gmake bootstrap
[...]
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c: At top level:
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:391: warning: return type
defaults to 'int'
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:391: warning: function
declaration isn't a prototype
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c: In function 'moncontrol':
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:392: warning: old-style
function definition
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:396: warning: implicit
declaration of function 'profil'
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:398: warning: cast from
pointer to integer of different size
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:406: warning: control
reaches end of non-void function
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c: At top level:
../../gcc-4.1.1/gcc/config/i386/gmon-sol2.c:58: warning: 'sccsid'
defined but not used
Assembler:
"", line 1 : Illegal flag (-)
gmake[4]: *** [amd64/gmon.o] Error 1
gmake[4]: Leaving directory `/usr/local/src/buildgcc-4.1.1/gcc'
gmake[3]: *** [extraamd64] Error 2
gmake[3]: Leaving directory `/usr/local/src/buildgcc-4.1.1/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory `/usr/local/src/buildgcc-4.1.1/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/local/src/buildgcc-4.1.1/gcc'
gmake: *** [bootstrap] Error 2
|
|