From owner-freebsd-current Sun Feb 28 8:34:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from k6n1.znh.org (unknown [207.109.235.39]) by hub.freebsd.org (Postfix) with ESMTP id C8A3D15250 for ; Sun, 28 Feb 1999 08:34:20 -0800 (PST) (envelope-from zach@uffdaonline.net) Received: (from zach@localhost) by k6n1.znh.org (8.9.3/8.9.1) id QAA37144 for current@freebsd.org; Sun, 28 Feb 1999 16:33:15 GMT (envelope-from zach) Message-ID: <19990228103315.A37048@znh.org> Date: Sun, 28 Feb 1999 10:33:15 -0600 From: Zach Heilig To: current@freebsd.org Subject: Some (a.out) world breakage... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Make world (with no -DNOAOUT or whatever that switch is), ends up like this: -------------------------------------------------------------- >>> Building legacy libraries -------------------------------------------------------------- .... (echo '#define LENGTH 20'; sed -e 's/mdX/sha/g' -e 's/MDX/SHA_/g' -e 's/SHA__/SHA_/g' /usr/src/lib/libmd/mdXhl.c) > sha0hl.c cc -O -pipe -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF -I/usr/obj/aout/usr/src/tmp/usr/include -c sha0hl.c -o sha0hl.o cc -O -pipe -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/lib/libmd/sha1c.c -o sha1c.o (echo '#define LENGTH 20'; sed -e 's/mdX/sha/g' -e 's/MDX/SHA1_/g' -e 's/SHA1__/SHA1_/g' /usr/src/lib/libmd/mdXhl.c) > sha1hl.c cc -O -pipe -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF -I/usr/obj/aout/usr/src/tmp/usr/include -c sha1hl.c -o sha1hl.o cc -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/lib/libmd/i386/sha.S -o sha.o sha1-586.s: Assembler messages: sha1-586.s:56: Error: Alignment too large: 15. assumed. *** Error code 1 Stop. Quite obviously defining ELF for the entire legacy library build, but waiting to really break in 'libmd'. I did look in the "broken" file, and noted that ALIGN was defined as 16 in the 'ELF' case, and 4 in the 'OUT' case. It looks impossible (to me) for 'OUT' to be defined while compiling that file (/usr/src/lib/libmd/i386/sha.S). I guess it's time to quit building a.out? :-) -- Zach Heilig "Americans are sensitive about their money, and since this was the first major change in the greenback in nearly 70 years, a radical redesign might have been too much for consumers to comprehend" -- John Iddings [COINage, Feb. 1999]. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message