MantisBT - ParaView
View Issue Details
0015870ParaView(No Category)public2015-12-10 13:532016-02-24 19:11
Orion Poplawski 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
 
 
TBD
incorrect functionality
0015870: 5.0.0 Build failure on arm
Building 5.0.0-RC1 for Fedora Rawhide on arm:

/builddir/build/BUILD/ParaView-v5.0.0-RC1-source/fedora/CommandLineExecutables/paraview-config-forward.c: In function '__cpuid':
/builddir/build/BUILD/ParaView-v5.0.0-RC1-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-RC1-source/fedora/CommandLineExecutables/paraview-config-forward.c: In function 'check_xcr0_ymm':
/builddir/build/BUILD/ParaView-v5.0.0-RC1-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-RC1-source/fedora/CommandLineExecutables/paraview-config-forward.c: In function 'get_cpu_features':
/builddir/build/BUILD/ParaView-v5.0.0-RC1-source/fedora/CommandLineExecutables/paraview-config-forward.c:124:3: error: unknown register name '%edx' in 'asm'
   __asm__("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx");
   ^
No tags attached.
Issue History
2015-12-10 13:53Orion PoplawskiNew Issue
2016-01-05 21:18Orion PoplawskiNote Added: 0035635
2016-01-06 10:49Utkarsh AyachitNote Added: 0035636
2016-01-06 10:49Utkarsh AyachitStatusbacklog => gatekeeper review
2016-01-06 10:49Utkarsh AyachitResolutionopen => fixed
2016-01-06 10:49Utkarsh AyachitAssigned To => Utkarsh Ayachit
2016-01-06 13:11Utkarsh AyachitStatusgatekeeper review => customer review
2016-02-24 19:11Alan ScottNote Added: 0035791
2016-02-24 19:11Alan ScottStatuscustomer review => closed

Notes
(0035635)
Orion Poplawski   
2016-01-05 21:18   
This is still blocking our Fedora builds of paraview. From what I've gathered, it looks like cpuid is only available in privileged mode on arm, and that you really should be querying the OS for cpu features anyway.
(0035636)
Utkarsh Ayachit   
2016-01-06 10:49   
MR: https://gitlab.kitware.com/paraview/paraview/merge_requests/559 [^]
(0035791)
Alan Scott   
2016-02-24 19:11   
Trusting Utkarsh, closing untested.