import heimdal questions
Matthieu Patou
mat at samba.org
Sun Aug 15 15:15:08 MDT 2010
On 15/08/2010 23:45, Love Hörnquist Åstrand wrote:
> Hello Matthieu,
>
> What missing is extra files that have been added as part development
> (in this case, migration to ltm and sharing of more data with the
> windows port).
Yeah I understood this a bit lately,
The thing is that that for *_tfm_method and *_ltm_method there is a PILE
of new C file potentially :
find heimdal/lib/hcrypto/tomsfastmath/ | grep -E '\.c' | wc -l
99
find heimdal/lib/hcrypto/libtommath/ | grep -E '\.c' | wc -l
133
I can of course add all of them but are they all needed ?
Also I started to add some files but I get this :
../heimdal/lib/hcrypto/tomsfastmath/src/mul/fp_mul_comba.c: In function
‘fp_mul_comba’:
../heimdal/lib/hcrypto/tomsfastmath/src/mul/fp_mul_comba.c:349: error:
can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
../heimdal/lib/hcrypto/tomsfastmath/src/mul/fp_mul_comba.c:349: error:
‘asm’ operand has impossible constraints
I'm not sure that having plateforme ASM is the will of the project ...
Matthieu.
>
> Currently I'm maintaining two build systems (autoconf/windows make),
> we talked about adding waf too to make heimdal not break every time
> you import it in samba.
>
> Is your tree available somewhere ?
>
> Love
>
>
> 15 aug 2010 kl. 10.01 skrev Matthieu Patou:
>
>> Hello Love,
>>
>> I'm trying to import heimdal in s4 to be able to tests your change in
>> hx509 area.
>>
>> I'm having this error message:
>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to
>> `hc_DH_ltm_method'
>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to
>> `hc_RSA_tfm_method'
>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to
>> `hc_DH_tfm_method'
>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to
>> `hc_RSA_ltm_method'
>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to
>> `hc_rsa_tfm_method'
>>
>>
>>
>> As rgrep hc_RSA_tfm_method * -I 2>/dev/null gives:
>>
>> heimdal/lib/hcrypto/rsa.h:#define RSA_tfm_method hc_RSA_tfm_method
>> heimdal-new/lib/hcrypto/libhcrypto-exports.def: hc_RSA_tfm_method
>> heimdal-new/lib/hcrypto/rsa.h:#define RSA_tfm_method hc_RSA_tfm_method
>> heimdal-new/lib/hcrypto/version-script.map: hc_RSA_tfm_method;
>> 'import-heimdal shell'>make
>>
>> I guess that we should have libhcrypto-export.def and
>> version-script.map in our heimdal copy but as I'm not familiar with
>> the library packaging I don't know how to do it.
>>
>> Also I'm a bit surprised that I don't find the definition of the
>> function hc_RSA_tfm_method anywhere in the code, did I miss something ?
>>
>> I had a similar problem with the function _krb5_expand_path_tokens
>> which seems comming out of nowhere and was used in lib/krb5/cache.c
>> (in this case I managed to revert your patch just to see if I'm able
>> to build s4).
>>
>> Please give me some advices!
>>
>> Matthieu
>>
>>
>>
>> --
>> Matthieu Patou
>> Samba Team http://samba.org
>>
>
--
Matthieu Patou
Samba Team http://samba.org
More information about the samba-technical
mailing list