[csw-maintainers] Direct binding now active

Yann Rouillard yann at pleiades.fr.eu.org
Mon Sep 17 21:54:48 CEST 2012


Great Dago !

I have rebuilt my packages with these options three weeks ago and I had no
problem so far, so I don't think we will discover a lot of corner cases.

It would be interesting to know the number of unecessary dependencies we
will be able to remove thanks to the "-z ignore" option.

Yann

2012/9/17 Dagobert Michelsen <dam at opencsw.org>

> Hi,
>
> I just activated the proposed changes to linking in r19219.
>   http://sourceforge.net/apps/trac/gar/changeset/19219
>
> 1. Stick to Solaris 10u8 by using a linker map:
>
> LINKER_MAPS ?= $(foreach MAP,$(LINKER_MAP_RELEASE) $(EXTRA_LINKER_MAPS),-M
> $(abspath $(GARDIR)/lib/map.$(LINKER_MAP_RELEASE)))
>
> #
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/mapfile-vers#301
> libc.so - SUNW_1.22.5 SUNWprivate_1.1 $ADDVERS=SUNW_1.22.5;
> #
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libresolv2/common/mapfile-vers
> libresolv.so - SUNW_2.2 SUNWprivate_2.1 $ADDVERS=SUNW_2.2;
> #
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libnsl/common/mapfile-vers
> libnsl.so - SUNW_1.9.1 SUNWprivate_1.5 $ADDVERS=SUNW_1.9.1;
>
> 2. Default to direct linking
>
> LINKER_DIRECT ?= -B direct
>
> 3. Default to ignore unused library bindings
>
> LINKER_IGNORE ?= -z ignore
>
>
>
> The flags are documented in the variable reference and
>   https://sourceforge.net/apps/trac/gar/wiki/Mapfiles
>
>
> Best regards
>
>   -- Dago
>
>
> --
> "You don't become great by trying to be great, you become great by wanting
> to do something,
> and then doing it so hard that you become great in the process." - xkcd
> #896
>
>
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
> .:: This mailing list's archive is public. ::.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20120917/e54aafc3/attachment.html>


More information about the maintainers mailing list