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

git: pkgsrc - Hack for dynamic loading of certain libgcc.a symbols


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Oct 2010 11:54:51 -0700 (PDT)

commit 0cfd7e44b3676f6a43164acab0aaea46365b5c53
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Oct 4 11:48:35 2010 -0700

    pkgsrc - Hack for dynamic loading of certain libgcc.a symbols
    
    * For some reason firefox cannot find __popcountsi2 in a late reference
      from libcairo.so.2, which occurs when certain page content is accessed.
      This reference does not occur immediately.
    
    * Add a weak reference from libc to force the symbol to be available,
      which appears to fix the problem.
    
    * This is a horrible hack and currently we do not know why the dynamic
      link code cannot find the symbol.

Summary of changes:
 lib/libc/gen/Makefile.inc |    2 +-
 lib/libc/gen/_gcc_hack.c  |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
 create mode 100644 lib/libc/gen/_gcc_hack.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0cfd7e44b3676f6a43164acab0aaea46365b5c53


-- 
DragonFly BSD source repository



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