Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 23:56:06 +0000
From:      Chuck Robey <chuckr@chuckr.org>
To:        freebsd-amd64@Freebsd.org
Subject:   amd64: building xorg-libraries
Message-ID:  <42BF4096.6020609@chuckr.org>

next in thread | raw e-mail | index | archive | help
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# 



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