From owner-freebsd-current Sun Feb 28 9: 0:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id BDE841501F for ; Sun, 28 Feb 1999 09:00:15 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id LAA83715; Sun, 28 Feb 1999 11:58:13 -0500 (EST) Date: Sun, 28 Feb 1999 11:58:12 -0500 (EST) From: Chuck Robey To: Matthew Jacob Cc: freebsd-current@FreeBSD.ORG Subject: Re: still having buildworld trouble for libmd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 28 Feb 1999, Matthew Jacob wrote: > > > 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 > > I have an elf i386. The build seems broken. What's up? I guessed from commit logs that maybe Garrett had something to do with it, and talking with him last night, I disabled the build of two assembler files via the libmd Makefile: .if (${OBJFORMAT} == "elf") <-- NEW .if exists(${MACHINE_ARCH}/sha.S) SRCS+= sha.S CFLAGS+= -DSHA1_ASM -DELF .endif .if exists(${MACHINE_ARCH}/rmd160.S) SRCS+= rmd160.S CFLAGS+= -DRMD160_ASM -DELF .endif .endif <-- NEW When this fixed things, I asked Garrett about it, because I know nothing at all about libmd or what uses libmd, but he didn't get back to me. That does fix all the rest of the buildworld. Does anyone know if this fix, only active really in the legacy build, would have negative effects? I want to do the installworld, but I'm nervous about this (I don't like doing things by accident!) ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message