Re: [cdesktopenv-devel] fix CDE compilation with __guard_local on OpenBSD

2012-09-25 Thread Jon Trulson
On Tue, 25 Sep 2012, Pascal Stumpf wrote:

 On Mon, 24 Sep 2012 18:33:39 -0600 (MDT), Jon Trulson wrote:
 On Mon, 24 Sep 2012, Pascal Stumpf wrote:

 This one would not apply (corrupt?)

 Next try.


Applied.
-- 
Jon Trulson

The Higgs Field is what make atoms matter.
 -- Tom L.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


[cdesktopenv-devel] fix CDE compilation with __guard_local on OpenBSD

2012-09-24 Thread Pascal Stumpf
From 061fd82a233136724c3c5e591f379e58fcc5de0b Mon Sep 17 00:00:00 2001
From: Pascal Stumpf pascal.stu...@cubes.de
Date: Mon, 24 Sep 2012 21:50:19 +0200
Subject: [PATCH] Add csu objects to shared libraries on OpenBSD.

This is required by recent changes to the stack protector code in gcc,
generating references to __guard_local instead of __guard, defined in
crtbeginS.o.

This is a temporary solution; strictly speaking, we shouldn't invoke ld
directly at all but use cc instead.
---
 cde/config/cf/OpenBSD.cf |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cde/config/cf/OpenBSD.cf b/cde/config/cf/OpenBSD.cf
index 163c40b..ccde1f8 100644
--- a/cde/config/cf/OpenBSD.cf
+++ b/cde/config/cf/OpenBSD.cf
@@ -1028,5 +1028,7 @@ install:: fonts.alias 
@@\
 #define KornShell   /usr/local/bin/ksh93
 #endif
 
+#define SharedLibraryLoadFlags -shared /usr/lib/crtbeginS.o /usr/lib/crtendS.o
+
 /* This must come last */
 #include bsdLib.rules
-- 
1.7.6


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel