[Tux3] tux3 against gcc 4.3.2

pradeep singh rautela rautelap at gmail.com
Tue Jan 20 03:34:46 PST 2009


On Tue, Jan 20, 2009 at 2:51 PM, Liu XiaoFeng <bladehliu at gmail.com> wrote:
> I am also using gcc 4.3.2.
>
> Did you meet a link error? If so, try this patch.

Ummm... exactly not this error.
Error was related to gcc. reading man pages helped. It did not make a
perfect linux binary which crashed pretty early.
Just for anyone who might face this problem try passing
CFLAGS=-U_FORITY_SOURCE during kernel make.

The link error you specify,  I too get it but when i try to build uml
for latest upstream kernel git tree without tux3 patches.

Thanks,
    --Pradeep
>
> diff --git a/arch/um/sys-i386/sys_call_table.S
> b/arch/um/sys-i386/sys_call_table.S
> index 00e5f52..9ed881a 100644
> --- a/arch/um/sys-i386/sys_call_table.S
> +++ b/arch/um/sys-i386/sys_call_table.S
> @@ -7,6 +7,9 @@
>  #define sys_vm86old sys_ni_syscall
>  #define sys_vm86 sys_ni_syscall
>
> +/* fix a link error */
> +#define sys_sigprocmask sigprocmask
> +
>  #define old_mmap old_mmap_i386
>
>  .section .rodata,"a"
>
>
> On Tue, Jan 20, 2009 at 4:47 PM, pradeep singh rautela <rautelap at gmail.com>
> wrote:
>>
>> Hi,
>>
>> I was wondering if anyone tried compiling tux3 recently with gcc 4.3.2 ?
>> Looks like it is not UML friendly.
>>
>> Thanks,
>>    --Pradeep
>>
>> Pradeep Singh Rautela
>> http://eagain.wordpress.com
>> http://emptydomain.googlepages.com
>>
>> _______________________________________________
>> Tux3 mailing list
>> Tux3 at tux3.org
>> http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3
>
>

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list