[distcc] Cygwin and DISTCC: how do i point cygwin's distcc to the crosscompiler?

Martin Pool mbp at sourcefrog.net
Fri May 20 22:15:50 GMT 2005


On Fri, 2005-05-20 at 12:27 -0700, Dan Kegel wrote:
> Ryan Churches wrote:
> >>The -fno-stack-protection option is added by a patch,
> >>http://www.trl.ibm.com/projects/security/ssp/
> >>If you want that, you'll have to drop it into the patches/gcc-3.4.3
> >>directory of crosstool after adjusting it to apply with
> >>-p1 instead of -p0.  I haven't tried that myself ...
> > 
> > i know the patch program a little, i know what your talking about, and
> > i can handle that, BUT, something is still amiss
> > 
> > it turns out, some compiles will succeed, but others will fail.  i
> > made a very detailed easy to follow paste in http://pastebin.ca/12284
> > which i was hoping you would look at when you had a minute.
> > 
> > i was using grub as my test package, but i added grkellm and links and
> > got different results with all three.
> 
> That just means some packages use the -no-stack-protection option,
> and some don't.

Some packages detect optional gcc features like this and try to use them
if they exist.  If only some of the distcc machines have that patch in
their compiler then it fails badly.  As I recall, you cannot use a
gentoo gcc 3.4 client and an unpatched 3.4 server, because Gentoo
include this patch.

-- 
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/distcc/attachments/20050521/6926ae51/attachment.bin


More information about the distcc mailing list