Subject: Re: PIC error in mcount.c?
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: David Brownlee <david@mono.org>
List: port-sparc
Date: 04/06/1996 11:00:22
	Yup, me too. I made mcount.c do nothing to see if I could
	complete the build then try it all again under the vague hope
	that would help (I'd also tried recompiling gcc, ld, gas), but
	am nowhere near that machine right now....

                   David/abs             (david@mono.org)

+44 181 888 8949 System Manager, Southern Studios Ltd, Box 59, London N22 1AR
 >=- OpenBSD http://www.openbsd.org. Free un*x for {sparc,i386,m68k,...} -=<
       <<< Monochrome - Largest UK Internet BBS - telnet mono.org >>>


On Fri, 5 Apr 1996, Andrew Gillham wrote:

>
> Does anyone else get this error building libc?
>
> cc -O -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT -Werror  -c -fpic -DPIC /usr/src/lib/libc/gmon/mcount.c -o mcount.so
> /var/tmp/cc000699.s: Assembler messages:
> /var/tmp/cc000699.s:145: Error: Can't reduce difference of external symbols in PIC code
> /var/tmp/cc000699.s:145: Fatal error:1 error, 0 warnings, no object file generated.
>
> *** Error code 1
>
> Stop.
>
> I have rebuilt gcc, gas, and ld just today.
>
> Thanks.
>
> -Andrew
>