Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 929685 Details for
Bug 1133066
FTBFS on ppc64/ppc64le
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to retrieve arch
cbmc-ppc64.patch (text/plain), 1.38 KB, created by
Menanteau Guy
on 2014-08-22 15:16:49 UTC
(
hide
)
Description:
patch to retrieve arch
Filename:
MIME Type:
Creator:
Menanteau Guy
Created:
2014-08-22 15:16:49 UTC
Size:
1.38 KB
patch
obsolete
>--- src/util/config.cpp.ori >+++ src/util/config.cpp >@@ -336,8 +336,12 @@ void configt::ansi_ct::set_arch_spec_pow > else // ppc64 > set_LP64(); > >+ if(subarch=="ppc64le") >+ endianness=IS_LITTLE_ENDIAN; >+ else >+ endianness=IS_BIG_ENDIAN; >+ > arch=ARCH_POWER; >- endianness=IS_BIG_ENDIAN; > long_double_width=16*8; > char_is_unsigned=true; > >@@ -345,10 +349,13 @@ void configt::ansi_ct::set_arch_spec_pow > { > case MODE_GCC_C: > case MODE_GCC_CPP: >- defines.push_back("__powerpc"); >- defines.push_back("__powerpc__"); >- defines.push_back("__POWERPC__"); >- defines.push_back("__ppc__"); >+ if(subarch=="powerpc") >+ { >+ defines.push_back("__powerpc"); >+ defines.push_back("__powerpc__"); >+ defines.push_back("__POWERPC__"); >+ defines.push_back("__ppc__"); >+ } > if(os==OS_MACOS) > defines.push_back("__BIG_ENDIAN__"); > break; >@@ -1072,9 +1079,15 @@ irep_idt configt::this_architecture() > #elif __mips__ > this_arch="mips"; > #elif __powerpc__ >- this_arch="powerpc"; >- #elif __ppc64__ >- this_arch="ppc64"; >+ #if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || defined(__POWERPC64__) >+ #ifdef __LITTLE_ENDIAN__ >+ this_arch="ppc64le"; >+ #else >+ this_arch="ppc64"; >+ #endif >+ #else >+ this_arch="powerpc"; >+ #endif > #elif __sparc__ > this_arch="sparc"; > #elif __ia64__
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1133066
: 929685 |
929686