NetBSD-Users archive

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

Re: [netbsd-5] SHLIBDIR and SHLINKDIR behavior change?




BTW, I dug around -- I suspect it may have something to do with r1.232 /
r1.231 of src/share/mk/bsd.prog/mk:

----------------------------
revision 1.232
date: 2008/08/27 01:15:22;  author: lukem;  state: Exp;  lines: +6 -4
Fix problem I introduced in rev 1.231 on 2008/08/25 where ${_PROGLDOPTS}
and -L${_GCC_LIBGCCDIR} were appearing in the link line before ${LDADD},
so -L${DESTDIR}/lib and -L${DESTDIR}/usr/lib were being used before
local -L library paths.
Fixes ntpd/ntpdate failure noticed by Valeriy E. Ushakov 
<uwe%NetBSD.org@localhost>
----------------------------
revision 1.231
date: 2008/08/25 08:03:14;  author: lukem;  state: Exp;  lines: +17 -15
Always link with:  -Wl,-rpath-link,${DESTDIR}/usr/lib -L${DESTDIR}/usr/lib
Fixes problem with MKDYNAMICROOT=no triggered by libraries that depend
on other libraries.
Related to PR 33503.

Clean up setting of _CCLINK to always add the appropriate -B options.


~BAS

On Mon, 9 Feb 2009, Brian A. Seklecki wrote:

>
>
> > Then do "ktrace -i chroot /home/fsimages/rd_root /bin/gzip" and send the
> > output of the subsequent kdump (not ktruss, please).
> >
>
> I normally would have dove right into that -- but I wasn't sure how well
> ktrace would work wrapped around chroot(2), but here it is:
>
> http://people.collaborativefusion.com/~seklecki/ktrace_nbsd5_gzip_elf.out.txt
>
> ~BAS
>
> > --
> > Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
> > "See the look on my face from staying too long in one place
> > [...] every time the morning breaks I know I'm closer to falling"
> > KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
> >
>
> l8*
>       -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
>              http://www.spiritual-machines.org/
>
>     "Show me a young conservative and I'll show you someone with no heart.
>     Show me an old liberal and I'll show you someone with no brains."
>     ~ Winston Churchill
>

l8*
        -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
               http://www.spiritual-machines.org/

    "Show me a young conservative and I'll show you someone with no heart.
    Show me an old liberal and I'll show you someone with no brains."
    ~ Winston Churchill


Home | Main Index | Thread Index | Old Index