On lun, dic 30, 2013 at 03:22:38 +0100, Aurelien Jarno wrote:
> Package: mpv
> Version: 0.3.0-1
> Severity: serious
> Tags: upstream patch
> Justification: fails to build from source (but built successfully in the past)
> 
> mpv fails to build from source on mips/mipsel/powerpc/sparc with the
> following error message:
> 
> | [243/243] linking -> build/mpv
> | common/msg.c.10.o: In function `mp_msg_update_msglevels':
> | /«PKGBUILDDIR»/build/../common/msg.c:243: undefined reference to 
> `__sync_add_and_fetch_8'
> | collect2: error: ld returned 1 exit status
> | Waf: Leaving directory `/«PKGBUILDDIR»/build'
> | Build failed

Yeah, I'm already working on a patch (which would use __atomic built-ins
directly) with upstream.

> --- mpv-0.3.0/debian/control
> +++ mpv-0.3.0/debian/control
> @@ -45,7 +45,8 @@
>   pkg-config,
>   python,
>   python-docutils,
> - yasm
> + yasm,
> + gcc-4.8

I'd rather build-depends on gcc-4.8 (and use it directly) only where it's
needed ([powerpc, sparc]), since e.g. ia64 (and all the other *64) will work
just fine with the default 4.6.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature

Reply via email to