Giter Club home page Giter Club logo

Comments (8)

pstanczyk avatar pstanczyk commented on May 28, 2024

Hi,

Could you add the machine and Os spec on this item - thanks.

from openexr.

k0da avatar k0da commented on May 28, 2024

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.

pstanczyk avatar pstanczyk commented on May 28, 2024

Thanks for the update. I can start taking a look week after next

from openexr.

k0da avatar k0da commented on May 28, 2024

Cool, let me know, If I can provide additional information here..

from openexr.

nullr0ute avatar nullr0ute commented on May 28, 2024

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.

k0da avatar k0da commented on May 28, 2024

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.

ametzler avatar ametzler commented on May 28, 2024

FWIW this issue seems to apply to all archs except for amd64 and i386. (Tested: s390, amr, mipsel, ia64, PowerPC)

from openexr.

nickrasmussen avatar nickrasmussen commented on May 28, 2024

Fixed in the internal repo, will be available in v2.2.

from openexr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.