tech-x11 archive

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

Re: Optimization for xorg/lib/Makefile



On Tue, Nov 04, 2008 at 11:05:12PM +0100, Bernd Ernesti wrote:
> It turned out that this was a nice idea, but unfortunally not all
> dependencies were added to the libraries, so this needs a different
> patch. So we are still at 6 .WAITs :(
> 
> Joerg gave me the hint on using -Wl,-z,defs which I added as
> 'LDFLAGS += -Wl,-z,defs' to /etc/mk.conf to check if all libraries
> had all there needed libraries recorded and gave up on fixing the
> following directories:
>  dri (i just skipped this part)

They're dlopen'd, but they might still depend on stuff.

>  libX11 (no way to get this build done with that check)

You only need to check the dynamic subdirectory there.  The rest are
dlopen()'d.

>  libGLU (_Unwind_Resume undefined)

Isn't that C++ stuff?

>  libXaw7 (xawPrintShellWidgetClass undefined)

Maybe we left a source file out.

[...]
> Index: libOSMesa/Makefile
> ===================================================================
> RCS file: /cvsroot/src/external/mit/xorg/lib/libOSMesa/Makefile,v
> retrieving revision 1.2
> diff -b -u -r1.2 Makefile
> --- libOSMesa/Makefile        26 Sep 2008 07:15:53 -0000      1.2
> +++ libOSMesa/Makefile        4 Nov 2008 22:02:28 -0000
> @@ -125,5 +125,8 @@
>  CPPFLAGS+=   -I${X11SRCDIR.MesaLib}/src/mesa/${_path_}
>  .endfor
>  
> +LDADD+=              -lm 
> +DPADD+=              ${LIBM}
> +
>  .include <bsd.x11.mk>
>  .include <bsd.lib.mk>

Why not LIBDPLIBS here?

-- 
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.

Attachment: pgpL1Owu7tLgQ.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index