Bug 2077 - can't compile
Summary: can't compile
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.8.1
Hardware: x86 (IA32) Linux (All)
: high blocker
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 09:29 UTC by fdelente
Modified: 2005-03-22 14:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description fdelente 2004-12-14 09:29:40 UTC
I can't compile X.org/X11R6.8.1 from source.                                    
                                                                                
I run Linux 2.6.9 (self-compiled) with gcc-3.4.3 (self-compiled).               
                                                                                
Compiling X.org lead to an error (freetype2 headers were not found; they are    
in /usr/local/include/freetype2 and X.org searched them in                      
/usr/include/freetype2; symlinking from here to there solved the problem).      
                                                                                
Then compilation aborted because of a syntax error in an assembly file; I       
upgraded binutils from 2.13.2 to 2.15 and the faulty file compiled; however     
compilation stopped a few steps after, in                                       
build/programs/Xserver/hw/xfree86/os-support/misc/SlowBcopy:                    
                                                                                
gcc -m32 -c -x assembler -o SlowBcopy.o SlowBcopy.i                             
SlowBcopy.i: Assembler messages:                                                
SlowBcopy.i:686: Error: invalid character '(' in mnemonic                       
                                                                                
Ligne 686 shows                                                                 
                                                                                
movb(%ecx),%bl
Comment 1 Adam Jackson 2005-03-22 13:11:34 UTC
unable to reproduce this.  it would help to know your exact binutils version.
Comment 2 fdelente 2005-03-23 06:50:55 UTC
(In reply to comment #1)
> unable to reproduce this.  it would help to know your exact binutils version.

I think they are binutils-2.15.90.0.3, but I don't remember if it was this
version when I first tried to compile X.org (I upgraded since).

Anyway, I managed to compile a few days after the bug report; it was cpp that
choked on some include files, because when I used gcc instead (I entered the
command line from make at the prompt, just substituting gcc for cpp), the
compilation succeeded, and the resulting server worked ok.

I since compiled 8.6.2 without trouble.
Comment 3 Adam Jackson 2005-03-23 09:24:08 UTC
marking WORKSFORME then, we'll see if this resurfaces.  thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.