Subject: Re: Re: anyone compiled ffmpeg ?
To: None <segv@netctl.net>
From: Joel CARNAT <joel@carnat.net>
List: port-sparc64
Date: 11/16/2005 13:35:35
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

OK, I applied the patch on top of my -rnetbsd-3 source tree.
Now ffmpeg compiles :)

thank you !

On Tue, Nov 15 2005 - 13:55, segv@netctl.net wrote:
> On Tue, 15 Nov 2005 14:42:03 +0100
> Joel CARNAT <joel@carnat.net> wrote:
>=20
> > Hi,
> >=20
> > I'm trying to compile multimedia/ffmpeg and get :
> >  cc -O2 -O2 -pipe -mcpu=3Dultrasparc -mvis
> > -I/usr/pkgsrc/multimedia/ffmpeg/work/.buildlink/include -O3 -Wall
> > -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE
> > -D_GNU_SOURCE -c ratecontrol.c  -fPIC -DPIC -o .libs/ratecontrol.o
> > {standard input}: Assembler messages:
> > {standard input}:875: Error: Illegal operands: There are only 32 single
> > precision f registers; [0-31]
> > {standard input}:879: Error: Illegal operands: There are only 32 single
> > precision f registers; [0-31]
> > {standard input}:882: Error: Illegal operands: There are only 32 single
> > precision f registers; [0-31]
> > make[1]: *** [ratecontrol.o] Error 1
> > make[1]: Leaving directory
> > `/usr/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.4.8/libavcodec'
> > gmake: *** [lib] Error 2
> > *** Error code 2
> >=20
> > I tried disabling any extra *FLAGS (in mk.conf) but it still fails :
> >  cc -O2 -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=3D64
> > -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c ratecontrol.c  -fPIC -DPIC -o
> > .libs/ratecontrol.o
> >  cc -O2 -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=3D64
> > -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c ratecontrol.c -o ratecontrol.o
> > >/dev/null 2>&1
> > make[1]: *** [ratecontrol.o] Error 1
> > make[1]: Leaving directory
> > `/usr/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.4.8/libavcodec'
> > gmake: *** [lib] Error 2
> > *** Error code 2
> >=20
> >=20
> > anyone succeeded in compiling multimedia/ffmpeg (for 3.0_BETA) ?
>=20
> I think it's down to a bug in binutils. I had similar errors when compili=
ng
> NetBSD release for sparc64. They have incorporated patches into NetBSD-cu=
rrent
> that seem to fix such problems
>=20
> See my PR report:
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=3D29689
>=20
> Also the following line:
>=20
> >  cc -O2 -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=3D64
> > -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c ratecontrol.c -o ratecontrol.o
> > >/dev/null 2>&1
>=20
> redirects error messages to /dev/null, so you can't see why it's failing.

--=20
,- This mail runs ------.
`--------- NetBSD/smtp -'

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDeyeX0/VH7L7F7Y4RAu5vAJwOxzmKWRi2wBtjWby6zVbC1ev1fwCfUwi8
AV5kjJdoHk5bQ7U0myRXYPk=
=gGKO
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--