Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 1999 14:00:40 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        wjw@IAE.nl
Cc:        stable@freebsd.org
Subject:   Re: Error going make aout-to-elf-build
Message-ID:  <199904142100.OAA01190@vashon.polstra.com>
In-Reply-To: <199904141833.LAA00587@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199904141833.LAA00587@vashon.polstra.com>,
John Polstra  <jdp@polstra.com> wrote:
> In article <19990412222901.78B499545@surf.iae.nl>,
> Willem Jan  Withagen <wjw@IAE.nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904142100.OAA01190>