Date: Tue, 06 Mar 2001 17:07:40 +0900 From: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> To: current@freebsd.org Cc: kris@freebsd.org Subject: secure/lib/libcrypto: "make -jX buildworld" fix Message-ID: <20010306170740Z.matusita@jp.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010306170740Z.matusita>