From owner-freebsd-amd64@FreeBSD.ORG Sun Jun 26 22:49:24 2005 Return-Path: X-Original-To: freebsd-amd64@Freebsd.org Delivered-To: freebsd-amd64@Freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A792416A41C for ; Sun, 26 Jun 2005 22:49:24 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BF7143D55 for ; Sun, 26 Jun 2005 22:49:23 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.194] (june.chuckr.org [66.92.151.194]) by chuckr.org (Postfix) with ESMTP id 9F795114F2 for ; Sun, 26 Jun 2005 18:41:49 -0400 (EDT) Message-ID: <42BF4096.6020609@chuckr.org> Date: Sun, 26 Jun 2005 23:56:06 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050524) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@Freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: amd64: building xorg-libraries X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 22:49:24 -0000 I can't get this built, and the error I see is that the assembler is barfing over certain iincorrect sequences. I'm suspicious, because the directory it's in is the xc/lib/GL/i386 subdirectory (qnd there isn't any obvious amd64 dir to set things to). Is there any workaround, in building xorg-libraries? I should be completely honest, and admit why I need to build this, because it might have some bearing ... I have both a i386 *and* a amd64 system, and I had the PACKAGESITE var set wrong, so that aI had been using pkg_add with the wrong arch, when I last decided to try upgrading kde. Yes, it's dumb, and I've been the last two days slowly recompiling things. The problem I see with the xorg-libraries, it's with both libXau.so.0 and libX11.so.6, they both wont seem to allow ldconfig to work with them ... the exact error is /libexec/ld-elf.so.1: /usr/X11R6/lib/libXau.so.0: unsupported file layout /libexec/ld-elf.so.1: /usr/X11R6/lib/libX11.so.6: unsupported file layout that's it, I'm finished being candid. If you wish, you may address your *LOL* comments to me, offline. I guess I deserve it. Here's the last bit of the actual error listing: cd /raid/ports/x11/xorg-libraries/work/xc/exports/lib && ln -s ../../lib/Xv/libXv.a . making all in lib/GL... making all in lib/GL/mesa... making all in lib/GL/mesa/x86... rm -f common_x86.o unshared/common_x86.o cc -c -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wundef -I/raid/ports/x11/xorg-libra ries/work/xc/extras/Mesa/src/mesa -I/raid/ports/x11/xorg-libraries/work/xc/extras/Mesa/include -I/raid/ports/x11/xorg-libraries/work/xc/lib/GL/include -I/raid/ports/x11/xorg-libraries/work/xc/ extras/Mesa/src/mesa/main -I/raid/ports/x11/xorg-libraries/work/xc/extras/Mesa/src/mesa/x86 -I/raid/ports/x11/xorg-libraries/work/xc/extras/Mesa/src/mesa/glapi -I/raid/ports/x11/xorg-libraries/work/xc - I/raid/ports/x11/xorg-libraries/work/xc/exports/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROW PROTO -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DUSE_X8 6_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -O2 -fno-strict-aliasing -pipe common_x86.c -o unshare d/common_x86.oesa/x86 -I/raid/ports/x11/xorg-libraries/work/xc/extras/Mesa/src/mesa/glapi -I/raid/po rts/x11/xorg-libraries/work/xc -I/raid/ports/x11/xorg-libraries/work/xc/exports/include -I/usr/X11R6/include -DCSR G_BASED -DFUNCPROTO=15 -DNARROWPROTO -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE _DLOPEN -DGLX_USE_MESA -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fPIC common_x86.cbraries/wor k/xc/extras/Mesa/src/mesa/main -I/raid/ports/x11/xorg-libraries/work/xc/extras/Mesa/src/mesa/x86 -I/raid/ports/x11/xorg-libraries/work/xc/extras/Mesa/src/mesa/glapi common_x86_asm.S | grep -v '^\#' > common_x86_asm.i:14: Error: suffix or operands invalid for `push' common_x86_asm.i:15: Error: suffix or operands invalid for `popf' common_x86_asm.i:16: Error: suffix or operands invalid for `pushf' common_x86_asm.i:17: Error: suffix or operands invalid for `pop' common_x86_asm.i:31: Error: `4(%esp)' is not a valid 64 bit base/index expression common_x86_asm.i:32: Error: suffix or operands invalid for `push' common_x86_asm.i:33: Error: suffix or operands invalid for `push' common_x86_asm.i:37: Error: `16(%esp)' is not a valid 64 bit base/index expression common_x86_asm.i:38: Error: `(%edi)' is not a valid 64 bit base/index expression july:root:/usr/ports/x11/xorg-libraries:#163#