From patchwork Tue Nov 5 04:12:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Iyer, Balaji V" X-Patchwork-Id: 288364 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B86152C0098 for ; Tue, 5 Nov 2013 15:12:36 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:content-type:mime-version; q=dns; s= default; b=J82dqt7GaeMyyKgoQvznbQMG0aS63qMBlxVY43iptUr7cdv64Lzq8 6XRWxkfcKiBddAyhaonx6mRTaVFmE1HWB30nvJHX+i+1S3pGfWH9l/axG0Aeo/jP THarAj0svSHIJW9giwSg7qoPzeFKxvfHyB0nuU74/xqA6BsDaG+ItU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:content-type:mime-version; s= default; bh=e8QBMwgA/Cg0AcxeqX71ACT3o/o=; b=BWde9z/x7HOnm1/hlyIi Blv9kfzYOHXt2hIuVxSUOTDp8YdDJrvToKcQksnt9QgETDwNtJLAN4IWYrfSFpy/ /aPEflVPyAuBpcocU0Hav4huhCpZ47HseIJ9GPCmDIAmT8M88yzncyYQ5bBhqEtH aQoCKpXpiztvItNZzwc0RQw= Received: (qmail 21448 invoked by alias); 5 Nov 2013 04:12:26 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 21433 invoked by uid 89); 5 Nov 2013 04:12:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_50, RDNS_NONE, SPF_PASS, URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mga01.intel.com Received: from Unknown (HELO mga01.intel.com) (192.55.52.88) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Nov 2013 04:12:24 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 04 Nov 2013 20:12:17 -0800 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.19.9.228]) by fmsmga002.fm.intel.com with ESMTP; 04 Nov 2013 20:12:12 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.19.9.228) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 4 Nov 2013 20:12:12 -0800 Received: from fmsmsx101.amr.corp.intel.com ([169.254.1.24]) by FMSMSX155.amr.corp.intel.com ([169.254.5.68]) with mapi id 14.03.0123.003; Mon, 4 Nov 2013 20:12:12 -0800 From: "Iyer, Balaji V" To: "gcc-patches@gcc.gnu.org" Subject: [PATCH] Fix for PR bootstrap/58951 Date: Tue, 5 Nov 2013 04:12:11 +0000 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hello Everyone, Attached, please find a patch to fix PR 58951. The usage of -ldl is not necessary. The patch is tested in x86_64 and x86. It is committed as obvious. Thanks, Balaji V. Iyer. Index: Makefile.in =================================================================== --- Makefile.in (revision 204380) +++ Makefile.in (working copy) @@ -349,7 +349,7 @@ -D_Cilk_for=for -fcilkplus AM_CFLAGS = $(GENERAL_FLAGS) -std=c99 AM_CPPFLAGS = $(GENERAL_FLAGS) -AM_LDFLAGS = -lpthread -ldl +AM_LDFLAGS = -lpthread # May be used by toolexeclibdir. gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) Index: ChangeLog =================================================================== --- ChangeLog (revision 204380) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2013-11-04 Balaji V. Iyer + + PR bootstrap/58951 + * Makefile.am (AM_LDFLAGS): Removed -ldl flag. + * Makefile.in: Regenerate. + 2013-11-04 Rainer Orth * runtime/os-unix.c [__sun__ && __svr4__]: Include . Index: Makefile.am =================================================================== --- Makefile.am (revision 204380) +++ Makefile.am (working copy) @@ -45,7 +45,7 @@ AM_CFLAGS = $(GENERAL_FLAGS) -std=c99 AM_CPPFLAGS = $(GENERAL_FLAGS) -AM_LDFLAGS = -lpthread -ldl +AM_LDFLAGS = -lpthread # May be used by toolexeclibdir. gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)