Date: Wed, 15 Jan 2003 23:24:48 -0800 From: Kris Kennaway <kris@obsecurity.org> To: kan@FreeBSD.org, obrien@FreeBSD.org, sparc64@FreeBSD.org Subject: assembler error in XFree86 snapshot Message-ID: <20030116072448.GA29468@rot13.obsecurity.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I'm trying to compile anholt's XFree86 4.2.99 snapshot on sparc, and I
get the following error message:
cc -c -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -I/usr/tmp/XFree86-4-libraries-devel/work/xc -I/usr/tmp/XFree86-4-libraries-devel/work/xc/exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL XRes.c
{standard input}: Assembler messages:
{standard input}:667: Error: relocation overflow
*** Error code 1
line 667 of the .s file is:
> .LL86:
> umul %o0, 4294967295, %o0
and the corresponding source line is:
#ifdef LONG64
*bytes = (rep.bytes_overflow * 4294967295) + rep.bytes;
#else
*bytes = rep.bytes_overflow ? 0xffffffff : rep.bytes;
#endif
Commenting out the LONG64 clause allows the build to progress.
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+Jl4/Wry0BWjoQKURAqbjAKDVHae9CRB7rqqkgA7q3MytXacgRgCgz66N
7NBjBurFPJ1eVzxlLqEjLuw=
=J8+K
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030116072448.GA29468>
