Content-Transfer-Encoding: quoted-printable Content-type: text/html; charset=US-ASCII Content-Disposition: inline X-RT-Original-Encoding: iso-8859-1 Content-Length: 3578
Hi,
I removed use_linker_fini_option=yes under *-*-aix5* in src/config/shlib.conf and compiled.
Then got following error.
/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/collect2 -bpT:0x10000000 -bpD:0x20000000 -btextro -bM:SRE -bnoentry -o libk5crypto.so.3.1 -L../../lib -L/opt/freeware/lib -L/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0 -L/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/../../.. builtin/enc_provider/des.o builtin/enc_provider/des3.o builtin/enc_provider/rc4.o builtin/enc_provider/aes.o builtin/enc_provider/camellia.o builtin/hash_provider/hash_crc32.o builtin/hash_provider/hash_md4.o builtin/hash_provider/hash_md5.o builtin/hash_provider/hash_sha1.o builtin/hash_provider/hash_sha2.o builtin/md4/md4.o builtin/md5/md5.o builtin/sha1/shs.o builtin/sha2/sha256.o builtin/sha2/sha512.o builtin/aes/aescrypt.o builtin/aes/aestab.o builtin/aes/aeskey.o builtin/des/d3_aead.o builtin/des/d3_kysched.o builtin/des/des_keys.o builtin/des/f_aead.o builtin/des/f_cksum.o builtin/des/f_parity.o builtin/des/f_sched.o builtin/des/f_tables.o builtin/des/key_sched.o builtin/des/weak_key.o builtin/camellia/camellia.o krb/aead.o krb/block_size.o krb/cf2.o krb/checksum_cbc.o krb/checksum_confounder.o krb/checksum_dk_cmac.o krb/checksum_dk_hmac.o krb/checksum_etm.o krb/checksum_hmac_md5.o krb/checksum_unkeyed.o krb/checksum_length.o krb/cksumtype_to_string.o krb/cksumtypes.o krb/cmac.o krb/coll_proof_cksum.o krb/combine_keys.o krb/crc32.o krb/crypto_length.o krb/crypto_libinit.o krb/default_state.o krb/decrypt.o krb/decrypt_iov.o krb/derive.o krb/encrypt.o krb/encrypt_iov.o krb/encrypt_length.o krb/enctype_util.o krb/enc_dk_cmac.o krb/enc_dk_hmac.o krb/enc_etm.o krb/enc_old.o krb/enc_raw.o krb/enc_rc4.o krb/etypes.o krb/key.o krb/keyblocks.o krb/keyed_cksum.o krb/keyed_checksum_types.o krb/keylengths.o krb/make_checksum.o krb/make_checksum_iov.o krb/make_random_key.o krb/mandatory_sumtype.o krb/nfold.o krb/old_api_glue.o krb/prf.o krb/prf_aes2.o krb/prf_cmac.o krb/prf_des.o krb/prf_dk.o krb/prf_rc4.o krb/prng.o krb/prng_fortuna.o krb/random_to_key.o krb/s2k_des.o krb/s2k_pbkdf2.o krb/s2k_rc4.o krb/state.o krb/string_to_cksumtype.o krb/string_to_key.o krb/valid_cksumtype.o krb/verify_checksum.o krb/verify_checksum_iov.o builtin/hmac.o builtin/init.o builtin/pbkdf2.o -bgcbypass:1 -bfilelist -bM:SRE -bE:./libk5crypto.exports -bernotok -brtl -lkrb5support -lpthreads -bmaxdata:0x80000000 -brtl -lc -binitfini::cryptoint_cleanup_library:2 -lgcc_s -lc -lgcc_s
ld: 0706-026 The -b filelist option is ignored.
ld: 0711-328 ERROR: Undefined initfini symbol: cryptoint_cleanup_library
collect2: error: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
So I did following changes in src/config/shlib_conf
- MAKE_SHLIB_COMMAND="${INIT_FINI_PREP} && ${LDCOMBINE}"
+ MAKE_SHLIB_COMMAND=${LDCOMBINE}"
Is this change correct?
Regards,
Lavanya M S
************************************************
IBM India Software Lab,
EGL- D Block, 7th Floor.
Off Koramangala - Indranagar Ring Road,
Bangalore-71 , India
************************************************