Comments (8)
Hi,
Could you add the machine and Os spec on this item - thanks.
from openexr.
We are building in KVM (ppc970) and OS is openSUSE Factory (read almost equal to upcomming 12.2)
The same occurs with building it on PowerLinux 7R2 machine (Power7)
from openexr.
Thanks for the update. I can start taking a look week after next
from openexr.
Cool, let me know, If I can provide additional information here..
from openexr.
I'm seeing the same issue with 1.0.3 on Fedora when building natively on ARM using a PandaBoard.
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=1114202
Excerpt:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -I.. -I../Iex -I../config -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pthread -c IexMathFpu.cpp -fPIC -DPIC -o .libs/IexMathFpu.o
IexMathFpu.cpp: In function 'void Iex::FpuControl::restoreControlRegs(const ucontext_t&, bool)':
IexMathFpu.cpp:253:30: error: 'const mcontext_t' has no member named 'fpregs'
IexMathFpu.cpp:255:5: error: '_fpstate' was not declared in this scope
IexMathFpu.cpp:255:16: error: 'kfp' was not declared in this scope
IexMathFpu.cpp:255:39: error: expected type-specifier before '_fpstate'
IexMathFpu.cpp:255:39: error: expected '>' before '_fpstate'
IexMathFpu.cpp:255:39: error: expected '(' before '_fpstate'
IexMathFpu.cpp:255:49: error: expected primary-expression before '>' token
IexMathFpu.cpp:255:69: error: 'const mcontext_t' has no member named 'fpregs'
IexMathFpu.cpp:255:76: error: expected ')' before ';' token
make[1]: *** [IexMathFpu.lo] Error 1
from openexr.
I think we have it fixed. Both arm and PowerPC with following patch:
Index: IexMath/IexMathFpu.cpp
--- IexMath/IexMathFpu.cpp.orig
+++ IexMath/IexMathFpu.cpp
@@ -52,7 +52,7 @@
#endif
-#ifdef HAVE_UCONTEXT_H
+#if defined(HAVE_UCONTEXT_H) && (defined(x86_64) || defined(i386))
#include <ucontext.h>
from openexr.
FWIW this issue seems to apply to all archs except for amd64 and i386. (Tested: s390, amr, mipsel, ia64, PowerPC)
from openexr.
Fixed in the internal repo, will be available in v2.2.
from openexr.
Related Issues (20)
- Unsafe pattern in OpenEXRCore with custom read/write fns
- [Docs] hex values for pixel data in the "Sample File" in the docs don't match the floating point values HOT 4
- CMake config target OpenEXR::Iex depends on OpenEXR::IlmThreadConfig instead of OpenEXR::IexConfig
- I don't know how to install OpenEXR HOT 9
- MinGW warning: incompatible pointer type HOT 7
- MINGW : bad use of __cpuid() HOT 10
- MINGW : WidenFilename() not declared HOT 3
- macOS <= 10.8 (only Intel with clang) fails with: error: unknown type name 'dispatch_semaphore_t' HOT 11
- [WIN] Instructions on how to generate dll for x86 HOT 2
- Can't use OpenEXR in my own CMakeLists.txt on Windows due to zlib HOT 3
- -DOPENEXR_ENABLE_THREADING=OFF does not seems to work on Windows and MacOS HOT 2
- Test suite fails with on x86-64 if F16C intrinsics used HOT 16
- Add VFX Platform 2023 to CI Build Matrix HOT 1
- SSE2 test inconsistency on i686
- testDWAACompression and testDWABCompression fail on aarch64, i686 HOT 12
- implicit declaration of function 'vld1q_f32_x2' HOT 3
- memory leak in exrmultipart
- Huffman performance regression HOT 4
- Errors building openexr in gimp HOT 8
- dll's for Windows HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openexr.