From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124427 invoked by alias); 7 Oct 2019 20:46:13 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 124413 invoked by uid 89); 7 Oct 2019 20:46:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=King, Spec, 2506r, 8994797 X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Oct 2019 20:46:10 +0000 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x97KgS8m122145; Mon, 7 Oct 2019 16:46:08 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vg9h7xv41-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 16:46:08 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x97KeCSV007667; Mon, 7 Oct 2019 20:46:07 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma05wdc.us.ibm.com with ESMTP id 2vejt73y9f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 20:46:07 +0000 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x97Kk5ue30212426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 Oct 2019 20:46:05 GMT Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D08F6E052; Mon, 7 Oct 2019 20:46:05 +0000 (GMT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 47B376E04C; Mon, 7 Oct 2019 20:46:05 +0000 (GMT) Received: from ibm-toto.the-meissners.org (unknown [9.32.77.177]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTPS; Mon, 7 Oct 2019 20:46:05 +0000 (GMT) Date: Mon, 07 Oct 2019 20:46:00 -0000 From: Michael Meissner To: Tulio Magno Quites Machado Filho Cc: Michael Meissner , gcc-patches@gcc.gnu.org, segher@kernel.crashing.org Subject: Re: [PATCHv2] Change the library search path when using --with-advance-toolchain Message-ID: <20191007204603.GA7362@ibm-toto.the-meissners.org> Mail-Followup-To: Michael Meissner , Tulio Magno Quites Machado Filho , gcc-patches@gcc.gnu.org, segher@kernel.crashing.org References: <20191003233220.GA7034@ibm-toto.the-meissners.org> <20191004213134.8417-1-tuliom@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191004213134.8417-1-tuliom@linux.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2019-10/txt/msg00497.txt.bz2 On Fri, Oct 04, 2019 at 06:31:34PM -0300, Tulio Magno Quites Machado Filho wrote: > Michael Meissner writes: > > > And then I built Spec 2006 and 2017 with my normal options on a power8 system > > running Ubuntu and an older set of host libraries. If I have this patch > > installed, it breaks linking some/all of the C++ and Fortran benchmarks, > > because it finds the host C++/Fortran libraries before the AT 12.0 libraries. > > You have an usecase where the compiler has a different prefix. > That requires an extra library directory, but it still has to come after > the user lib directory. Once I fixed the perl script to remove the extra -L's from the spec config.cfg file that the perl script had put in for the previous version of --with-advance-toolchain=, I was able to link one of the problematical benchmarks (2017 roms_r in this case). -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.ibm.com, phone: +1 (978) 899-4797