[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-multimedia
Subject:    Re: Updated mythtv-fixes port
From:       Alexander Leidinger <Alexander () Leidinger ! net>
Date:       2007-03-25 19:48:31
Message-ID: 20070325214831.75617a41 () Magellan ! Leidinger ! net
[Download RAW message or body]

Quoting Geoff Buckingham <geoffb@chuggalug.clues.com> (Sun, 25 Mar 2007 11:27:00 +0000):

> The upstream configure script, common to both ports, fails to detect the
> CPU correctly under freebsd. THe best it can do is get i386 from uname.
> (Not sure what happens in x86_64. Anybody know?)

Currently: amd64

> As a result it uses -march=i386 during the ports build process. With my patch
> to configure you should get -march=<your cpu family> and get -DMMX if your
> cpu has mmx. On an Athlon 64 3200+ (i386 FreeBSD) i found this reduced CPU
> utilisation during playback of a DVB-T mpeg2 from around 30% to around 10%.

Does it get it from uname, or via the target arch of configure? If it
is the later, I have a patch to let the ports change this to the CPU:
  http://www.Leidinger.net/FreeBSD/port-patches/Mk:bsd.port.mk.diff

With my patch the amd64 case will change to x86_64.

Bye,
Alexander.

-- 
A man of quality does not fear a woman seeking equality.
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
_______________________________________________
freebsd-multimedia@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic