Mailing List Archive

svn commit: r1686295 - in /perl/modperl/trunk: Changes README
Author: stevehay
Date: Thu Jun 18 19:21:11 2015
New Revision: 1686295

URL: http://svn.apache.org/r1686295
Log:
Add note to README about MP_INLINE problem when building with GCC 5.

Subject: Re: mod_perl2, MP_INLINE and gcc 5
From: Niko Tyni <ntyni@debian.org>
Date: Thu, 18 Jun 2015 11:08:40 +0300
Message-ID: <20150618080840.GA28984@hagar.it.helsinki.fi>

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/README

Modified: perl/modperl/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1686295&r1=1686294&r2=1686295&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Thu Jun 18 19:21:11 2015
@@ -12,6 +12,9 @@ Also refer to the Apache::Test changes l

=item 2.0.9-rc3

+Add note to README about MP_INLINE problem when building with GCC 5.
+[Niko Tyni <ntyni@debian.org>]
+
Fix t/api/aplog.t for apr-1.5.2. [Steve Hay]

Note that Perl 5.22.x is currently not supported. This is logged as

Modified: perl/modperl/trunk/README
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/README?rev=1686295&r1=1686294&r2=1686295&view=diff
==============================================================================
--- perl/modperl/trunk/README (original)
+++ perl/modperl/trunk/README Thu Jun 18 19:21:11 2015
@@ -25,6 +25,14 @@ Perl:
configurations) are currently believed to work, but this is not
guaranteed to be the case, either now or in the future.

+C compiler:
+ The mod_perl source currently uses GNU89 inline semantics on GCC, but
+ GCC 5 defaults to newer C99 semantics. If you see MP_INLINE related
+ warnings during the build and missing symbols when starting the test
+ suite, adding "-fgnu89-inline" to MP_CCOPTS may help.
+ There are also some reports of this happening with the Clang compiler,
+ where the corresponding option to try is "-std=gnu89".
+
*** Status ***

mod_perl is currently considered stable.