Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8976 - why no optimization for acpid?
Summary: why no optimization for acpid?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-10 07:21 UTC by Hanno Böck
Modified: 2003-05-23 10:09 UTC (History)
2 users (show)

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


Attachments
log file for reported problem (acpid.log,2.91 KB, text/plain)
2002-12-30 16:36 UTC, Sybren Harmsma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2002-10-10 07:21:17 UTC
In acpid-ebuild, there is a warning
"Do not compile with optimizations"
Anyone knows a reason for this? I tried yesterday to compile with CFLAGS enabled
(just had to add -DVERSION-Parameter from original Makefile-CFLAGS to the CFLAGS).
No problems with it.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-12 14:54:45 UTC
So fix it if it is a problem for you.
Comment 2 Hanno Böck gentoo-dev 2002-10-16 04:26:31 UTC
Now added acpid-1.0.1-r1 as ~x86.
Please report if it works/doesnt work for you.
Comment 3 Sybren Harmsma 2002-12-30 16:19:20 UTC
acpid-1.0.1-r1 (the one with optimisations) does NOT work my system, while
acpid-1.0.1-r0 (without optimisations) works fine. It seems that the warning "Do
not compile with optimizations" was there for a good reason.

I use Gentoo 1.4 on x86, compiled a few days ago, and my CFLAGS are:

CFLAGS="-march=pentium2 -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-loop-opt -falign-functions=4"

I have created an attachment with my /var/log/acpid and relevant lines from my
/var/log/syslog.

Please change the status of this bug to REOPENED. (I cannot do it.) Recommend
masking or removing of acpid-1.0.1-r1.ebuild, since tracking down this problem
took quite some time and optimisation of the acpid doesn't make much sense since
it isn't used extensively.

Comment 4 Sybren Harmsma 2002-12-30 16:36:39 UTC
Created attachment 6855 [details]
log file for reported problem
Comment 5 Sybren Harmsma 2003-05-23 10:09:45 UTC
Can somebody look into this? I reported the problem 5 months ago and nothing has happened since then.