Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speed vs. Security
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xTango
n00b
n00b


Joined: 11 Jun 2002
Posts: 15
Location: Argentina

PostPosted: Mon Sep 23, 2002 7:59 pm    Post subject: Speed vs. Security Reply with quote

Hello there,

Does anyone know if there is any danger in using the CFLAG -fomit-frame-pointer on a server?
I use it on my workstations and it does make a difference, so I would like to use it on my servers to speed up PHP (if there are no security issues involved).

Thanks in advance.

Regards,
Ernesto
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Mon Sep 23, 2002 11:03 pm    Post subject: Reply with quote

i dont see how a cpu optimisation can cause a security issue, but php compiles with lacking security
Back to top
View user's profile Send private message
TripKnot
Apprentice
Apprentice


Joined: 29 May 2002
Posts: 213

PostPosted: Wed Sep 25, 2002 9:46 pm    Post subject: Reply with quote

There was a post recently about -funroll-all-loops which actually caused some major problems like some app accepting any password for login. -funroll-all-loops is a stupid optimization anyways, -funroll-loops is better and I'm not sure if the problem mentioned persists with this. But I'haven't heard anyhting bad about -fomit-frame-pointer.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7732
Location: Underworld

PostPosted: Wed Sep 25, 2002 11:16 pm    Post subject: Reply with quote

-fframe-omit-pointer frees a register which is used do debug programs -- so the compiler has more registers to schedule things.

In some cases, you may experience some applications crashing. I don't think it is advisable to use it in a server environment (I wouldn't).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum