Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86968 Details for
Bug 130653
Slow OpenSSL 64bit performance - fails tests with optimization flags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Update the ebuild for openssl-0.9.7i to give large speed improvement.
openssl.patch (text/plain), 987 bytes, created by
Joshua (RETIRED)
on 2006-05-17 18:08:12 UTC
(
hide
)
Description:
Update the ebuild for openssl-0.9.7i to give large speed improvement.
Filename:
MIME Type:
Creator:
Joshua (RETIRED)
Created:
2006-05-17 18:08:12 UTC
Size:
987 bytes
patch
obsolete
>--- /usr/portage/dev-libs/openssl/openssl-0.9.7i.ebuild 2006-05-14 23:35:36.000000000 +0800 >+++ openssl/openssl-0.9.7i.ebuild 2006-05-18 08:23:17.000000000 +0800 >@@ -56,14 +56,16 @@ > append-flags -Wa,--noexecstack > > # replace CFLAGS >+ [[ $(tc-arch) == "ppc64" ]] && replace-flags -Os -O >+ [[ $(tc-arch) == "ppc64" ]] && replace-flags -O2 -O >+ [[ $(tc-arch) == "ppc64" ]] && replace-flags -O3 -O > OLDIFS=$IFS > IFS=$'\n' > for a in $( grep -n -e "^\"linux-" Configure ); do > LINE=$( echo $a | awk -F: '{print $1}' ) > CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' ) > NEW_CFLAGS=$(echo $CUR_CFLAGS | LC_ALL=C sed -r -e "s|-O[23]||" -e "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::") >- # ppc64's current toolchain sucks at optimization and will break this package >- [[ $(tc-arch) != "ppc64" ]] && NEW_CFLAGS="${NEW_CFLAGS} ${CFLAGS}" >+ NEW_CFLAGS="${NEW_CFLAGS} ${CFLAGS}" > > sed -i "${LINE}s:$CUR_CFLAGS:$NEW_CFLAGS:" Configure || die "sed failed" > done
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 130653
: 86968