> Using either NetBSD 1.6.2 make, or NetBSD pkgsrc gmake to build 0.9.8a > seems to result in a continuous make loop.
Well, the make loop problem doesn't seem to be specific to NetBSD. If you delete libcrypto.a and don't run 'make clean', all makes end up in end-less loop. > After some debugging, I realized that it was a partial previous build > had left crypto/lib present, but not libcrypto.a. A make clean solved > the problem. > > So: > ./Configure no-threads BSD-x86 > make > (fails at s512base2-out.s...) 1. It's s512sse2-*.s, where sse2 refers to Intel P4 SSE2 instruction extensions. Which implies that your assembler is expected to be up-to-date to handle it. If it's note the case, then you should pass no-sse2 option at configure stage. 2. NetBSD versioning is not my strong side, but if version in question is ELF-based, then you should use BSD-x86-elf. Essentially we recommend to use ./config, which is expected to at least tell apart ELF and non-ELF flavors, but it also attempt to pass no-sse2 when appropriate. > It appears that somewhere along the way we wind up with: > > istari-[/sandel/src/openssl-0.9.8a] mcr 1166 %ls -l libcrypto.a crypto/lib > ls: libcrypto.a: No such file or directory > - -rw-r--r-- 1 mcr wheel 0 Nov 3 22:05 crypto/lib > > I tried this, but it didn't help. Perhaps it needs to be applied to all > files down the tree. What's "this" and what's "help." If "this" is proposed patch and "help" is no more end-less loop, then it helps. You end up with a lot of unresolved reference errors, but it doesn't exhaust the process table. I'd say "no loop" is good enough solution, as 'make clean' is more than appropriate in such situation. > This posting is partly to fill google with an answer. > > - --- openssl-0.9.8a.orig/crypto/Makefile Thu Nov 3 21:50:18 2005 > +++ openssl-0.9.8a/crypto/Makefile Thu Nov 3 22:00:01 2005 > @@ -94,12 +94,14 @@ > @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS) > @target=links; $(RECURSIVE_MAKE) > > - -lib: $(LIBOBJ) > +lib: $(LIB) > + @touch lib > + > +$(LIB): $(LIBOBJ) > $(AR) $(LIB) $(LIBOBJ) > $(RANLIB) $(LIB) || echo Never mind. > - - @touch lib > > - -shared: buildinf.h lib subdirs > +shared: buildinf.h lib subdirs > if [ -n "$(SHARED_LIBS)" ]; then \ > (cd ..; $(MAKE) $(SHARED_LIB)); \ > fi ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
