From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1536 invoked by alias); 7 Jul 2014 14:51:05 -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 1514 invoked by uid 89); 7 Jul 2014 14:51:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f42.google.com Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 07 Jul 2014 14:51:01 +0000 Received: by mail-wg0-f42.google.com with SMTP id n12so2754117wgh.25 for ; Mon, 07 Jul 2014 07:50:58 -0700 (PDT) X-Received: by 10.180.105.68 with SMTP id gk4mr37034776wib.24.1404744658608; Mon, 07 Jul 2014 07:50:58 -0700 (PDT) Received: from msticlxl57.ims.intel.com (fmdmzpr02-ext.fm.intel.com. [192.55.55.37]) by mx.google.com with ESMTPSA id o9sm69243790wib.22.2014.07.07.07.50.53 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Jul 2014 07:50:57 -0700 (PDT) Date: Mon, 07 Jul 2014 14:51:00 -0000 From: Ilya Verbin To: Bernd Schmidt Cc: Thomas Schwinge , Jakub Jelinek , Richard Biener , Kirill Yukhin , Andrey Turetskiy , Ilya Tocar , gcc-patches , Nathan Sidwell Subject: Re: Fwd: [RFC][gomp4] Offloading patches (2/3): Add tables generation Message-ID: <20140707145036.GA19896@msticlxl57.ims.intel.com> References: <530648F8.2010409@codesourcery.com> <5310B791.1000703@codesourcery.com> <20140617182018.GA28422@msticlxl57.ims.intel.com> <53A09586.4060504@codesourcery.com> <20140618141341.GA35121@msticlxl57.ims.intel.com> <53A1A0C2.4000907@codesourcery.com> <20140619101902.GB35121@msticlxl57.ims.intel.com> <53AD1E09.4010803@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53AD1E09.4010803@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00471.txt.bz2 On 27 Jun 09:32, Bernd Schmidt wrote: > Sorry for the delayed reply, I was travelling. There seem to be some > thinkos in the configure script and Makefile; can you try the > following (don't forget to regenerate configure)? It seems to work > for ptx (with some additional changes to allow ptx builds without > --enable-accelerator). Thank you for you patch. 1) I tried to build accel compiler as a native x86_64-intelmic-linux-gnu compiler. Then I installed host's x86_64-pc-linux-gnu into the same prefix. In this case the are no collisions between the executables (cc1, etc.), but lib64 is common to both. So libgomp.so from the host compiler overwrites libgomp.so from the accel compiler, but they need to be different. 2) Or should I build accel compiler as a cross from x86_64-pc-linux-gnu to x86_64-intelmic-linux-gnu? Will it help to distinguish the libs? Such a cross build will require additional changes to config files, since currently it can't find some of the binutils (--with-ar=/usr/bin/ar didn't help): /bin/sh: line 7: x86_64-intelmic-linux-gnu-ar: command not found make[2]: *** [libgcc.a] Error 127 Thanks, -- Ilya