[Bug 2261386] mod_perl: FTBFS in F40: odperl_common_util.c:57:53: error: initialization of ‘int (*)(PerlInterpreter *, SV *, MAGIC *, SV *, const char *, I32)’ {aka ‘int (*)(struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, lo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2261386

Petr Pisar <ppisar@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Unspecified                 |i686
           Doc Type|---                         |If docs needed, set a value
            Summary|mod_perl: FTBFS in Fedora   |mod_perl: FTBFS in F40:
                   |rawhide/f40                 |odperl_common_util.c:57:53:
                   |                            |error: initialization of
                   |                            |‘int (*)(PerlInterpreter *,
                   |                            |SV *, MAGIC *, SV *, const
                   |                            |char *, I32)’ {aka ‘int
                   |                            |(*)(struct interpreter *,
                   |                            |struct sv *, struct magic
                   |                            |*, struct sv *, const char
                   |                            |*, lo



--- Comment #4 from Petr Pisar <ppisar@xxxxxxxxxx> ---
>From i686 build.log:

gcc -I/builddir/build/BUILD/mod_perl-2.0.13/src/modules/perl
-I/builddir/build/BUILD/mod_perl-2.0.13/xs -I/usr/include/apr-1
-I/usr/include/apr-1  -I/usr/include/httpd -D_REENTRANT -D_GNU_SOURCE -O2
-flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Wno-complain-wrong-lang -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic
-msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables
-fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/CORE -DMOD_PERL
-DMP_COMPAT_1X -fgnu89-inline -DLINUX -D_LARGEFILE64_SOURCE -g -fPIC \
-c modperl_common_util.c && mv modperl_common_util.o modperl_common_util.lo
modperl_common_util.c:57:53: error: initialization of ‘int (*)(PerlInterpreter
*, SV *, MAGIC *, SV *, const char *, I32)’ {aka ‘int (*)(struct interpreter *,
struct sv *, struct magic *, struct sv *, const char *, long int)’} from
incompatible pointer type ‘int (*)(PerlInterpreter *, SV *, MAGIC *, SV *,
const char *, int)’ {aka ‘int (*)(struct interpreter *, struct sv *, struct
magic *, struct sv *, const char *, int)’} [-Wincompatible-pointer-types]
   57 |                                                    
modperl_table_magic_copy};
      |                                                    
^~~~~~~~~~~~~~~~~~~~~~~~

Since Koschei <https://koschei.fedoraproject.org/package/mod_perl> is happy on
all 64-bit architecture, I conclude this is specific for 32-bit platforms.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2261386

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202261386%23c4
--
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux