DragonFly BSD
DragonFly commits List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: gcc 44: Change shared library search order (embedded rpath)


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 May 2011 00:58:02 -0700 (PDT)

commit e42b0192f1e7ce6df0aa461075bde4978fa72adc
Author: John Marino <draco@marino.st>
Date:   Thu May 12 07:57:56 2011 +0200

    gcc 44: Change shared library search order (embedded rpath)
    
    GCC 4.4.x has always created shared libraries with embedded rpath of
    /usr/lib/gcc44:/usr/lib.  There are only two shared libraries in
    /usr/lib/gcc44 which are stdc++ and obj-c.  There are 73 shared libraries
    at /usr/lib, including the c library.  Reversing the rpath order will
    cause many more library searchs to be successful on the first hit.
    
    When searching for a library created by pkgsrc, there is no difference.
    In that case, /usr/pkg/lib becomes the third directory in the search
    path and relative order of the first two is irrelevant as both fail.

Summary of changes:
 gnu/usr.bin/cc44/cc_prep/config/dragonfly-native.h |   29 ++++++++++---------
 1 files changed, 15 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e42b0192f1e7ce6df0aa461075bde4978fa72adc


-- 
DragonFly BSD source repository



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