| Summary: | tpm_crypto_freebl.c:1853:2: error: #error "Cannot determine 32 or 64 bit platform" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
| Component: | libtpms | Assignee: | Stefan Berger <stefanb> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | stefanb |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | powerpc | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-08 12:08:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Karsten Hopp
2011-08-04 12:38:27 UTC
Thanks for reporting. To me it was actually a known problem since we only enabled those architectures that we had tested it on, which does include __powerpc64__, though.
#if defined (__x86_64__) || \
defined(__amd64__) || \
defined(__ia64__) || \
defined(__powerpc64__)
#define IS_64
typedef PRUint64 SHA_HW_t;
#elif defined (__i386__)
typedef PRUint32 SHA_HW_t;
#undef IS_64
#else
#error "Cannot determine 32 or 64 bit platform"
#endif
The apparance of __ia64__ should not lead to the conclusion that we tested it on that type of arch, though. :-/
I'll look into it.
I updated libtpms to 0.5.1-8 with build for __powerpc__ enabled. Please verify. works as expected. Thanks for the fix ! http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=270230 |