That's all x86 assembly, not ARM.

It looks like all that program is doing is trying to select a bundled
software mesa implementation. None of those are probably included in the
Fedora build anyway, I'd suggest patching to not build that executable
at all.

On 01/05/2016 06:12 PM, Orion Poplawski wrote:
> paraview is failing to build on arm:
> 
> /builddir/build/BUILD/ParaView-v5.0.0-RC3-source/fedora/CommandLineExecutables/paraview-config-forward.c:
> 
> In function '__cpuid':
> /builddir/build/BUILD/ParaView-v5.0.0-RC3-source/fedora/CommandLineExecutables/paraview-config-forward.c:95:3:
> 
> error: impossible constraint in 'asm'
>    asm volatile("cpuid" : "=a"(out[0]), "=b"(out[1]), "=c"(out[2]),
> "=d"(out[3])
>    ^
> /builddir/build/BUILD/ParaView-v5.0.0-RC3-source/fedora/CommandLineExecutables/paraview-config-forward.c:
> 
> In function 'check_xcr0_ymm':
> /builddir/build/BUILD/ParaView-v5.0.0-RC3-source/fedora/CommandLineExecutables/paraview-config-forward.c:124:3:
> 
> error: unknown register name '%edx' in 'asm'
>    __asm__("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx");
>    ^
> /builddir/build/BUILD/ParaView-v5.0.0-RC3-source/fedora/CommandLineExecutables/paraview-config-forward.c:
> 
> In function 'get_cpu_features':
> /builddir/build/BUILD/ParaView-v5.0.0-RC3-source/fedora/CommandLineExecutables/paraview-config-forward.c:124:3:
> 
> error: unknown register name '%edx' in 'asm'
>    __asm__("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx");
>    ^
> 
> Would someone familiar with arm assembly be willing to take a look?
> Unfortunately this is a generated file, but I've attached at copy.
> 
> Does arm even implement cpuid?
> 
> Thanks.
> 
> 
> 
> --
> devel mailing list
> devel@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
> 
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to