Re: help with mplayer bug 431139
On Mon, Aug 27, 2007 at 12:33:44PM +0200, A Mennucc wrote:
> I am currently tryin to figure out what I should set in '-mcpu' : is it
> DEB_HOST_GNU_CPU ?
Er, preferably nothing at all. There's no good reason to be overriding
gcc's default optimization here; your package should be targetting the same
instruction set as the rest of the Debian architecture, whatever that
happens to be at the time.
At the moment, I believe -mcpu=ev5 happens to be the correct option.
> > ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
> > conf_args += --build $(DEB_BUILD_GNU_TYPE)
> > else
> > conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
> > endif
> >
> > ./configure $(conf_args) [...]
> but this part is not, since "./configure" in mplayer is not
> autoconf-generated, and there is no --build or --host option
Oh, spew.
Can someone hit mplayer upstream with a very large cluebat, please?
On Mon, Aug 27, 2007 at 01:54:22PM +0200, A Mennucc wrote:
> I prepared a patch that may solve the problem ; but unfortunately I
> cannot test it, since I do not have access to alpha machines.
> The source is
> http://tonelli.sns.it/pub/mplayer/sid/mplayer_1.0~rc1-16.dsc
> http://tonelli.sns.it/pub/mplayer/sid/mplayer_1.0~rc1-16.diff.gz
> http://tonelli.sns.it/pub/mplayer/mplayer_1.0~rc1.orig.tar.gz
> (it is signed).
> If someone can test it, I would appreciate
Trying to build this package fails for me on alpha at:
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).
The failure in configure.log is:
cc -O4 -march=ev5 -mcpu=ev5 -pipe -ffast-math -fomit-frame-pointer -o /tmp/mplayer-conf-12199-5493.o /tmp/mplayer-conf-21897-5493.c
cc1: error: unrecognized command line option "-march=ev5"
ldd /tmp/mplayer-conf-12199-5493.o
ldd: /tmp/mplayer-conf-12199-5493.o: No such file or directory
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Reply to: