From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) by sourceware.org (Postfix) with ESMTPS id 5CB273851C22 for ; Thu, 4 Jun 2020 22:04:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5CB273851C22 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ua1-x92e.google.com with SMTP id r9so2619029ual.1 for ; Thu, 04 Jun 2020 15:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nsJ0qiB1dTV8G1fJN2fcLPvj0M5UoKBIufC1fdZ2Bnw=; b=l0CwNw9Up2WGAWEIB3Y0DtsdS/20NeoEGd+fFjA+KOEallUYIqu6e3KmaR81zVtLJr sKMh1zQLofgsIawgROZJok6DQxFobH50fMvBg0+FrfMBGtan/RVfdzewYc8263o9fVj+ eXaiD7TJMe0uygwT+dvWyPyQGkkTao+xdXcVkEfAHZp8htskyY0xoxnR3KeNgF/jLnwI 2JLI77L868PfZbQvYYQppnfNADsms+OGnc1jQh/OYdc+4RaibaiVWvPadraKH/4rdbMN 5XIxgftxMyMLdznVfTkworC6mdt0Nkk1ewQAnxlHR3MZ7uZX85Z+6JAa1/fve/zfzebV kqEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nsJ0qiB1dTV8G1fJN2fcLPvj0M5UoKBIufC1fdZ2Bnw=; b=Yb4tCzUsmWa3KJ+/4HoLMMu+7oVUpJKLNEIJ//g1u0v2lFw5zAT1V+Jzzr4JYHWb5f vrkTyndASwwkf/lLP7UgDX3nYE6YeTZdXFP8XQa8YcAYSE8uuiT0yTWS3qFpRt7n7vEt 14PzDsZnT5OHV5nJbWcC4g61ddY+WxbDcnNYA6p10T0w0j7LaT8WWDFlIR6/S1InyvO7 rC4bxt0S2V9wo0ftJgh/qTtjbnKIFIb1G/5khFpEoRRYmocXgpNw8BhZscT92S2sPH8G I3tzxzg3DIBigp5pQ9Eymvrm5/D9eXKg0SaKsfyb8j+JZOGu0ceMolWHXVZbDQYKT8Z4 W8rw== X-Gm-Message-State: AOAM5300DQfnBudEoEZD81QL+jFNBLylc04jEc+yiIYOgg4Rzq2+yDIR f8As7eD8dhe4+OXOfz+UHY1wJ6esKw6hLz1VV5iOag== X-Google-Smtp-Source: ABdhPJzuSlVQG7lr88jt6xJMjOAmYawL7cFDh8JiEmz/UYYoYaLlS3+rd95AV9G/Ku9j9Mv6Hkb47zaS5kTsn4wPqRQ= X-Received: by 2002:ab0:48ea:: with SMTP id y39mr4990662uac.21.1591308278817; Thu, 04 Jun 2020 15:04:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Thu, 4 Jun 2020 15:04:28 -0700 Message-ID: Subject: Re: To: Rajat Dahiya Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 22:04:40 -0000 On Thu, Jun 4, 2020 at 10:07 AM Rajat Dahiya via Gcc-help wrote: > I have got > collect2.exe error ld returned 1 exit status > This error during any c/c++ code in vscode/sublime text 3 > Please send me solutions. Generally, the first error message is the most important one, and the last error message is the least important one. You included the last error message which has no useful info for us. Also, in general, we need to be able to reproduce a problem in order to understand it, and you haven't provided any info on what exactly you did to generate the error. Jim