[xorg-bugzilla-noise] [Bug 1349] New: Undefined 'DefaultGcc2i386Opt' causes compilation error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 12 20:33:09 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1349        
   
           Summary: Undefined 'DefaultGcc2i386Opt' causes compilation error
           Product: xorg
           Version: 6.8.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: imake
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: anton at truxtar.com


When I try to compile XOrg 6.8.0 on a Debian Unstable system, I get the
following error shortly after starting 'make World' (I have attached the
relevant section of my World.log):

gcc: cannot specify -o with -c or -S and multiple compilations

I have found that this error is caused by the following command being executed:
gcc DefaultGcc2i386Opt    -I../../include ...

"DefaultGcc2i386Opt" should be replaced by optimization options to 'gcc' (such
as "-02"), but it is not. 'gcc' interprets this as a second compilation target
and gives the above error.

"DefaultGcc2i386Opt" is not defined in any of the configuration files in
config/cf/. The attached 'grep.log' shows were DefaultGcc2i386Opt appear in the
config/cf/ directory. The entries are either commented out or appear in files
that imake does not scan when compiling for Linux (as far as I understand).

Currently I have to use "#define DefaultGcc2i386Opt -02" in my host.def file to
get XOrg to compile. Perhaps this option should be defined in
config/cf/linux.conf or another configuration file.


I am using the XOrg 6.8 sources from the xorg.freedesktop.org website.
I am running Debian Unstable on a P4 2.4GHZ with 512MB RAM. I am using:
gcc 3.3.4 from Debian Unstable
make 3.80 from Debian Unstable        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list