> I tried to make OpenSSL ver.1.0.0 on MacOSX. > But I failed to 'make test', it said 'Bad cpu type' > > Maybe, It is occurred by 'crypto/perlasm/ppc-xlate.pl' . > In 61 lines > $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any"); > > In my environment, $flavour is 'osx32', so $arch becomes 'ppc970'. > But G4 is the cpu on my computer, not ppc970(G5). > > I changed that line to > $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any");
You must mean value other than "ppc970", e.g. "ppc7400"... Either way, it's not correct solution. > Then I can built it up normaly. To double-check. Compiling itself is fine, it's first program in 'make test' that refuses to start. Correct solution is http://cvs.openssl.org/chngview?cn=19546. As workaround you can configure with the extra argument depicted in above mentioned commit: ./config -Wa,-force_cpusubtype_ALL A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
