Re: [current tinderbox] failure on ...all...

From: David O'Brien (obrien_at_freebsd.org)
Date: 06/12/05

  • Next message: Kris Kennaway: "Re: [current tinderbox] failure on ...all..."
    Date: Sat, 11 Jun 2005 19:21:05 -0700
    To: Ruslan Ermilov <ru@freebsd.org>
    
    

    On Fri, Jun 10, 2005 at 10:47:06AM +0300, Ruslan Ermilov wrote:
    > On Fri, Jun 10, 2005 at 09:32:14AM +0200, Dag-Erling Sm?rgrav wrote:
    > > Ruslan Ermilov <ru@FreeBSD.org> writes:
    > > > And if you feel that -fno-strict-aliasing is evil, why not dike it
    > > > out from sys.mk?
    > >
    > > 'ncvs annotate /usr/src/share/mk/sys/mk | grep aliasing' and you'll
    > > realize that any attempt to touch it would result in a huge flamewar.
    > >
    > I don't see a flamewar, only the mention that it breaks some notable
    > ports. If it's not suitable for ports, then we should invent a mean
    > to compile only src/ *without* -fno-strict-aliasing.

    I tried. But Kris refused to consider the following for committing.
    The problem is something like 3 ports will not build with
    "-fno-strict-aliasing". Those are the gcc28, gnat[*] ports.

    [*] I really don't understand why we have a GCC 2.8 based Ada compiler
    when Ada has been a native part of GCC since version 3.1...

    -- 
    -- David  (obrien@FreeBSD.org)
    Index: bsd.port.mk
    ===================================================================
    RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
    retrieving revision 1.512
    diff -u -r1.512 bsd.port.mk
    --- bsd.port.mk	9 Jun 2005 20:39:43 -0000	1.512
    +++ bsd.port.mk	11 Jun 2005 14:38:58 -0000
    @@ -1396,6 +1402,11 @@
     .endif
     .endif
     .endif
    +.if ${CFLAGS:M-O[23s]} != ""
    +.if !defined(WITHOUT_NO_STRICT_ALIASING)
    +CFLAGS+= -fno-strict-aliasing
    +.endif
    +.endif
     
     .if defined(NOPORTDOCS)
     PLIST_SUB+=	        PORTDOCS="@comment "
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Kris Kennaway: "Re: [current tinderbox] failure on ...all..."