From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62581 invoked by alias); 16 May 2017 09:56:04 -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 62484 invoked by uid 89); 16 May 2017 09:56:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=our X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 May 2017 09:56:00 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1dAZCx-00038M-S9 from Andrew_Stubbs@mentor.com ; Tue, 16 May 2017 02:55:59 -0700 Received: from [172.30.88.217] (137.202.0.87) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 16 May 2017 10:55:55 +0100 Subject: Re: [gcn][patch] Add -mgpu option and plumb in assembler/linker To: Martin Jambor , Jan Hubicka , "gcc-patches@gcc.gnu.org" References: <20170502170855.xe7hca52uwvx3zld@virgil.suse.cz> From: Andrew Stubbs Message-ID: <44085877-94ce-cdb0-5d84-fae8c4728184@codesourcery.com> Date: Tue, 16 May 2017 10:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170502170855.xe7hca52uwvx3zld@virgil.suse.cz> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2017-05/txt/msg01260.txt.bz2 On 02/05/17 18:08, Martin Jambor wrote: >> 1. Add specs to drive the LLVM assembler and linker. It requires them to be >> installed as "as" and "ld", under $target/bin, but then the compiler Just >> Works with these specs. > > ...is that I do not have llvm linker at hand and without it I did not > manage to make the patch produce loadable code. Because ROCm 1.5 has > been released today, I will update our environment, which is a bit > obsolete, get llvm ld and try again. This might take me a few days, > so please bear with me for a little more, I would like to make sure it > works on carrizos. Any news? If you're happy with the patch I can fix the comment style, and add the documentation Joseph asked for, and get it committed. Andrew