From owner-freebsd-current Tue Mar 6 0: 8: 5 2001 Delivered-To: freebsd-current@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id 1548737B719; Tue, 6 Mar 2001 00:08:00 -0800 (PST) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f2687t216570; Tue, 6 Mar 2001 17:07:56 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: kris@freebsd.org X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.2 (Poseidon) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 41 From: Makoto MATSUSHITA To: current@freebsd.org Subject: secure/lib/libcrypto: "make -jX buildworld" fix Date: Tue, 06 Mar 2001 17:07:40 +0900 Message-Id: <20010306170740Z.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've found that current libcrypto/Makefile is not parallel make(1) unfriendly, since it creates a temporary file to as(1). Followings are sample session log with "make buildworld -j2": perl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm/des-586.pl elf 386 > des-586.pl.s ; as des-586.pl.s -o des-586.o perl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm/des-586.pl elf 386 > des-586.pl.s ; as des-586.pl.s -o des-586.po perl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm/des-586.pl elf 386 > des-586.pl.s ; as des-586.pl.s -o des-586.So des-586.pl.s: Assembler messages: des-586.pl.s:1: Error: Rest of line ignored. First ignored character is `,'. *** Error code 1 If there is no mean to create *.pl.s, how about using a pipe to pass an assembler code to as(1) ? Index: Makefile =================================================================== RCS file: /home/ncvs/src/secure/lib/libcrypto/Makefile,v retrieving revision 1.35 diff -u -r1.35 Makefile --- Makefile 2001/03/04 23:14:50 1.35 +++ Makefile 2001/03/06 07:52:59 @@ -384,12 +384,12 @@ .SUFFIXES: .po .pl .SUFFIXES: .So .pl .pl.o: - perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET) + perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} | ${AS} ${AFLAGS} - -o $(.TARGET) .pl.po: - perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET) + perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} | ${AS} ${AFLAGS} - -o $(.TARGET) .pl.So: - perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET) + perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} | ${AS} ${AFLAGS} - -o $(.TARGET) .endif -- - Makoto `MAR' MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message