pkgsrc-Bugs archive

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

pkg/39240: lighttpd cannot exec



>Number:         39240
>Category:       pkg
>Synopsis:       lighttpd cannot exec
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 28 14:35:00 +0000 2008
>Originator:     Satoshi Suetake
>Release:        NetBSD 4.99.70
>Organization:
none
>Environment:
NetBSD blackrose.kittymint.org 4.99.70 NetBSD 4.99.70 (BLACKROSE) #115: Thu Jul 
24 10:20:42 JST 2008  
root%blackrose.kittymint.org@localhost:/usr/src/sys/arch/i386/compile/BLACKROSE 
i386
>Description:
pkgsrc/www/lighttpd cannot exec after updating userland to latest 
NetBSD-current.

bash-3.2# /etc/rc.d/lighttpd start
Starting lighttpd.
2008-07-28 23:19:33: (plugin.c.205) /usr/pkg/lib/lighttpd/mod_indexfile.so: 
Trying to call undefined weak symbol `__register_frame_info' 
2008-07-28 23:19:33: (server.c.621) loading plugins finally failed 
bash-3.2# 

>How-To-Repeat:
install pkgsrc/www/lighttpd, and start it.

>Fix:
perhaps, /libexec/ld.elf_so changes affects this problem.

comment out below if-block at _rtld_find_symdef() function
in src/libexec/ld.elf_so/symbol.c, lighttpd can execute.

        /*         * If we found no definition and the reference is weak, treat 
the
         * symbol as having the value zero.
         */
        if (def == NULL && ELF_ST_BIND(ref->st_info) == STB_WEAK) {
/*
                if (in_plt) {
                        _rtld_error(
                            "%s: Trying to call undefined weak symbol `%s'",
                            refobj->path, name);
                }
*/
                rdbg(("  returning _rtld_sym_zero@_rtld_objself"));
                def = &_rtld_sym_zero;
                defobj = &_rtld_objself;
        }



Home | Main Index | Thread Index | Old Index