Bug#508432: [libnet-pcap-perl] Fwknop fails with a segmentation fault on i386
Sébastien Aperghis-Tramoni
sebastien at aperghis.net
Mon Feb 16 00:38:35 UTC 2009
Franck Joncourt a écrit :
> Hi Sébastien,
>
>> Franck, I never saw warnings such as the ones you sent me, even with
>> -Wall. I'll check again the different CPAN Testers FAIL reports, but
>> last time I did, I saw no such warnings. Which version of gcc, Perl,
>> libpcap and Net::Pcap are you using? I'll try tomorrow to compile
>> Fwknop
>> on my Linux station at work and see if I can reproduce this.
>
> Here is the log of the build:
>
> http://buildd.debian.org/fetch.cgi?pkg=libnet-pcap-
> perl;ver=0.16-1;arch=amd64;stamp=1226616642
> http://buildd.debian.org/build.cgi?pkg=libnet-pcap-perl
Ok, you're using a much more recent version of GCC than I do. Nice,
but "fixing" the "value computed is not used" warnings means checking
each and every call to hv_store(), also making the code much less
readable.
The "pointer [...] differ in signedness" warnings are here since a
long time, but don't seem to be a problem. For a few, it seems to be
a case of throwing some (u_char *) casts at the appropriate places,
but I'd prefer to double check that it doesn't change anything at the
binary level before applying these.
--
Sébastien Aperghis-Tramoni
Close the world, txEn eht nepO.
More information about the pkg-perl-maintainers
mailing list