Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106358 - apache2 compiled with -D_FILES_OFFSET_BITS=64 option starts but won't work properly
Summary: apache2 compiled with -D_FILES_OFFSET_BITS=64 option starts but won't work pr...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 05:06 UTC by funkoolow
Modified: 2005-09-18 05:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description funkoolow 2005-09-18 05:06:42 UTC
I had to recompile my apache2 (vers: net-www/apache-2.0.54-r15) with the cflag
-D_FILE_OFFSET_BITS=64 active. the compiling went all smooth (or so it seemed),
but when the app runs, it starts but won't act correctly, reporting tons of
segmentation faults. here's a sample of the error log:

[Tue Sep 13 14:52:01 2005] [notice] child pid 8760 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8762 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8763 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8764 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8765 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8766 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8767 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8768 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:01 2005] [notice] child pid 8769 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:02 2005] [notice] child pid 8761 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:02 2005] [notice] child pid 10007 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:02 2005] [notice] child pid 10015 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:03 2005] [notice] child pid 10014 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:03 2005] [notice] child pid 10016 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:03 2005] [notice] child pid 10017 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:04 2005] [notice] child pid 10018 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:04 2005] [notice] child pid 10019 exit signal Segmentation
fault (11)
[Tue Sep 13 14:52:04 2005] [notice] child pid 10020 exit signal Segmentation
fault (11)

the server seems to respond to queries, since i can view some kind of pages
(e.g: pure and simple html pages but not php one), even if not fully properly
(e.g: images do not display at request, responding with a typical broken link
symbol)

if i recompile the server excluding the option above giving an CFLAGS="[all
without the -D_FILE_OFFSET_BITS=64 option]" emerge apache it comes to life again.

Reproducible: Always
Steps to Reproduce:
1.recompile apache with the -D_FILE_OFFSET_BITS=64 option active
2.run apache
3.browse a page

Actual Results:  
apache2 won't work properly even if it starts correctly (apparently)


let me know what other kind of infos you need
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2005-09-18 05:18:18 UTC
We don't support LFS (Large File Support) as many modules doesn't work correctly
with LFS. I have no idea when we'll finally be able to support LFS but don't
expect it to be anytime soon.

And please stop adding -Dsomething to your CFLAGS as gentoo generally can't
support that. We only support options enabled through USE flags in official ebuilds.