[Rtai] Patched kernel build problem
John Storrs
john.storrs at ukaea.org.uk
Mon Sep 22 09:53:34 CEST 2008
I encountered the same problem, and found a kernel patch on the Web which
resolves it:
In /arch/x86_64/vdso/voffset.h: set VDSO_TEXT_OFFSET 0xC00 instead of 0x600.
John
On Sunday 21 September 2008, Aref Taidi wrote:
> Hello,
>
> I am trying to build kernel 2.6.23.17 patched with
> hal-linux-2.6.23-x86_64-1.4-03.patch for rtai 3.6.1 for a Fedora Core 9,
> but I am getting the following linker problem, where am I going wrong
> please?
>
> The hardware is Dell Optiplex with Intel Core2 Duo CPU E7200:
>
> .
> .
> .
> CC arch/x86_64/vdso/vclock_gettime.o
> CC arch/x86_64/vdso/vgetcpu.o
> CC arch/x86_64/vdso/vvar.o
> SYSCALL arch/x86_64/vdso/vdso.so
> /usr/bin/ld: section .data [ffffffffff700900 -> ffffffffff700917] overlaps
> section .text [ffffffffff700600 -> ffffffffff700933]
> /usr/bin/ld: arch/x86_64/vdso/vdso.so: section .data lma 0xffffffffff700900
> overlaps previous sections
> /usr/bin/ld: arch/x86_64/vdso/vdso.so: section .note lma 0xffffffffff700918
> overlaps previous sections
> /usr/bin/ld: arch/x86_64/vdso/vdso.so: section .eh_frame_hdr lma
> 0xffffffffff700954 overlaps previous sections
> /usr/bin/ld: arch/x86_64/vdso/vdso.so: section .eh_frame lma
> 0xffffffffff700988 overlaps previous sections
> /usr/bin/ld: arch/x86_64/vdso/vdso.so: section .dynamic lma
> 0xffffffffff700a30 overlaps previous sections
> /usr/bin/ld: arch/x86_64/vdso/vdso.so: section .useless lma
> 0xffffffffff700b20 overlaps previous sections
> collect2: ld returned 1 exit status
> make[1]: *** [arch/x86_64/vdso/vdso.so] Error 1
> make: *** [arch/x86_64/vdso] Error 2
>
> Kind regards,
> A.T
>
> _______________________________________________
> Rtai mailing list
> Rtai at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
>
> Click
> https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
>XVFoAuvPM+1GxnkVntZMhypMhkSB00QwyNC8RpgWkw== to report this email as spam.
--
John Storrs, Experiments Dept e-mail: john.storrs at ukaea.org.uk
Building D3, UKAEA Fusion tel: 01235 466338
Culham Science Centre fax: 01235 466379
Abingdon, Oxfordshire OX14 3DB http://www.fusion.org.uk
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
More information about the Rtai
mailing list