lin xfree86

Simon Brenner simon.brenner at home.se
Fri Jan 16 15:31:51 GMT 2004


I'd say that the DefaultGcc2i386Opt   is the problem - if you read the 
cmd line you see that the gcc with -S is within an if, that is within a 
command-substitution, so the -S should only affect whether 
HAS_MERGE_CONSTANTS becomes 1 or 0.

Or I'm just stupid ;-) Just thought I'd throw in my .02 no matter what 
you may think of me ;-)

Chris wrote:

> I have no idea where "-S" comes from. Have you linned the most recent 
> lunar/theedge module? Try to set "-s", maybe that helps.
>
> If you want faster code you can enable "SSE" to be used as 
> floating-point unit.
>
> Chris
>
>
>
> Bachman Kharazmi wrote:
>
>> This is my settings after I did remove "-s" from optimization menu
>>
>> PLATFORM=x86
>>  BUILD=i686-pc-linux-gnu
>>  MAKES=1
>>  COPT=-pipe
>>  CCOPT=-pipe
>>  BOPT=Faster
>>  CPU=Pentium3
>>  SPD=()
>>  STACK=
>>  XTRA=(MMX SSE)
>>  FPM=None
>>  CC_WARN=()
>>  CCC_WARN=(Deprecated)
>>  LDF=()
>>  ADDON=()
>>
>>
>> I still get the same message.
>>
>> gcc DefaultGcc2i386Opt    -I../../include 
>> -I../../exports/include/X11  -I../.. -I../../exports/include   
>> -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE 
>> -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   
>> -DFUNCPROTO=15 -DNARROWPROTO     -DCPP_PROGRAM="\"/usr/bin/cpp\"" 
>> -DHAS_MERGE_CONSTANTS=`if gcc -fmerge-constants -xc /dev/null -S -o 
>> /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; 
>> fi`       -Wno-deprecated  -c -o imake.o imake.c
>> gcc: cannot specify -o with -c or -S and multiple compilations
>> make[2]: *** [imake.o] Error 1
>> make[2]: Leaving directory `/usr/src/xc/config/imake'
>> make[1]: *** [imake.bootstrap] Error 2
>> make[1]: Leaving directory `/usr/src/xc'
>> make: *** [World] Error 2
>>
>> -S seem to still be running.
>>
>> /bkw
>>
>>
>> On Fri, 16 Jan 2004 14:13:14 +0100
>> Chris <sums3l at yahoo.de> wrote:
>>
>>
>>> Hi,
>>>
>>> I think the linker option "-S" (strip debug symbols) is passed by 
>>> mistake to gcc (so gcc does not assemble). Try to rerun "lunar 
>>> optimize" and deselect -S.
>>>
>>> Regards,
>>> Chris
>>>
>>> Bachman Kharazmi wrote:
>>>
>>>> During the compile of 'xfree86' module I get this:
>>>>
>>>> make[2]: Entering directory `/usr/src/xc/config/imake'
>>>> + mkdir bootstrap
>>>> mv *.o bootstrap
>>>> + mv imake bootstrap
>>>> make[2]: Leaving directory `/usr/src/xc/config/imake'
>>>> cd ./config/imake && make -f Makefile.proto all
>>>> make[2]: Entering directory `/usr/src/xc/config/imake'
>>>> gcc DefaultGcc2i386Opt    -I../../include 
>>>> -I../../exports/include/X11  -I../.. -I../../exports/include   
>>>> -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE 
>>>> -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   
>>>> -DFUNCPROTO=15 -DNARROWPROTO     -DCPP_PROGRAM="\"/usr/bin/cpp\"" 
>>>> -DHAS_MERGE_CONSTANTS=`if gcc -fmerge-constants -xc /dev/null -S -o 
>>>> /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; 
>>>> fi`       -Wno-deprecated  -c -o imake.o imake.c
>>>> gcc: cannot specify -o with -c or -S and multiple compilations  
>>>> <<====  ??
>>>> make[2]: *** [imake.o] Error 1
>>>> make[2]: Leaving directory `/usr/src/xc/config/imake'
>>>> make[1]: *** [imake.bootstrap] Error 2
>>>> make[1]: Leaving directory `/usr/src/xc'
>>>> make: *** [World] Error 2
>>>> Creating /var/log/lunar/compile/xfree86-4.3.0.bz2 ! Problem 
>>>> detected during BUILD
>>>>
>>>>
>>>> (gcc 3.2.3)
>>>> centrino running as P3 support in kernel with sse and mmx 
>>>> optimization.
>>>>
>>>> /bkw
>>>>
>>>
>
>
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://dbguin.lunar-linux.org/mailman/listinfo/lunar
>
>




More information about the Lunar mailing list