http://bugzilla.novell.com/show_bug.cgi?id=551789 Summary: Xorg builds with -O0 flags? Classification: openSUSE Product: openSUSE 11.2 Version: RC 1 Platform: i586 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: mxwu@novell.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- from https://build.opensuse.org/package/view_file?file=xorg-x11-server.spec&package=xorg-x11-server&project=openSUSE%3A11.2 line 300, we add -O0 flags to CFLAGS. from the build log: https://build.opensuse.org/package/live_build_log?arch=i586&package=xorg-x11-server&project=openSUSE%3A11.2&repository=standard Both -O2 and -O0 are using with compiling, but -O0 is behind -O2. I did a test and confirmed that when both -O2 and -O0 are indicated in CFLAGS, gcc will use the last one. It means we are using -O0 flags for building. I builded and installed Xorg without the -O0 flags, and feeled the everything is much smoother. Is there any reason why we don't use gcc's -O2 optimization? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.