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

看板DFBSD_commit作者時間15年前 (2010/10/05 03:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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
文章代碼(AID): #1CgYHoHA (DFBSD_commit)
文章代碼(AID): #1CgYHoHA (DFBSD_commit)