Re: Building NSS for OpenCSW (Solaris)

2009-11-24 Thread Jean-Marc Desperrier
Maciej Bliziński wrote: I'd like to pass the -L and -R flags via environment variables For anyone else, CSW packages use this to tell the builds to use /opt/csw/lib to locate their dependencies. What's the best way to make the NSS build read LDFLAGS and LD_OPTIONS? That's a very valid que

Re: Building NSS for OpenCSW (Solaris)

2009-11-23 Thread Maciej Bliziński
On Mon, Nov 23, 2009 at 9:28 PM, Wan-Teh Chang wrote: > 2009/11/23 Robert Relyea : >> >> Please do. If there is more demand for these files, it seems reasonable >> to add them. > > There are already two bugs for nspr.pc: > https://bugzilla.mozilla.org/show_bug.cgi?id=290726 > https://bugzilla.mozi

Re: Building NSS for OpenCSW (Solaris)

2009-11-23 Thread Wan-Teh Chang
2009/11/23 Robert Relyea : > > Please do. If there is more demand for these files, it seems reasonable > to add them. There are already two bugs for nspr.pc: https://bugzilla.mozilla.org/show_bug.cgi?id=290726 https://bugzilla.mozilla.org/show_bug.cgi?id=375284 Would be nice to open a bug for nss

Re: Building NSS for OpenCSW (Solaris)

2009-11-23 Thread Robert Relyea
> > On 2009-11-23 01:15 PST, Maciej Bliziński wrote: > > >> I guess the main need for changes are the nss-config and nss.pc files, >> since other software packages require them to build. I've seen that >> Linux distributions create those files downstream. Is there any >> chance for upstream ns

Re: Building NSS for OpenCSW (Solaris)

2009-11-23 Thread Nelson B Bolyard
On 2009-11-23 01:15 PST, Maciej Bliziński wrote: > I guess the main need for changes are the nss-config and nss.pc files, > since other software packages require them to build. I've seen that > Linux distributions create those files downstream. Is there any > chance for upstream nss-config and n

Re: Building NSS for OpenCSW (Solaris)

2009-11-23 Thread Maciej Bliziński
On Sun, Nov 22, 2009 at 9:08 PM, Nelson B Bolyard wrote: > On 2009-11-22 04:44 PST, Maciej Bliziński wrote: >> Why is ldd showing that the nspr libraries are found, but they don't >> get loaded when running shlibsign?  Do you have any hints? > > Yes, it's because of the changes you've made to free

Re: Building NSS for OpenCSW (Solaris)

2009-11-23 Thread Maciej Bliziński
On Sun, Nov 22, 2009 at 7:59 PM, Wan-Teh Chang wrote: > 2009/11/22 Maciej Bliziński : >> It looks like the stubs from stubs.c don't get overriden by real >> functions. > > You should not define FREEBL_NO_DEPEND when building NSS on > Solaris.  The FREEBL_NO_DEPEND build configuration supports > on

Re: Building NSS for OpenCSW (Solaris)

2009-11-22 Thread Nelson B Bolyard
On 2009-11-22 04:44 PST, Maciej Bliziński wrote: > Hello dev-tech-crypto, > > I'm working on a Solaris NSS package for the OpenCSW[1] project. I'm > compiling it using Sun Studio 11, on standard OpenCSW buildfarm. I'm > using the standard OpenCSW build system, GAR. The source code of the > buil

Re: Building NSS for OpenCSW (Solaris)

2009-11-22 Thread Wan-Teh Chang
2009/11/22 Maciej Bliziński : > > I've also built it with debugging symbols and ran it under a debugger. >  Here's where it's aborting: > > [1] 0xff3db7b0(0xffbfe220, 0xa3, 0x1, 0x6, 0x0, 0x6), at 0xff3db7b0 >  [2] 0xff3d7ff4(0x1, 0x6, 0x0, 0xfefbc000, 0xff166000, 0x0), at 0xff3d7ff4 >  [3] 0xff3db

Building NSS for OpenCSW (Solaris)

2009-11-22 Thread Maciej Bliziński
Hello dev-tech-crypto, I'm working on a Solaris NSS package for the OpenCSW[1] project. I'm compiling it using Sun Studio 11, on standard OpenCSW buildfarm. I'm using the standard OpenCSW build system, GAR. The source code of the build file I'm writing is similar to BSD ports, and can be found