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

cvs commit: src/gnu/usr.bin/cc34/cc_prep/config dragonfly-spec.h src/gnu/usr.bin/cc41/cc_prep/config dragonfly-spec.h


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Apr 2007 05:18:37 -0700 (PDT)

corecode    2007/04/17 05:18:37 PDT

DragonFly src repository

  Modified files:
    gnu/usr.bin/cc34/cc_prep/config dragonfly-spec.h 
    gnu/usr.bin/cc41/cc_prep/config dragonfly-spec.h 
  Log:
  Change the compilers to alias -pthread to -lpthread.
  
  Now threaded programs do not get linked to libc_r anymore, but to the
  proxy lib libpthread.  As soon as all programs and libraries are relinked
  to use libpthread exclusively (and not libc_r.so anymore), threading libs
  can be switched by changing the /usr/lib/libpthread.so.0 symlink.
  
  Use the following command to find all packages still linking to libc_r:
  
  find /usr/pkg/bin /usr/pkg/sbin /usr/pkg/lib /usr/pkg/libexec -type f \
    -exec sh -c '\
      objdump -p $0 2>/dev/null | grep -q "NEEDED.*libc_r\.so" || exit 0; \
      pkg_info -F -e $0' {} \; | sort | uniq
  
  Revision  Changes    Path
  1.13      +1 -1      src/gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h
  1.4       +1 -1      src/gnu/usr.bin/cc41/cc_prep/config/dragonfly-spec.h


http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_prep/config/dragonfly-spec.h.diff?r1=1.3&r2=1.4&f=u



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