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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Oct 4 11:56:05 PDT 2010


commit 0cfd7e44b3676f6a43164acab0aaea46365b5c53
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list