pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/gcc compile error



* raymond.meyer%rambler.ru@localhost <raymond.meyer%rambler.ru@localhost> 
[2009-08-10 21:07:26 +0100]:

> On Mon, 10 Aug 2009 10:32:30 +0400
> alexs%ulgsm.ru@localhost wrote:
> 
> > 
> > Hi.
> > 
> > I have 5.0.1 installed on sunfire 120
> > # uname -a
> > NetBSD  5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 00:02:58 UTC 2009
> > builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/sparc64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/sparc64/compile/GENERIC
> > sparc64
> > 
> > Installed from cd in minimal instalation.
> > ftp ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz
> > cd /usr/pkgsrc
> > cvs update -dP
> > 
> > Try to build shells/zsh ends with:
> > 
> > .......
> > gmake[2]: Leaving directory
> > `/usr/pkgsrc/lang/gcc/work/objdir/gcc/intl' cc -c  -DIN_GCC
> > -DHAIFA    -O2  -DHAVE_CONFIG_H    -I.
> > -I/usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc -I/usr/pkgsrc/lan
> > g/gcc/work/gcc-2.95.3/gcc/config
> > -I/usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/../include 
> > /usr/pkgsrc/lang/gcc/work/gc
> > c-2.95.3/gcc/reorg.c
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c: In function
> > 'find_end_label':
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c:384: error: invalid
> > lvalue in increment
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c: In function
> > 'delete_from_delay_slot':
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c:583: error: invalid
> > lvalue in increment
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c: In function
> > 'make_return_insns':
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c:3472: error: invalid
> > lvalue in increment
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c: In function
> > 'dbr_schedule':
> > /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/reorg.c:3552: error: invalid
> > lvalue in increment
> > gmake[1]: *** [reorg.o] Error 1
> > gmake[1]: Leaving directory `/usr/pkgsrc/lang/gcc/work/objdir/gcc'
> > gmake: *** [all-gcc] Error 2
> > *** Error code 2
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/lang/gcc
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/lang/gcc
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/devel/gtexinfo
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/shells/zsh
> > #
> > 
> > 
> > Binary pakage gcc2.95 for 5.0 sparc64 not exists.
> > 
> > Any suggestions?
> 
> Do you have GCC compiler installed with your base system? It should be
> under /usr/bin. If yes, then you don't need to build gcc-2.95 from
> pkgsrc.

Yes.
#>gcc -v
Using built-in specs.
Target: sparc64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.72 --host=sparc64--netbsd
--target=sparc64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)


but shells/bash shells/zsh have lang/gcc dependency. 


> 
> ultra10# which gcc g++
> /usr/bin/gcc
> /usr/bin/g++

-- 
alexs

Attachment: pgpq3800UWXke.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index