Compiling Xorg-server on Solaris 10 6/06

Alan Coopersmith alan.coopersmith at sun.com
Mon Sep 18 10:50:35 PDT 2006


Bencze Sándor wrote:
> Hi!
> I tried to compile the X server on Solaris 10 6/06 and I got the 
> following error:
> 
> gcc -g -O2 -c solaris-sparcv8plus.S  -fPIC -DPIC -o 
> .libs/solaris-sparcv8plus.osolaris-sparcv8plus.S: Assembler messages:
> solaris-sparcv8plus.S:54: Error: Architecture mismatch on "membar".

It should only build that file when using the Sun Studio compilers, not
for gcc - gcc uses the inline asm statements in the source code instead.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list