Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1396814
Summary: | angelscript: FTBFS on PPC64 / PPC64LE | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
Component: | angelscript | Assignee: | Igor Gnatenko <ignatenko> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ignatenko, rdossant |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-25 09:26:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1071880 |
Description
Igor Gnatenko
2016-11-20 13:19:45 UTC
(In reply to Igor Gnatenko from comment #0) > Unfortunately I don't know what should be the fix due to my limited > knowledge about ppc. Angelscript's native ppc calling was written for Playstation PPC 32 bits. It won't work for ppc64. The function calling part needs to be rewritten since it's not even thread safe. I worked with upstream to make ppc64 work on portability mode. The following change should make angelscript build for that arch: Index: sdk/angelscript/source/as_config.h =================================================================== --- sdk/angelscript/source/as_config.h (revision 2360) +++ sdk/angelscript/source/as_config.h (working copy) @@ -931,6 +931,7 @@ #define STDCALL_RETURN_SIMPLE_IN_MEMORY #undef STDCALL #define STDCALL + #define AS_MAX_PORTABILITY #else #define AS_MAX_PORTABILITY #endif (In reply to Rafael Fonseca from comment #1) > (In reply to Igor Gnatenko from comment #0) > > Unfortunately I don't know what should be the fix due to my limited > > knowledge about ppc. > > Angelscript's native ppc calling was written for Playstation PPC 32 bits. It > won't work for ppc64. The function calling part needs to be rewritten since > it's not even thread safe. I thought there is for PPC 32 bits and for 64 bits: * ../sdk/angelscript/source/as_callfunc_ppc.cpp * ../sdk/angelscript/source/as_callfunc_ppc_64.cpp > > I worked with upstream to make ppc64 work on portability mode. The following > change should make angelscript build for that arch: > > Index: sdk/angelscript/source/as_config.h > =================================================================== > --- sdk/angelscript/source/as_config.h (revision 2360) > +++ sdk/angelscript/source/as_config.h (working copy) > @@ -931,6 +931,7 @@ > #define STDCALL_RETURN_SIMPLE_IN_MEMORY > #undef STDCALL > #define STDCALL > + #define AS_MAX_PORTABILITY > #else > #define AS_MAX_PORTABILITY > #endif Will try, thanks! |