Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2007 09:12:04 GMT
From:      Ildar <dar.quonb@gmai.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117445: restore gcc optimization of x11-servers/xorg-server in RELENG_7
Message-ID:  <200710240912.l9O9C4TE005283@www.freebsd.org>
Resent-Message-ID: <200710240920.l9O9K9dN033537@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117445
>Category:       ports
>Synopsis:       restore gcc optimization of x11-servers/xorg-server in RELENG_7
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 24 09:20:09 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ildar
>Release:        7.0-BETA1
>Organization:
>Environment:
FreeBSD <...> 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Tue Oct 23 14:58:02 MSD 2007     root@<...>:/usr/obj/usr/src/sys/DARKERNEL  amd64
>Description:
Since updating gcc to version 4.2.1 problems with compiling with optimization is solved.
So it is safe now to enable optimization when building x11-servers/xorg-server 
>How-To-Repeat:
Just build the port
>Fix:
Apply patch in port directory

Patch attached with submission follows:

--- Makefile	Wed Oct 24 13:11:11 2007
+++ Makefile	Wed Oct 24 13:11:16 2007
@@ -101,7 +101,7 @@
 PLIST_SUB+=	AMD64_I386="@comment "
 .endif
 
-.if ${OSVERSION} > 700042
+.if ${OSVERSION} > 700042 && ${OSVERSION} < 700053
 CFLAGS+=	-O0
 .endif
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710240912.l9O9C4TE005283>