[packages/openvpn-plugin-auth-ldap] this plugin built with gcc 4.7 crashes!

glen glen at pld-linux.org
Fri Jan 25 13:56:00 CET 2013


commit c06ccb383a0fe6042aca6944bb2f521b62a23e28
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jan 25 14:55:06 2013 +0200

    this plugin built with gcc 4.7 crashes!
    
    tried to build with svn fixes, but that code did not compile at all,
    some stdarg errors when building

 openvpn-plugin-auth-ldap.spec | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/openvpn-plugin-auth-ldap.spec b/openvpn-plugin-auth-ldap.spec
index 107fe40..88e4517 100644
--- a/openvpn-plugin-auth-ldap.spec
+++ b/openvpn-plugin-auth-ldap.spec
@@ -1,3 +1,11 @@
+# TODO
+# - compiled with gcc 4.7 (libobjc.so.4) it crashes
+#   Jan 23 13:47:12 pontus openvpn[32621]: OpenVPN 2.2.1 x86_64-pld-linux [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] built on Jul 7 2011
+#   Jan 23 13:47:12 pontus kernel: [38178686.496394] openvpn[32621]: segfault at 0 ip 00007ff3b02c4243 sp 00007fffe923bd20 error 4 in libobjc.so.4.0.0[7ff3b02b6000+16000]
+#   Jan 23 13:47:12 pontus openvpn[32621]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
+#   Jan 23 13:47:12 pontus openvpn: /usr/sbin/openvpn startup failed
+#   similarily to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641811
+#   if built with gcc 4.6 (libobjc.so.3) it does not crash!
 #
 # Conditional build:
 %bcond_with	tests		# check-based tests
@@ -17,7 +25,7 @@ URL:		http://code.google.com/p/openvpn-auth-ldap/
 BuildRequires:	autoconf
 BuildRequires:	automake
 %{?with_tests:BuildRequires:	check}
-BuildRequires:	gcc-objc
+BuildRequires:	gcc-objc < 6:4.7
 BuildRequires:	openldap-devel
 BuildRequires:	openvpn-devel
 BuildRequires:	re2c
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvpn-plugin-auth-ldap.git/commitdiff/c06ccb383a0fe6042aca6944bb2f521b62a23e28



More information about the pld-cvs-commit mailing list