Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92074 - openssl-0.9.7g needs to be tested
Summary: openssl-0.9.7g needs to be tested
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC64 All
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on: 85344
Blocks: 86358
  Show dependency tree
 
Reported: 2005-05-09 22:38 UTC by SpanKY
Modified: 2005-05-22 02:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openssl-0.9.7g-output.txt (openssl-0.9.7g-output.txt,2.88 KB, text/plain)
2005-05-21 10:08 UTC, Markus Rothe (RETIRED)
Details
openssl-ppc64-no-blinux-ppc64.patch (openssl.patch,734 bytes, patch)
2005-05-21 22:34 UTC, Omkhar Arasaratnam (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-05-09 22:38:19 UTC
i cleaned up the 0.9.7g ebuild and added support for cross-compiling, but it needs to be tested

if you're happy with 0.9.7g, then just change '-ppc64' to '~ppc64'
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-05-21 10:08:22 UTC
Created attachment 59467 [details]
openssl-0.9.7g-output.txt

I get this, when I try to compile it.
Comment 2 SpanKY gentoo-dev 2005-05-21 11:39:55 UTC
well, either the ppc64 team is going to have to fix this or someone has to give
me an account on a ppc64 box ... ive asked before but no one has granted me access
Comment 3 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-05-21 22:27:29 UTC
This patch gets it along a little further
Comment 4 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-05-21 22:34:42 UTC
Created attachment 59514 [details, diff]
openssl-ppc64-no-blinux-ppc64.patch

this sed's out that silly -blinux-ppc64 gorp since "-b" is only needed for
cross compile and we're compiling native.

Secondly -b should be one of the first params anyway - long story short, not
needed - now we get a new error
Comment 5 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-05-21 22:37:25 UTC
make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g/crypto/ui'
making all in crypto/krb5...
make[2]: Entering directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g/crypto/krb5'
powerpc64-unknown-linux-gnu-gcc -I.. -I../.. -I../../include -fPIC -
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -
DB_ENDIAN -DTERMIO   -Wall   -c -o krb5_asn.o krb5_asn.c
powerpc64-unknown-linux-gnu-ar r ../../libcrypto.a krb5_asn.o
powerpc64-unknown-linux-gnu-ranlib ../../libcrypto.a || echo Never mind.
make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g/crypto/krb5'
make[2]: Entering directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g'
make[3]: Entering directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g'
libs='-L. '; for i in crypto; do \
if [ "crypto" = "ssl" -a -n "" ]; then \
        libs=" $libs"; \
fi; \
( set -x; powerpc64-unknown-linux-gnu-gcc -bpowerpc64-linux \
        -shared -o lib$i.so.0.9.7 \
        -Wl,-soname=lib$i.so.0.9.7 \
        -Wl,-Bsymbolic \
        -Wl,--whole-archive lib$i.a \
        -Wl,--no-whole-archive $libs -ldl -lc ) || exit 1; \
libs="-l$i $libs"; \
done
+ rm -f libcrypto.so.0
+ rm -f libcrypto.so.0
+ powerpc64-unknown-linux-gnu-gcc -bpowerpc64-linux -shared -o 
libcrypto.so.0.9.7 -Wl,-soname=libcrypto.so.0.9.7 -Wl,-Bsymbolic -Wl,--whole-
archive libcrypto.a -Wl,--no-whole-archive -L. -ldl -lc
+ ln -s libcrypto.so.0.9.7 libcrypto.so.0
+ rm -f libcrypto.so
powerpc64-unknown-linux-gnu-gcc: couldn't run `/usr/powerpc64-unknown-linux-
gnu/gcc-bin/3.4.3/powerpc64-linux-gcc-3.4.3': No such file or directory
+ rm -f libcrypto.so
+ rm -f libcrypto.so.0.9.7
make[3]: *** [do_gnu-shared] Error 1
make[3]: *** Waiting for unfinished jobs....
+ ln -s libcrypto.so.0 libcrypto.so
make[3]: Leaving directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g'
make[2]: *** [libcrypto.so.0.9.7] Error 2
make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g'
make[1]: *** [shared] Error 2
make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.7g/work/openssl-
0.9.7g/crypto'
make: *** [sub_all] Error 1

!!! ERROR: dev-libs/openssl-0.9.7g failed.
!!! Function src_compile, Line 107, Exitcode 2
!!! make all failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 6 SpanKY gentoo-dev 2005-05-22 02:13:35 UTC
ok, Markus gave me a login to his ppc64 box

the additional error was basically the same ... the configure script was forcing
the -b flag into the shared library flags

patched Configure and everything worked nicely so i've added ~ppc64 to 0.9.7g