DragonFly BSD
DragonFly submit List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ld patch


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Mar 2004 23:23:03 -0800 (PST)

:Sorry.
:
:Say you link a programm against a library that itself
:depends on another library. Like some newer libs in /usr/X11R6
:..
:To get this behaviour freebsd patched the old binutils
:and this is what this patch is about.
:Without it ld didn't know as much as rtld did.

    Ahhh.  now I understand.  Ok, well, in that case I think its
    best to do it the FreeBSD way (even though I think the FreeBSD people have
    been trying to undo some of those add-ons).  We want to try to maintain
    compatibility between gcc2 and gcc3 anyhow, so I'm all for it.

:We could also consider using rpath, which would hardcode
:a run path in the binaries/libraries into DT_RPATH or DT_RUNPATH
:in the Dynamic Section of ELF ("objdump -p" will show it).
:For X11 we could do this in DragonFly.cf.
:(I'll try that tomorrow)
:
:I now have a complete desktop system running with CCVER=gcc3
:and the patch and it works just fine :-)

    Excellent!  I'll try to test it Saturday, then I think we are a go.

:Btw. i would like to try amd64's 64Bit mode, how far is that?
:(I know it will not even be complete for 1.0 but how far comes a boot
:and what are the biggest problems and how to go about fixing those?)
:
:Andy

    Not even started.  I decided to wait until after our first release
    because the AMD64 port is going to tie up all my time and I want to
    get some other infrastructure (primarily vfs messaging and userland vfs)
    working first.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]