Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550244

Summary: www-apache/mod_perl: miscompilation w/gcc-5
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Severity: normal CC: idl0r
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536984    

Description SpanKY gentoo-dev 2015-05-23 16:11:10 UTC
when building mod_perl w/gcc-5, trying to load it fails:
apache2: Syntax error on line 148 of /etc/apache2/httpd.conf: Syntax error on line 2 of /etc/apache2/modules.d/75_mod_perl.conf: Cannot load modules/ into server: /usr/lib64/apache2/modules/ undefined symbol: modperl_handler_name

this is because mod_perl has labeled that symbol inline even though it makes no sense at all -- it's defined in a .c file and other .c files are expected to call it.  it has no definition in the header file.

Fedora fixed it by disabling all of mod_perl's use of inline:

that patch fixes things for me
Comment 1 SpanKY gentoo-dev 2015-05-24 02:47:10 UTC
should be all set now in the tree

Commit message: Use inline patch from Fedora to fix build w/gcc-5