Re: 6.0 and -O2 option

From: Jim C. Nasby (decibel_at_decibel.org)
Date: 08/31/05

  • Next message: Martin Nilsson: "Re: 6.0 and -O2 option"
    Date: Wed, 31 Aug 2005 13:56:30 -0500
    To: Chuck Swiger <cswiger@mac.com>
    
    

    On Wed, Aug 31, 2005 at 10:57:05AM -0400, Chuck Swiger wrote:
    > Jim C. Nasby wrote:
    > >On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote:
    > [ ... ]
    > >>Simply because not every port works with -O2 optimisations. It caused
    > >>bad code in some circumstances.
    > >
    > >Is there an automated way to identify those ports so they can be forced
    > >not to use -O higer than -O1?
    >
    > Regrettably, no. Well, -Werror might be somewhere between overkill and
    > helpful, assuming the compiler can recognize a potential type-punning
    > situation.

    Even if the identification can't be done automatically, it still seems
    like it would be good to start identifying ports that don't support -O
    by hand, and having the ports force a correct -O setting. Most ports
    support -O2 (if not -O3), and it would be nice if people could just put
    that option in their make.conf and be done with it.

    -- 
    Jim C. Nasby, Database Architect                decibel@decibel.org 
    Give your computer some brain candy! www.distributed.net Team #1828
    Windows: "Where do you want to go today?"
    Linux: "Where do you want to go tomorrow?"
    FreeBSD: "Are you guys coming, or what?"
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Martin Nilsson: "Re: 6.0 and -O2 option"

    Relevant Pages

    • [PATCH 06/13] Char: cyclades, overall cleanup
      ... * Prevent users from opening non-existing Z ports. ... * Implemented full support for non-standard baud rates. ... * Driver now reports physical instead of virtual memory addresses. ... * Fixed SMP locking in Cyclom-Y interrupt handler. ...
      (Linux-Kernel)
    • [PATCH 13/79] cyclades: overall cleanup
      ... * Prevent users from opening non-existing Z ports. ... * Implemented full support for non-standard baud rates. ... * Driver now reports physical instead of virtual memory addresses. ... * Fixed SMP locking in Cyclom-Y interrupt handler. ...
      (Linux-Kernel)
    • Re: CLARITY re: challenge: end of life for 6.2 is premature with buggy 6.3
      ... My main drama with FreeBSD is that ports don't have -SECURITY patches, and if I there is a bug in php ... Another _very important_ thing is that there is no binary support to packages that has vulns, ... care much about stability, they are mainly interested in hacking on the ... for people who are running mission critical systems. ...
      (freebsd-stable)
    • Re: FreeBSD 5.1 support for Dell Integrated audio?
      ... I've included my config file and dmesg output below. ... # Floating point support - do not disable. ... pci0: ... 2 ports with 2 removable, ...
      (freebsd-questions)
    • Re: FreeBSD 5.1 support for Dell Integrated audio?
      ... I've included my config file and dmesg output below. ... # Floating point support - do not disable. ... pci0: ... 2 ports with 2 removable, ...
      (freebsd-questions)