[Bug 225658] Merge Review: cpuspeed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Merge Review: cpuspeed


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225658


jwilson@xxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|fedora-review-              |




------- Additional Comments From jwilson@xxxxxxxxxx  2007-02-04 12:13 EST -------
Okay, I think I *almost* have this one sorted out... I've got the package building on rawhide x86_64 
using most of our stock optflags, save -fexceptions, which is the one that was causing the build to fail 
when switching from CFLAGS= to COPTS= (note that that stock Makefile is set up to pass -fno-
exceptions). I've tweaked things a bit further so the -z bits are only passed during linking, so as to 
suppress some warning messages.

----8<----
+ make 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fpie -pie' LDFLAGS=-Wl,-z,relro,-z,now
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -fstack-protector --param=ssp-
buffer-size=4 -m64 -mtune=generic -fpie -pie -c -O2 cpuspeed.cc
cpuspeed.cc:121: warning: non-local variable '<anonymous struct> speeds [16]' uses anonymous type
cpuspeed.cc: In function 'int main(unsigned int, char**)':
cpuspeed.cc:810: warning: ignoring return value of 'int daemon(int, int)', declared with attribute 
warn_unused_result
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -fstack-protector --param=ssp-
buffer-size=4 -m64 -mtune=generic -fpie -pie -Wl,-z,relro,-z,now cpuspeed.o -o cpuspeed
+ exit 0
----8<----

This results in built packages that, at a glance, seem to be functioning correctly. Unfortunately, I'm still 
winding up with no source in the debuginfo package for some reason that is beyond me at the 
moment...



-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]