From owner-freebsd-stable Wed Apr 14 14: 3: 4 1999 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id B8BAD158DC for ; Wed, 14 Apr 1999 14:03:02 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id OAA24240; Wed, 14 Apr 1999 14:00:41 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id OAA01190; Wed, 14 Apr 1999 14:00:40 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Wed, 14 Apr 1999 14:00:40 -0700 (PDT) Message-Id: <199904142100.OAA01190@vashon.polstra.com> To: wjw@IAE.nl Subject: Re: Error going make aout-to-elf-build In-Reply-To: <199904141833.LAA00587@vashon.polstra.com> Organization: Polstra & Co., Seattle, WA Cc: stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199904141833.LAA00587@vashon.polstra.com>, John Polstra wrote: > In article <19990412222901.78B499545@surf.iae.nl>, > Willem Jan Withagen wrote: > > cc -O -m486 -pipe -g -elf -Wall -Wno-unused > > -I/usr/obj/elf/home2/src/stable3/src/tmp/usr/include -c > > /home2/src/stable3/src/lib/csu/i386-elf/crtbegin.c -o crtbegin.o > > {standard input}: Assembler messages: > > {standard input}:147: Error: Can't emit reloc {- .text-seg symbol > > "function_skeleton"} @ file address 620. > > {standard input}:150: Error: Can't emit reloc {- .text-seg symbol > > "function_skeleton"} @ file address 632. > > {standard input}:155: Error: Can't emit reloc {- .text-seg symbol > > "function_skeleton"} @ file address 644. > > {standard input}:158: Error: Can't emit reloc {- .text-seg symbol > > "function_skeleton"} @ file address 656. > > *** Error code 1 > > Please try removing "-g" from your CFLAGS (maybe it's in > /etc/make.conf?) and let us know if that fixes the problem. Actually, having given my aged, feeble mind a chance to work, I'm sure it will fix it. :-) I had already made this work in -current, and I have just now merged the fix into -stable. Wait for your mirror site to get the change, and then re-CVSup. After that, it should work even with "-g". The fix is in these revisions of files in "src/lib/csu/i386-elf": Makefile 1.3.2.1 crtbegin.c 1.1.1.1.2.1 crtend.c 1.1.1.1.2.1 John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message