>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

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
+#define SharedLibraryLoadFlags -shared /usr/lib/crtbeginS.o /usr/lib/crtendS.o
 /* This must come last */
 #include <bsdLib.rules>

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

Reply via email to