David Eisner
2008-Jul-21 21:09 UTC
[Samba] Building Samba 3.2.0 on Solaris with Sun compiler
I was able to build Samba 3.0.x under Solaris 10 using the Sun Studio compiler (cc) and the Solaris ld (/usr/ccs/bin/ld) that it uses. Trying to build Samba 3.2.0, however, I immediately run into a problem where the build process assumes the linker understands "--version-script", which is specific to the GNU linker: Linking shared library bin/libtalloc.so /usr/ccs/bin/ld: illegal option -- version-script usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) [-64] enforce a 64-bit link-edit Is this a bug? Thanks. -David -- David Eisner http://cradle.brokenglass.com
David Eisner
2008-Jul-28 13:56 UTC
[Samba] Re: Building Samba 3.2.0 on Solaris with Sun compiler
Still wondering: Is building with cc (as opposed to gcc) on Solaris 10 supported with Samba 3.2.0? Thanks again. -David On Mon, Jul 21, 2008 at 5:09 PM, David Eisner <deisner@gmail.com> wrote:> I was able to build Samba 3.0.x under Solaris 10 using the Sun Studio > compiler (cc) and the Solaris ld (/usr/ccs/bin/ld) that it uses. > > Trying to build Samba 3.2.0, however, I immediately run into a problem > where the build process assumes the linker understands > "--version-script", which is specific to the GNU linker: > > Linking shared library bin/libtalloc.so > /usr/ccs/bin/ld: illegal option -- version-script > usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) > [-64] enforce a 64-bit link-edit > > Is this a bug? > > Thanks. > > -David > > > > > -- > David Eisner http://cradle.brokenglass.com >-- David Eisner http://cradle.brokenglass.com
Volker Lendecke
2008-Jul-28 14:18 UTC
[Samba] Re: Building Samba 3.2.0 on Solaris with Sun compiler
On Mon, Jul 28, 2008 at 09:56:23AM -0400, David Eisner wrote:> Still wondering: Is building with cc (as opposed to gcc) on Solaris > 10 supported with Samba 3.2.0?Should be, sure. The build farm runs some hosts this way. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20080728/dd4b030f/attachment.bin
David Eisner
2008-Jul-28 15:15 UTC
[Samba] Re: Building Samba 3.2.0 on Solaris with Sun compiler
On Mon, Jul 28, 2008 at 11:00 AM, David Eisner <deisner@gmail.com> wrote:> On Mon, Jul 28, 2008 at 10:58 AM, Volker Lendecke > <Volker.Lendecke@sernet.de> wrote: >> Ok, possibly we have the Solaris compiler but a GNU linker >> in the build farm machines. Hmmm. Sorry, I don't have time >> right now to fix this really, hunting a SMB signing bug in >> 3.2 :-( > > Good luck. I'll raise a bug, then, now that I have confirmation it's > something that should, in theory, be working.I've created a bug report: https://bugzilla.samba.org/show_bug.cgi?id=5639 -David -- David Eisner http://cradle.brokenglass.com