[19620] in Kerberos_V5_Development
RE:Change in include/k5-platform.h breaks compiling krb5 1.15.1 on
daemon@ATHENA.MIT.EDU (REIX, Tony)
Wed Aug 23 08:48:32 2017
From: "REIX, Tony" <tony.reix@atos.net>
To: "krbdev@mit.edu" <krbdev@mit.edu>
Date: Wed, 23 Aug 2017 12:48:08 +0000
Message-ID: <B37989F2852398498001550C29155BE5178BBAB8@FRCRPVV9EX3MSX.ww931.my-it-solutions.net>
In-Reply-To: <B37989F2852398498001550C29155BE5178BBA0C@FRCRPVV9EX3MSX.ww931.my-it-solutions.net>
Content-Language: fr-FR
Content-Type: multipart/mixed;
boundary="_004_B37989F2852398498001550C29155BE5178BBAB8FRCRPVV9EX3MSXw_"
MIME-Version: 1.0
Errors-To: krbdev-bounces@mit.edu
--_004_B37989F2852398498001550C29155BE5178BBAB8FRCRPVV9EX3MSXw_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Previous patch contained a little mistake about path of file ./src/include/=
k5-platform.h
New patch attached.
Patch is:
--- ./src/include/k5-platform.h.ORIGIN 2017-08-23 11:07:08 +0200
+++ ./src/include/k5-platform.h 2017-08-23 11:16:24 +0200
@@ -354,7 +354,7 @@
-#if !defined(SHARED) && !defined(_WIN32)
+#if !defined(SHARED) && !defined(_WIN32) && !defined(USE_LINKER_FINI_OPTIO=
N)
/*
* In this case, we just don't care about finalization.
Cordialement,
Tony Reix
Bull - ATOS
IBM Coop Architect & Technical Leader
Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 =C9chirolles - France
www.atos.net<http://www.atos.net/>
________________________________
De : REIX, Tony
Envoy=E9 : mercredi 23 ao=FBt 2017 12:10
=C0 : krbdev@mit.edu
Objet : Change in include/k5-platform.h breaks compiling krb5 1.15.1 on AIX=
(and more)
Hi,
I'm moving from krb5 1.9.4 to krb5 1.15.1 .
So, the issue may have appeared before version 1.15 .
It breaks AIX and possibly hpux .
Linker error message on AIX is:
ld: 0711-328 ERROR: Undefined initfini symbol: krb5int_thread_support_fi=
ni
since the following code is generated, where krb5int_thread_support_fini() =
is static:
static int krb5int_thread_support_init(void); static void krb5int_thread_su=
pport_init__aux (void); static k5_init_t krb5int_thread_support_init__once =
=3D {
# 32 "threads.c" 3 4
{{ 0, 0, 0, 0, 0, 2, 0 }}
# 32 "threads.c"
, 0, 0, krb5int_thread_support_init__aux }; static void krb5int_thread_supp=
ort_init__aux (void) { krb5int_thread_support_init__once.did_run =3D 1; krb=
5int_thread_support_init__once.er
ror =3D krb5int_thread_support_init(); } static int krb5int_thread_support_=
init(void);
static void krb5int_thread_support_fini(void);
The patch attached to this email fixes the issue on AIX.
Regards,
Cordialement,
Tony Reix
Bull - ATOS
IBM Coop Architect & Technical Leader
Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 =C9chirolles - France
www.atos.net<http://www.atos.net/>
--_004_B37989F2852398498001550C29155BE5178BBAB8FRCRPVV9EX3MSXw_
Content-Type: text/x-patch;
name="krb5-1.15.1-krb5int_thread_support_fini-v2.patch"
Content-Description: krb5-1.15.1-krb5int_thread_support_fini-v2.patch
Content-Disposition: attachment;
filename="krb5-1.15.1-krb5int_thread_support_fini-v2.patch"; size=332;
creation-date="Wed, 23 Aug 2017 12:47:32 GMT";
modification-date="Wed, 23 Aug 2017 12:47:32 GMT"
Content-Transfer-Encoding: base64
LS0tIC4vc3JjL2luY2x1ZGUvazUtcGxhdGZvcm0uaC5PUklHSU4JMjAxNy0wOC0yMyAxMTowNzow
OCArMDIwMAorKysgLi9zcmMvaW5jbHVkZS9rNS1wbGF0Zm9ybS5oCTIwMTctMDgtMjMgMTE6MTY6
MjQgKzAyMDAKQEAgLTM1NCw3ICszNTQsNyBAQAogCiAKIAotI2lmICFkZWZpbmVkKFNIQVJFRCkg
JiYgIWRlZmluZWQoX1dJTjMyKQorI2lmICFkZWZpbmVkKFNIQVJFRCkgJiYgIWRlZmluZWQoX1dJ
TjMyKSAmJiAhZGVmaW5lZChVU0VfTElOS0VSX0ZJTklfT1BUSU9OKQogCiAvKgogICogSW4gdGhp
cyBjYXNlLCB3ZSBqdXN0IGRvbid0IGNhcmUgYWJvdXQgZmluYWxpemF0aW9uLgo=
--_004_B37989F2852398498001550C29155BE5178BBAB8FRCRPVV9EX3MSXw_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev
--_004_B37989F2852398498001550C29155BE5178BBAB8FRCRPVV9EX3MSXw_--