From Fedora Project Wiki
(Created page with "= ppc64p7 subarch page = The intent of this page is to track progress and packages in Fedora that have been optimized for POWER7 using the ppc64p7 subarch.") |
|||
Line 1: | Line 1: | ||
= ppc64p7 subarch page = | = ppc64p7 subarch page = | ||
The intent of this page is to track progress and packages in Fedora that have been optimized for POWER7 using the ppc64p7 subarch. | The intent of this page is to track progress and packages in Fedora that have been optimized for POWER7 using the ppc64p7 subarch. | ||
{| | |||
! Package !! Status !! Comments | |||
|- | |||
| zlib || Builds with no edit || | |||
|- | |||
| bzip2 || Builds with no edit || | |||
|- | |||
| libxml2 || Builds with no edit || | |||
|- | |||
| pcre || Builds with no edit || | |||
|- | |||
| httpd || Builds with no edit but see comments || Has 2 ppc64 ifarches | |||
1) # multilib header hacks | |||
2) # hack to let 32- and 64-bit tests run concurrently on same build machine | |||
|- | |||
| mysql || Builds with no edit || | |||
|- | |||
| php || Builds with no edit || | |||
|- | |||
| postgresql || Builds with no edit but see comments || Has 1 ppc64 ifarch | |||
1) # multilib header hack; note pg_config.h is installed in two places! | |||
|- | |||
| sendmail || Builds with no edit but see comments|| Has 1 ppc64p7 ifarch | |||
1) redhat.config.m4 → APPENDDEF(\`confOPTIMIZE', \`-DSM_CONF_SHM=0') | |||
|- | |||
| postfix || Builds with no edit || | |||
|- | |||
| pam || Builds with no edit || | |||
|- | |||
| binutils || Requires trivial patch to spec to set target_platform || <pre>--- binutils.spec.orig 2012-03-16 11:41:47.000000000 -0400 | |||
+++ binutils.spec 2012-04-28 11:15:10.972120664 -0400 | |||
@@ -179,6 +179,11 @@ | |||
done | |||
touch */configure | |||
+%ifarch ppc64p7 | |||
+%define _target_platform %{_arch}-%{_vendor}-%{_host_os} | |||
+%endif | |||
+ | |||
+ | |||
%build | |||
echo target is %{binutils_target} | |||
export CFLAGS="$RPM_OPT_FLAGS" | |||
@@ -203,7 +208,6 @@ | |||
CFLAGS="$CFLAGS -O0 -ggdb2" | |||
%define enable_shared 0 | |||
%endif | |||
- | |||
# We could optimize the cross builds size by --enable-shared but the produced | |||
# binaries may be less convenient in the embedded environment. | |||
%configure \ | |||
</pre> | |||
|- | |||
| openssl || Builds with trivial patch to spec to set ssl_arch || <pre>--- openssl.spec.orig 2012-03-23 12:40:25.000000000 -0500 | |||
+++ openssl.spec 1970-01-31 22:58:33.750002532 -0600 | |||
@@ -21,7 +21,7 @@ | |||
Summary: A general purpose cryptography library with TLS implementation | |||
Name: openssl | |||
Version: 1.0.0h | |||
-Release: 1%{?dist} | |||
+Release: 2%{?dist} | |||
Epoch: 1 | |||
# We have to remove certain patented algorithms from the openssl source | |||
# tarball with the hobble-openssl script which is included below. | |||
@@ -213,6 +213,9 @@ | |||
%ifarch %{arm} sh3 sh4 | |||
sslarch=linux-generic32 | |||
%endif | |||
+%ifarch ppc64p7 | |||
+sslarch=linux-ppc64 | |||
+%endif | |||
# ia64, x86_64, ppc, ppc64 are OK by default | |||
# Configure the build tree. Override OpenSSL defaults with known-good defaults | |||
# usable on all platforms. The Configure script already knows to use -fPIC and | |||
</pre> | |||
|- | |||
| gcc || debugging build problem || | |||
|- | |||
| glibc || debugging build problem || | |||
|- | |||
| python || debugging build problem || | |||
|- | |||
| kernel || defer to updates for F18? || | |||
|} |
Revision as of 15:45, 3 May 2012
ppc64p7 subarch page
The intent of this page is to track progress and packages in Fedora that have been optimized for POWER7 using the ppc64p7 subarch.
Package | Status | Comments |
---|---|---|
zlib | Builds with no edit | |
bzip2 | Builds with no edit | |
libxml2 | Builds with no edit | |
pcre | Builds with no edit | |
httpd | Builds with no edit but see comments | Has 2 ppc64 ifarches
1) # multilib header hacks 2) # hack to let 32- and 64-bit tests run concurrently on same build machine |
mysql | Builds with no edit | |
php | Builds with no edit | |
postgresql | Builds with no edit but see comments | Has 1 ppc64 ifarch
1) # multilib header hack; note pg_config.h is installed in two places! |
sendmail | Builds with no edit but see comments | Has 1 ppc64p7 ifarch
1) redhat.config.m4 → APPENDDEF(`confOPTIMIZE', `-DSM_CONF_SHM=0') |
postfix | Builds with no edit | |
pam | Builds with no edit | |
binutils | Requires trivial patch to spec to set target_platform | --- binutils.spec.orig 2012-03-16 11:41:47.000000000 -0400 +++ binutils.spec 2012-04-28 11:15:10.972120664 -0400 @@ -179,6 +179,11 @@ done touch */configure +%ifarch ppc64p7 +%define _target_platform %{_arch}-%{_vendor}-%{_host_os} +%endif + + %build echo target is %{binutils_target} export CFLAGS="$RPM_OPT_FLAGS" @@ -203,7 +208,6 @@ CFLAGS="$CFLAGS -O0 -ggdb2" %define enable_shared 0 %endif - # We could optimize the cross builds size by --enable-shared but the produced # binaries may be less convenient in the embedded environment. %configure \ |
openssl | Builds with trivial patch to spec to set ssl_arch | --- openssl.spec.orig 2012-03-23 12:40:25.000000000 -0500 +++ openssl.spec 1970-01-31 22:58:33.750002532 -0600 @@ -21,7 +21,7 @@ Summary: A general purpose cryptography library with TLS implementation Name: openssl Version: 1.0.0h -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 # We have to remove certain patented algorithms from the openssl source # tarball with the hobble-openssl script which is included below. @@ -213,6 +213,9 @@ %ifarch %{arm} sh3 sh4 sslarch=linux-generic32 %endif +%ifarch ppc64p7 +sslarch=linux-ppc64 +%endif # ia64, x86_64, ppc, ppc64 are OK by default # Configure the build tree. Override OpenSSL defaults with known-good defaults # usable on all platforms. The Configure script already knows to use -fPIC and |
gcc | debugging build problem | |
glibc | debugging build problem | |
python | debugging build problem | |
kernel | defer to updates for F18? |
|