develooper Front page | perl.perl5.porters | Postings from July 2010

Re: Smoke [5.13.2] v5.13.2-245-g9df83ff FAIL(Xm) linux 2.6.32-22-generic[debian] (x86_64/8 cpu)

Thread Previous
From:
George Greer
Date:
July 13, 2010 15:23
Subject:
Re: Smoke [5.13.2] v5.13.2-245-g9df83ff FAIL(Xm) linux 2.6.32-22-generic[debian] (x86_64/8 cpu)
Message ID:
alpine.LFD.2.00.1007131822260.7004@ein.m-l.org
On Tue, 13 Jul 2010, Tony Cook wrote:

> On Tue, Jul 13, 2010 at 03:13:00AM -0400, George Greer wrote:
>> sv.c: In function ‘I32 Perl_sv_cmp(SV*, SV*)’:
>> sv.c:6849: error: invalid conversion from ‘const void*’ to ‘const char*’
>> sv.c:6849: error:   initializing argument 1 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’
>> sv.c:6849: error:   initializing argument 2 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’
>> sv.c: In function ‘I32 Perl_sv_cmp_locale(SV*, SV*)’:
>> sv.c:6906: error: invalid conversion from ‘void*’ to ‘const char*’
>> sv.c:6906: error:   initializing argument 1 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’
>> sv.c:6906: error:   initializing argument 2 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’
>
> This appears to be two problems:
>
> a) the prototype for the replacement Perl_my_memcmp() doesn't match
> the standard C memcmp().  Presumably this matches historical
> (pre-ANSI) memcmp.
>
> b) Configure doesn't find the available memcmp() - so why?

Great, glad you had time to look at it.  All I had time for was the 
obvious, that it broke after a Ubuntu glibc update. You may want to 
perlbug it as a collector.

-- 
George Greer
Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About