Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2009 17:22:39 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-multimedia@FreeBSD.org
Cc:        Dirk Meyer <dinoex@FreeBSD.org>, Oliver Lehmann <oliver@FreeBSD.org>
Subject:   Re: libmad mp3 distortions
Message-ID:  <4AB397AF.4070804@icyb.net.ua>
In-Reply-To: <4AAF7604.3070304@icyb.net.ua>
References:  <4AAF7604.3070304@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

BTW, something that I've noticed while investigating this issue.

During libmad configure stage on amd64:
...
checking host system type... amd64-portbld-freebsd9.0
...
checking for architecture-specific fixed-point math routines... DEFAULT
configure: WARNING: default fixed-point math will yield limited accuracy
...

We do not specify explicit --enable-fpm option.
configure seems to have some auto detection logic, but it won't properly work on
amd64 platform, probably because linux guys call it differently - from configure.ac:
if test -z "$FPM" && test "$GCC" = yes
then
    case "$host" in
        i?86-*)     FPM="INTEL"  ;;
        arm*-*)     FPM="ARM"    ;;
        mips*-*)    FPM="MIPS"   ;;
        sparc*-*)   FPM="SPARC"  ;;
        powerpc*-*) FPM="PPC"    ;;
        # FIXME: need to test for 64-bit long long...
    esac
fi

On i386 configure auto-picks "INTEL".

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB397AF.4070804>