View previous topic :: View next topic |
Author |
Message |
Bogogil n00b
Joined: 09 Feb 2005 Posts: 51 Location: NRW, Germany
|
Posted: Tue Nov 29, 2005 10:24 am Post subject: There are only 32 f registers; [0-31] (libmpeg2) [solved] |
|
|
Hello Sparc-Gentooans,
I have a problem updating libmpeg2-0.4.0b and xine-lib-1.1.0-r5:
Both packages complain about "... only 32 f registers; ...". While reading the forums, I found a hint to use
"--with-vis" for configure. But this didn't solve the problem.
Here is what emerge -DuNv world outputs:
Code: | /bin/sh ../../libtool --mode=compile sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -Wall -mtune=v9 -pipe -fomit-frame-pointer -funroll-loops -O3 -fomit-frame-pointer -fno-common -c -o libmpeg2convertarch_la-rgb_vis.lo `test -f 'rgb_vis.c' || echo './'`rgb_vis.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -Wall -mtune=v9 -pipe -fomit-frame-pointer -funroll-loops -O3 -fomit-frame-pointer -fno-common -c rgb_vis.c -fPIC -DPIC -o .libs/libmpeg2convertarch_la-rgb_vis.o
../../include/vis.h:226: warning: 'vis_alignaddr' defined but not used
../../include/vis.h:243: warning: 'vis_alignaddr_g0' defined but not used
../../include/vis.h:258: warning: 'vis_alignaddrl' defined but not used
../../include/vis.h:275: warning: 'vis_alignaddrl_g0' defined but not used
{standard input}: Assembler messages:
{standard input}:96: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:100: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:104: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:117: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:262: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:266: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:270: Error: Illegal operands: There are only 32 f registers; [0-31]
{standard input}:283: Error: Illegal operands: There are only 32 f registers; [0-31]
make[2]: *** [libmpeg2convertarch_la-rgb_vis.lo] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/libmpeg2-0.4.0b/work/mpeg2dec-0.4.0/libmpeg2/convert'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.4.0b/work/mpeg2dec-0.4.0/libmpeg2'
make: *** [all-recursive] Fehler 1
!!! ERROR: media-libs/libmpeg2-0.4.0b failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message. |
Output of emerge --info
Code: | Portage 2.0.51.22-r3 (default-linux/sparc/sparc64/2006.0, gcc-3.4.3, glibc-2.3.3.20040420-r2, 2.6.14-ck5 sparc64)
=================================================================
System uname: 2.6.14-ck5 sparc64 sun4u
Gentoo Base System version 1.6.13
distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.4.23
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O3 -mtune=v9 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=v9 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X Xaw3d aalib acl alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib calendar cdr crypt cscope ctype cups curl dga dlloader dmx eds encode esd exif expat fam fbcon flac foomaticdb fortran freetds ftp gcc64 gdbm gif gimpprint glut gpg gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib jack jpeg kde kerberos krb4 lcms lesstif libwww mad mbox mcal mcrypt mhash mikmod mime mjpeg mmap mng motif mozcalendar mozilla moznocompose moznoirc mpeg mysql mysqli nas ncurses nls odbc ofx ogg oggvorbis openal opengl oscar oss package.keywords package.use pam pcre pdflib perl png posix ppds python qt quicktime readline recode rtc samba sdl sets shared slang snmp sockets spell spl ssl sysvipc tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts v4l2 vim-with-x vorbis wmf wxwindows xine xinerama xml xml2 xmms xpm xprint xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, MAKEOPTS |
I tried some combinations, of which none solved the problem, like sparc-unknown-linux-gnu-3.3.4 and sparc-unknown-linux-gnu-3.4.3, both in
combination with CFLAGS as seen above and CFLAGS = "-O2".
I'm out of ideas.
Simon
Last edited by Bogogil on Tue Nov 29, 2005 8:23 pm; edited 1 time in total |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Nov 29, 2005 11:52 am Post subject: |
|
|
The 2006.0 profile is experimental, you shouldn't use it unless you know what you're doing.
Specially since the upgrade path isn't documented yet and it's not the usual "switch profile, see what's new" method. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
Bogogil n00b
Joined: 09 Feb 2005 Posts: 51 Location: NRW, Germany
|
Posted: Tue Nov 29, 2005 1:21 pm Post subject: |
|
|
Oh.
Well, I just switched back to 2005.1. I had to unmask alsa in use.mask,
because I just had minor problems with sound. Anyway, if I put in an third-party
soundcard, alsa shouldn't be hardmaked I guess....
Thanks for your help - I let you know, if it solved my problem!
Simon |
|
Back to top |
|
|
Bogogil n00b
Joined: 09 Feb 2005 Posts: 51 Location: NRW, Germany
|
Posted: Tue Nov 29, 2005 6:11 pm Post subject: |
|
|
So I changed back to 2005.1, but the error above still exists.
What else could I try? |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Nov 29, 2005 7:06 pm Post subject: |
|
|
That's also because libmpeg2 is braindead.
Use -mtune together with -mcpu in sparc.
See, -mtune only sets non instruction set optimizations on, as in code alignment, thus still being compatible with say v8 processors (supersparc for example).
Problem is probably the configure script "assumes" mtune=v9 means you're doing v9 (ultrasparc) code, and gcc doesn't default to that, thus saying, "hey, VIS is invalid for non-ultra" (which is actually right). Only -mcpu sets ISA optimizations on. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
Bogogil n00b
Joined: 09 Feb 2005 Posts: 51 Location: NRW, Germany
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|