FF5 Build fails when signing softokn3.dll with shlibsign

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FF5 Build fails when signing softokn3.dll with shlibsign

Ronny-6
Hi,

I could need some help with a difficult problem. Building FF5 on Win 7
SP1 (and all updates so far) with Visual Studio 2010 SP1 fails because
shlibsign crashes when it signs softokn3.dll for the first time (clean
objdir).


Here's the problem, full details inc. mozconfig can be found at
http://forums.mozillazine.org/viewtopic.php?f=42&t=2198405
#########

make[7]: Leaving directory `/d/Building_Mozilla/source/hg/moz-aurora/
security/nss/cmd/shlibsign/mangle'
cd d:/Building_Mozilla/source/hg/firefox_vc10_aurora/nss ; sh "/d/
Building_Mozilla/source/hg/moz-aurora/security/nss/cmd/shlibsign/."/
sign.sh "d:/Building_Mozilla/source/hg/firefox_vc10_aurora/dist" \
        "d:/Building_Mozilla/source/hg/firefox_vc10_aurora/nss" WIN95 \
        "d:/Building_Mozilla/source/hg/firefox_vc10_aurora/dist/lib" "d:/
Building_Mozilla/source/hg/firefox_vc10_aurora/dist/lib/softokn3.dll"
d:/Building_Mozilla/source/hg/firefox_vc10_aurora/nss/shlibsign -v -i
d:/Building_Mozilla/source/hg/firefox_vc10_aurora/dist/lib/
softokn3.dll
make[6]: *** [d:/Building_Mozilla/source/hg/firefox_vc10_aurora/dist/
lib/softokn3.chk] Error 255
make[6]: Leaving directory `/d/Building_Mozilla/source/hg/moz-aurora/
security/nss/cmd/shlibsign'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/d/Building_Mozilla/source/hg/
firefox_vc10_aurora/security/manager'

############

PR_GetLibraryName (prlink.c line 365, called by shlibsign.c at line
769) returns the libname with "(null)\" path prefix although it should
not (because path is NULL). PR_LoadLibrary(libname) then returns null,
because the lib can not be found. Manually fixing this by setting
libname to "softokn3.dll" raises an error when calling
PR_LoadLibrary(libname):

"The procedure entry point PL_ClearArenaPool could not be located in
the dynamic link library plds4.dll."

I have no clue why PR_GetLibraryName prepends a null-path and why the
entry point PL_ClearArenaPool can not be found in plds4.dll. :-/


Regards,
Ronny
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds