Bug#752354: perl: trivial test C program fails to compile

2014-06-23 Thread Niko Tyni
On Mon, Jun 23, 2014 at 01:19:28AM -0700, Russ Allbery wrote: > Niko Tyni writes: > > > Thanks for looking at this. > > > The probe doesn't actually use anything from the headers, it just > > includes them: > It's from a static inline function defined in the headers. See perl.h: > > #ifndef P

Bug#752354: perl: trivial test C program fails to compile

2014-06-23 Thread Russ Allbery
Niko Tyni writes: > Thanks for looking at this. > The probe doesn't actually use anything from the headers, it just > includes them: > #include > #include > #include > int main() { return 0; } > It's not clear to me that this should require libperl linkage? It's from a static inline functi

Bug#752354: perl: trivial test C program fails to compile

2014-06-23 Thread Niko Tyni
On Mon, Jun 23, 2014 at 12:42:59AM -0700, Russ Allbery wrote: > Damyan Ivanov writes: > > > Perhaps. But I think the fix is not in perl but in xchat-gnome. > > > It seems PL_memory_wrap and Perl_croak_nocontext were moved to libperl > > in 5.20, so the test library needs to link with that. Addi

Bug#752354: perl: trivial test C program fails to compile

2014-06-23 Thread Russ Allbery
Damyan Ivanov writes: > Perhaps. But I think the fix is not in perl but in xchat-gnome. > It seems PL_memory_wrap and Perl_croak_nocontext were moved to libperl > in 5.20, so the test library needs to link with that. Adding > $(perl -MExtUtils::Embed -e ldopts) > to the compiler flags makes it

Bug#752354: perl: trivial test C program fails to compile

2014-06-23 Thread Damyan Ivanov
-=| Niko Tyni, 22.06.2014 23:50:56 +0300 |=- > Package: perl > Version: 5.20.0-1 > Severity: important > User: debian-p...@lists.debian.org > Usertags: perl-5.20-transition > > This is a regression from 5.18 and makes xchat-gnome drop > its libperl linkage because its autoconf probe fails. > >

Bug#752354: perl: trivial test C program fails to compile

2014-06-22 Thread Niko Tyni
Package: perl Version: 5.20.0-1 Severity: important User: debian-p...@lists.debian.org Usertags: perl-5.20-transition This is a regression from 5.18 and makes xchat-gnome drop its libperl linkage because its autoconf probe fails. % cat perltest.c #include #include #include int main(