Re: [pcre-dev] A test for the memory mismatch problem

Góra strony
Delete this message
Autor: Sheri
Data:  
Dla: pcre-dev, Philip Hazel
Temat: Re: [pcre-dev] A test for the memory mismatch problem
Philip Hazel wrote:
> On Mon, 2 Apr 2007, Sheri wrote:
>
>
>> I did it both ways, first with addition of pcre.def file, then with all
>> three def files present in the RC3 dir. Each time started fresh. The end
>> result each way is that pcretest still has all those memory
>> disagreements. So the mere presence of the def files has no effect at
>> all. Make is not using them per my console output (whereas it did in 7.0).
>>
>
> I see that in the 7.0 Makefile.in, we have this:
>
> .libs/@WIN_PREFIX@??? : libpcre.la
>         $(CC) $(CFLAGS) -shared -o $@ \
>         -Wl,--whole-archive .libs/libpcre.a \
>         -Wl,--out-implib,.libs/libpcre.dll.a \
>         -Wl,--output-def,.libs/@WIN_PREFIX@??? \
>         -Wl,--export-all-symbols \
>         -Wl,--no-whole-archive
>         sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@???'#" \
>         -e "s#library_names=''#library_names='libpcre.dll.a'#" \
>         < .libs/libpcre.lai > .libs/libpcre.lai.tmp && \
>         mv -f .libs/libpcre.lai.tmp .libs/libpcre.lai
>         sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@???'#" \
>         -e "s#library_names=''#library_names='libpcre.dll.a'#" \
>         < libpcre.la > libpcre.la.tmp && \
>         mv -f libpcre.la.tmp libpcre.la

>
> and I notice stuff like --outpuf-def and --export-all-symbols which
> could be relevant. In 7.1, the Makefile is created dynamically, so I
> can't see what happens on Windows. Could you send me the Makefile that
> you end up with? Maybe some of these flags are getting lost. Maybe
> there's something we can tweak...
>
>

Attached in zip file, sent both to list and to you personally Phillip.

Regards,
Sheri