[Gelistirici] 2.6.22->2.6.23 geçişi ve sandbox

Ozan Çağlayan ozancag at gmail.com
15 Eki 2008 Çar 09:54:45 EEST


Selam,

2.6.22'den 2.6.23'e geçilirken kernel'e eklenen yeni bir LDFLAG 
yüzünden, kernel modüllerini sandbox açıkken inşa edemiyoruz.

Aynı hatayı gentoo listesinde de buldum[0] ve çözüm olarak 
sandbox'larını yamalamışlar. Ya biz de bir şekilde sandbox'ı 
yamalamalıyız ya da bu yeni LDFLAG'i kernel-source paketini yamalayarak 
ortadan kaldırmalıyız.

Flag ile ilgili bilgi de veren kernel commit'i şu:

commit 18991197b4b588255ccabf472ebc84db7b66a19c
Author: Roland McGrath <roland at redhat.com <mailto:roland at redhat.com>>
Date:   Thu Jul 19 01:48:40 2007 -0700

    Use --build-id ld option

    This change passes the --build-id when linking the kernel and when linking
    modules, if ld supports it.  This is a new GNU ld option that synthesizes
an
    ELF note section inside the read-only data.  The note in this section
contains
    unique identifying bits called the "build ID", which are generated so as to
be
    different for any two linked ELF files that aren't identical.  The build ID
    can be recovered from stripped files, memory dumps, etc.  and used to look
up
    the original program built, locate debuginfo or other details or history
    associated with it.  For normal program linking, the compiler passes
    --build-id to ld by default, but the option is needed when using ld
directly
    as we do.

:100644 100644 ddbfcac299c1c587c2e9f5d172bfb3e052b12118
eccb03b88b8d6f88c59540d93bd6c1bb68e117f6 M      Makefile

[0]: http://bugs.gentoo.org/show_bug.cgi?id=135745


-- 
Ozan Çağlayan





Gelistirici mesaj listesiyle ilgili daha fazla bilgi