Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550244 - www-apache/mod_perl: miscompilation w/gcc-5
Summary: www-apache/mod_perl: miscompilation w/gcc-5
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
Depends on:
Blocks: gcc-5
  Show dependency tree
Reported: 2015-05-23 16:11 UTC by SpanKY
Modified: 2015-05-24 02:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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