From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9061 invoked by alias); 11 Apr 2010 13:57:08 -0000 Received: (qmail 9017 invoked by uid 48); 11 Apr 2010 13:56:52 -0000 Date: Sun, 11 Apr 2010 13:57:00 -0000 Message-ID: <20100411135652.9016.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/42333] complex division failure on darwin10 with -lm In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg01070.txt.bz2 ------- Comment #37 from howarth at nitro dot med dot uc dot edu 2010-04-11 13:56 ------- Actually, it has to be... @@ -30,8 +30,8 @@ #set_board_info host_library_path "[file dirname [file dirname [file dirname [file dirname [file dirname [exec [find_gcc] --print-prog-name=cc1]]]]]]/lib" -# Do not use -lm on Cygwin -if { [istarget "*-*-cygwin*"] } { +# Do not use -lm on Cygwin or Darwin +if { [istarget "*-*-cygwin*"] || [istarget "*-*-darwin9*"] || [istarget "*-*-darwin2*"] || [istarget "*-*-darwin1*"] } { set_board_info mathlib "" } as dejagnu doesn't appear to support the [921] regex syntax. Also, I wouldn't hold my breath for this showing up in a dejagnu release anytime soon since there hasn't been an update since 2004. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333