Hello there,
There is a problem compiling on FreeBSD Sparc 64 (FreeBSD 5.3-BETA4) :
gmake[3]: Leaving directory `/usr/ports/lang/pike76/work/pike-7.6.13/src/modules/Image/encodings' Compiling search.c {standard input}: Assembler messages: {standard input}:10476: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10498: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10500: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10514: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10516: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10538: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10540: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10554: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10556: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10804: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10806: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10828: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10830: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10844: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10846: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10868: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10870: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10884: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10886: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11159: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11181: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11183: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11197: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11199: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11221: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11223: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11237: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11239: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11484: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11506: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11508: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11522: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11524: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11546: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11548: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11562: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11564: Error: Illegal operands: There are only 32 single precision f registers; [0-31] WARNING: Compiler failure! Trying without optimization! {standard input}: Assembler messages: {standard input}:9741: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9763: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9765: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9779: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9781: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9803: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9805: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9819: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9821: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10063: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10065: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10087: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10089: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10103: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10105: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10127: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10129: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10143: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10145: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10410: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10432: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10434: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10448: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10450: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10472: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10474: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10488: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10490: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10729: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10751: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10753: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10767: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10769: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10791: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10793: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10807: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10809: Error: Illegal operands: There are only 32 single precision f registers; [0-31] Compilation command was: /usr/ports/lang/pike76/work/pike-7.6.13/src/smartlink cc -I. -I/usr/ports/lang/pike76/work/pike-7.6.13/src/modules/Image -I/usr/ports/lang/pike76/work/pike-7.6.13/src -I/usr/ports/lang/pike76/work/pike-7.6.13/src -I/usr/ports/lang/pike76/work/pike-7.6.13/src/bundles/include -I/usr/local/include -DHAVE_CONFIG_H -O -pipe -ffast-math -fomit-frame-pointer -I/usr/ports/lang/pike76/work/pike-7.6.13/src/bundles/include -I/usr/local/include -c search.c -o search.o gmake[2]: *** [search.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/pike76/work/pike-7.6.13/src/modules/Image' gmake[1]: *** [Image] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/pike76/work/pike-7.6.13/src/modules' gmake: *** [module_objects] Error 1 *** Error code 2
bash-2.05b# gcc -v Using built-in specs. Configured with: FreeBSD/sparc64 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 bash-2.05b# uname -a FreeBSD ws01.home.oav.net 5.3-BETA4 FreeBSD 5.3-BETA4 #0: Sun Sep 12 09:11:49 UTC 2004 root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
How this can be fixed ????
/Xavier -- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15247
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-09-14 11:51: Subject: Failure to compile Pike 7.6 on FreeBSD sparc 64 :
Hello there,
There is a problem compiling on FreeBSD Sparc 64 (FreeBSD 5.3-BETA4) :
gmake[3]: Leaving directory `/usr/ports/lang/pike76/work/pike-7.6.13/src/modules/Image/encodings' Compiling search.c {standard input}: Assembler messages: {standard input}:10476: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10498: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10500: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10514: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10516: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10538: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10540: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10554: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10556: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10804: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10806: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10828: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10830: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10844: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10846: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10868: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10870: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10884: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10886: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11159: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11181: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11183: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11197: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11199: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11221: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11223: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11237: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11239: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11484: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11506: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11508: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11522: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11524: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11546: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11548: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11562: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:11564: Error: Illegal operands: There are only 32 single precision f registers; [0-31] WARNING: Compiler failure! Trying without optimization! {standard input}: Assembler messages: {standard input}:9741: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9763: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9765: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9779: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9781: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9803: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9805: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9819: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:9821: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10063: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10065: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10087: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10089: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10103: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10105: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10127: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10129: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10143: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10145: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10410: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10432: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10434: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10448: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10450: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10472: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10474: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10488: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10490: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10729: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10751: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10753: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10767: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10769: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10791: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10793: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10807: Error: Illegal operands: There are only 32 single precision f registers; [0-31] {standard input}:10809: Error: Illegal operands: There are only 32 single precision f registers; [0-31] Compilation command was: /usr/ports/lang/pike76/work/pike-7.6.13/src/smartlink cc -I. -I/usr/ports/lang/pike76/work/pike-7.6.13/src/modules/Image -I/usr/ports/lang/pike76/work/pike-7.6.13/src -I/usr/ports/lang/pike76/work/pike-7.6.13/src -I/usr/ports/lang/pike76/work/pike-7.6.13/src/bundles/include -I/usr/local/include -DHAVE_CONFIG_H -O -pipe -ffast-math -fomit-frame-pointer -I/usr/ports/lang/pike76/work/pike-7.6.13/src/bundles/include -I/usr/local/include -c search.c -o search.o gmake[2]: *** [search.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/pike76/work/pike-7.6.13/src/modules/Image' gmake[1]: *** [Image] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/pike76/work/pike-7.6.13/src/modules' gmake: *** [module_objects] Error 1 *** Error code 2
bash-2.05b# gcc -v Using built-in specs. Configured with: FreeBSD/sparc64 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 bash-2.05b# uname -a FreeBSD ws01.home.oav.net 5.3-BETA4 FreeBSD 5.3-BETA4 #0: Sun Sep 12 09:11:49 UTC 2004 root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
How this can be fixed ????
/Xavier
Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
/ Brevbäraren
Le 14 sept. 04, à 12:25, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum a écrit :
Humm... According to that bugzilla, this cannot be fixed. Strange thing is that we have this bug comming whatever we use --with-machine-code or not....
Note that pike 7.6 is marked as broken on sparc64 and amd64 platforms on FreeBSD... so bad ;(
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
The way I read it you only have to install an unbuggy binutils. Are there more conditions I missed?
/ Peter Bortas
Previous text:
2004-09-14 14:25: Subject: Re: Failure to compile Pike 7.6 on FreeBSD sparc 64 :
Le 14 sept. 04, à 12:25, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum a écrit :
Humm... According to that bugzilla, this cannot be fixed. Strange thing is that we have this bug comming whatever we use --with-machine-code or not....
Note that pike 7.6 is marked as broken on sparc64 and amd64 platforms on FreeBSD... so bad ;(
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
/ Brevbäraren
My interpertation as well. Go fix your broken system, then recompile.
/ Marcus Agehall (PacketFront)
Previous text:
2004-09-14 14:28: Subject: Re: Failure to compile Pike 7.6 on FreeBSD sparc 64 :
The way I read it you only have to install an unbuggy binutils. Are there more conditions I missed?
/ Peter Bortas
Le 14 sept. 04, à 14:30, Peter Bortas @ Pike developers forum a écrit :
The way I read it you only have to install an unbuggy binutils. Are there more conditions I missed?
Yes but this is for _Linux_ not for freeBSD and freebsd binutils are not Linux ones..
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
Uh, it's a generic problem with binutils 2.15 and sparc64 AFAICS, not anything OS-related.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-09-14 17:50: Subject: Re: Failure to compile Pike 7.6 on FreeBSD sparc 64 :
Le 14 sept. 04, à 14:30, Peter Bortas @ Pike developers forum a écrit :
The way I read it you only have to install an unbuggy binutils. Are there more conditions I missed?
Yes but this is for _Linux_ not for freeBSD and freebsd binutils are not Linux ones..
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
/ Brevbäraren
In the last episode (Sep 14), Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum said:
Previous text:
2004-09-14 17:50: Subject: Re: Failure to compile Pike 7.6 on FreeBSD sparc 64 :
Le 14 sept. 04, à 14:30, Peter Bortas @ Pike developers forum a écrit :
The way I read it you only have to install an unbuggy binutils. Are there more conditions I missed?
Yes but this is for _Linux_ not for freeBSD and freebsd binutils are not Linux ones..
Uh, it's a generic problem with binutils 2.15 and sparc64 AFAICS, not anything OS-related.
Replacing missing context for David O'Brien's benefit (he's the FreeBSD binutils guy):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15247
FreeBSD and Linux binutils should be pretty similar. Note that the fix has not been put into the binutils 2.15 branch, however. It was only added to binutils HEAD, so I doubt many of the Linux dists have this fix either.
David, do you have any suggestions as to how to fix this? Taking sparc-opc.c off the vendor branch is probably not a solution you're interested in :) Maybe we can bug the binutils people into committing this to the 2.15 branch?
Righto. So what does the FreeBSD binutils equivalent maintainer say?
/ Peter Bortas
Previous text:
2004-09-14 17:50: Subject: Re: Failure to compile Pike 7.6 on FreeBSD sparc 64 :
Le 14 sept. 04, à 14:30, Peter Bortas @ Pike developers forum a écrit :
The way I read it you only have to install an unbuggy binutils. Are there more conditions I missed?
Yes but this is for _Linux_ not for freeBSD and freebsd binutils are not Linux ones..
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
/ Brevbäraren
pike-devel@lists.lysator.liu.se