RE: compile problems

[prev] [thread] [next] [Date index for 2004/12/22]

From: Barksdale, Ray
Subject: RE: compile problems
Date: 15:19 on 22 Dec 2004
Hmm, I managed to get it to work with either -fpic or -fPIC after switching
to shared perl.
Also built with -m64.

I noticed Apache (at least 2.0.52) configures/compiles for -fPIC
automagically.

But once it loads, oooohhhh it is BIGGGGG.
(note lotta Apache modules, Apache::Request, CGI loaded via startup.pl).

     PID  Size Share VSize   Rss M Elapsed LastReq Srvd     Client Virtual
Host  Request (first 64 chars) 
  5: 2525 94.4M 88.3M 94.4M  8.8M _  0.000s  0.000s    0

  2: 2522 94.4M 88.3M 94.4M  8.8M _  0.000s  0.000s    0

  4: 2524 94.4M 88.3M 94.4M  8.8M _  0.000s  0.000s    0

  3: 2523 94.4M 88.3M 94.4M  8.8M _  0.000s  0.000s    0

  0: 2520 94.4M 88.3M 94.4M  8.8M

  1: 2521  108M 97.0M  108M 13.7M W  0.000s  0.000s    0 10.1.54.95 testbox2
GET /sys-monitor HTTP/1.1

Total:     608169K ( 580M) size, 145465K ( 139M) approx real size (-shared)

 

> -----Original Message-----
> From: Matthew Berk [mailto:matthew@xxxxxxx.xxx] 
> Sent: Monday, December 20, 2004 8:44 AM
> To: modperl@xxxx.xxxxxx.xxx
> Subject: Re: compile problems
> 
> Found a solution worth writing about. I went through the perl  
> configuration interactively, specifying the following non-defaults:
> 
>   - compile perl as shared
>   - use gcc, not cc, as the compiler
>   - provide -fPIC to the compiler
> 


*****CONFIDENTIALITY NOTICE*****
This e-mail and any files or attachments may contain confidential and
privileged information.  If you have received this message in error, please
notify the sender at the above e-mail address and delete it and all copies
from your system.



        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

RE: compile problems
Barksdale, Ray 16:57 on 17 Dec 2004

Re: compile problems
Joe Schaefer 18:27 on 17 Dec 2004

Re: compile problems
Stas Bekman 18:38 on 17 Dec 2004

RE: compile problems
Barksdale, Ray 19:05 on 17 Dec 2004

Re: compile problems
Stas Bekman 19:26 on 17 Dec 2004

RE: compile problems
Barksdale, Ray 21:05 on 17 Dec 2004

Re: compile problems
Stas Bekman 21:19 on 17 Dec 2004

RE: compile problems
Barksdale, Ray 23:38 on 17 Dec 2004

Re: compile problems
Stas Bekman 23:44 on 17 Dec 2004

RE: compile problems
Barksdale, Ray 15:19 on 22 Dec 2004

Re: compile problems
Stas Bekman 20:27 on 22 Dec 2004

RE: compile problems
Barksdale, Ray 20:37 on 22 Dec 2004

Re: compile problems
Stas Bekman 21:16 on 22 Dec 2004

RE: compile problems
Barksdale, Ray 22:01 on 22 Dec 2004

Re: compile problems
Stas Bekman 22:22 on 22 Dec 2004

RE: compile problems
Barksdale, Ray 23:07 on 22 Dec 2004

Re: compile problems
Stas Bekman 00:01 on 23 Dec 2004

RE: compile problems
Barksdale, Ray 22:50 on 28 Dec 2004

Re: compile problems
Stas Bekman 23:01 on 28 Dec 2004

RE: compile problems
Barksdale, Ray 23:15 on 28 Dec 2004

Re: compile problems
Stas Bekman 23:17 on 28 Dec 2004

RE: compile problems
Barksdale, Ray 23:50 on 28 Dec 2004

Re: compile problems
Joe Schaefer 01:29 on 29 Dec 2004

RE: compile problems
Barksdale, Ray 16:59 on 29 Dec 2004

Re: compile problems
Stas Bekman 17:21 on 29 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52