error while compiling the l4.

Martin Pohlack mp26 at os.inf.tu-dresden.de
Mon Apr 7 12:55:38 CEST 2008


Please use the mailing list!  Forwarding.

l4 wrote:
>> You cut away the first error.  Post a longer log.
>>
>> Cheers,
>> Martin
> 
> hi Martin,
> last time I put a error message to the l4-hacker ,and you send me a mail
> that I have cut away the first error.So I send the full infomations to
> you when I compiled it.By useing the cpu info,when I compile fiasco I do
> this: 
> --------------------------------------------------
>    || Architecture (AMD64 processor family)  --->
>    || Platform (PC platform)  ---> 
>    || CPU (AMD Opteron / Athlon64)  ---> 
>    || for scheduling)  --->  
>    || [*] Enables workaroud for AMD FPU security leak  
> ---------------------------------------
> It sames that OK,but when I compile l4 with the following info:
> ---------------------------------------
>          (x86) Target Architecture    
>    │ │   CPU type: "586" 
>    │ │   (L4.Fiasco) ABI
> --------------------------------------
> errors comes out like this:
> -------------------------------------------------------------------------
>           ... Generating generic_ts-server.c
>         CC="gcc -m32" /home/l4/tudos/l4/../dice/src/dice
>         --require="3.2.0" -P-DUSE_UCLIBC=y -P-DRAM_BASE=0x0
>         -P-DSYSTEM_x86_l4v2 -P-DARCH_x86 -P-DCPUTYPE_586 -P-DL4API_l4v2
>         -P-DCONFIG_L4_CALL_SYSCALLS -P-DCONFIG_L4_ABS_SYSCALLS
>         -P-I/home/l4/tudos/build/include/x86/l4v2
>         -P-I/home/l4/tudos/build/include/l4v2
>         -P-I/home/l4/tudos/build/include/x86
>         -P-I/home/l4/tudos/build/include
>         -P-I/home/l4/tudos/l4/../dice/include
>         -P-I/home/drops/include/x86/l4v2 -P-I/home/drops/include/l4v2
>         -P-I/home/drops/include/x86 -P-I/home/drops/include -P-nostdinc
>         -P-I/home/l4/tudos/build/include/x86/uclibc
>         -P-I/home/l4/tudos/build/include/uclibc
>         -P-I/home/l4/tudos/build/include/uclibc++
>         -P-I/home/drops/include/x86/uclibc
>         -P-I/home/drops/include/uclibc -P-I/home/drops/include/uclibc++
>         -P-I/usr/lib/gcc/x86_64-linux-gnu/4.1.3/include
>         -P-I/usr/lib/gcc/x86_64-linux-gnu/4.1.3/include-fixed  -Bifiasco
>         -Bpia32 -MD /home/l4/tudos/l4/pkg/generic_ts/idl/generic_ts.idl
>         In file included
>         from /home/l4/tudos/l4/pkg/generic_ts/idl/generic_ts.idl:0,
>                          from l4/sys/types.h:1:
>         /home/l4/tudos/build/include/x86/l4v2/l4/sys/types.h:398.20-29:
>         error: value is out of range
>         make[4]: *** [generic_ts-server.c] error 1
>         make[4]: Leaving directory
>         `/home/l4/tudos/build/pkg/generic_ts/idl/OBJ-x86-l4v2'
>         make[3]: ***
>         [/home/l4/tudos/build/pkg/generic_ts/idl/OBJ-x86-l4v2] error 2
>         make[3]: Leaving directory
>         `/home/l4/tudos/l4/pkg/generic_ts/idl'
>         make[2]: *** [idl] error 2
>         make[2]: Leaving directory `/home/l4/tudos/l4/pkg/generic_ts'
>         make[1]: *** [generic_ts.headers] error 2
>         make[1]: Leaving directory `/home/l4/tudos/l4/pkg'
>         make: *** [pkg] error 2
>         -----------------------------------------------------------------------
> firstly I think maybe I didn't do the right selecet,then I change it:
> ----------------------------------------------------------
>           (amd64) TargetArchitecture 
>           │ │  CPU type: "k7"                                          │
>>           │ │  (L4.Fiasco)                                             │
>> ------------------------------------------------------------------
> but there is another errors:
> --------------------------------
>           ... Generating generic_ts-server.c
>         CC="gcc -m64" /home/l4/tudos/l4/../dice/src/dice
>         --require="3.2.0" -P-DUSE_UCLIBC=y -P-DRAM_BASE=0x0
>         -P-DSYSTEM_amd64_l4v2 -P-DARCH_amd64 -P-DCPUTYPE_k7
>         -P-DL4API_l4v2 -P-DCONFIG_L4_CALL_SYSCALLS
>         -P-DCONFIG_L4_ABS_SYSCALLS
>         -P-I/home/l4/tudos/build/include/amd64/l4v2
>         -P-I/home/l4/tudos/build/include/l4v2
>         -P-I/home/l4/tudos/build/include/amd64
>         -P-I/home/l4/tudos/build/include
>         -P-I/home/l4/tudos/l4/../dice/include
>         -P-I/home/drops/include/amd64/l4v2 -P-I/home/drops/include/l4v2
>         -P-I/home/drops/include/amd64 -P-I/home/drops/include
>         -P-nostdinc -P-I/home/l4/tudos/build/include/amd64/uclibc
>         -P-I/home/l4/tudos/build/include/uclibc
>         -P-I/home/l4/tudos/build/include/uclibc++
>         -P-I/home/drops/include/amd64/uclibc
>         -P-I/home/drops/include/uclibc -P-I/home/drops/include/uclibc++
>         -P-I/usr/lib/gcc/x86_64-linux-gnu/4.1.3/include
>         -P-I/usr/lib/gcc/x86_64-linux-gnu/4.1.3/include-fixed  -Bifiasco
>         -Bpamd64 -MD /home/l4/tudos/l4/pkg/generic_ts/idl/generic_ts.idl
>         In file included
>         from /home/l4/tudos/l4/pkg/generic_ts/idl/generic_ts.idl:0,
>                          from l4/sys/types.h:1,
>         
>         from /home/l4/tudos/build/include/amd64/l4v2/l4/sys/types.h:185:
>         /home/l4/tudos/build/include/l4/sys/__l4_fpage-64bit.h:96.55-65:
>         error: value is out of range
>         make[4]: *** [generic_ts-server.c] error 1
>         make[4]: Leaving directory
>         `/home/l4/tudos/build/pkg/generic_ts/idl/OBJ-amd64-l4v2'
>         make[3]: ***
>         [/home/l4/tudos/build/pkg/generic_ts/idl/OBJ-amd64-l4v2] error 2
>         make[3]: Leaving directory
>         `/home/l4/tudos/l4/pkg/generic_ts/idl'
>         make[2]: *** [idl] error 2
>         make[2]: Leaving directory `/home/l4/tudos/l4/pkg/generic_ts'
>         make[1]: *** [generic_ts.headers] error 2
>         make[1]: Leaving directory `/home/l4/tudos/l4/pkg'
>         make: *** [pkg] error 2
> ----------------------------------------------------------
> I think It can work on AMD64,could you help me?thank you very much!
> 
> 
>  fangzhsh,  
>         
> 





More information about the l4-hackers mailing list