|
From: <sv...@va...> - 2008-10-22 00:57:02
|
Author: sewardj
Date: 2008-10-22 01:56:53 +0100 (Wed, 22 Oct 2008)
New Revision: 8692
Log:
Track recent AIX 5.3 updates.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2008-10-21 23:15:39 UTC (rev 8691)
+++ trunk/coregrind/m_main.c 2008-10-22 00:56:53 UTC (rev 8692)
@@ -2605,6 +2605,18 @@
VG_(exit)(0);
}
+/* At some point in Oct 2008, static linking appeared to stop working
+ on AIX 5.3. This breaks the build since we link statically. The
+ linking fails citing absence of the following five symbols as the
+ reason. In the absence of a better solution, here are stand-ins
+ for them. Kludge appears to work; presumably said functions,
+ assuming they are indeed functions, are never called. */
+void encrypted_pw_passlen ( void ) { vg_assert(0); }
+void crypt_r ( void ) { vg_assert(0); }
+void max_history_size ( void ) { vg_assert(0); }
+void getpass_auto ( void ) { vg_assert(0); }
+void max_pw_passlen ( void ) { vg_assert(0); }
+
#endif /* defined(VGP_ppc{32,64}_aix5) */
|