From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs uses "global" compiler instead of embedded Date: Thu, 29 Sep 2022 09:21:22 +0300 Message-ID: <83ill6hfa5.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10448"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 29 08:25:12 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odmyt-0002Xf-1h for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 08:25:11 +0200 Original-Received: from localhost ([::1]:58472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odmys-0000TC-00 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 02:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odmvX-0000Qx-4R for help-gnu-emacs@gnu.org; Thu, 29 Sep 2022 02:21:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odmvU-0004cK-0M for help-gnu-emacs@gnu.org; Thu, 29 Sep 2022 02:21:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZoEiILxeXv+fMqvMF4BsBHOUmK+j0Pg1mdaQ/js1PJA=; b=JgCbILK5OQ/M chwe4JoJKLeu7tISenTzs2m+2eRkrrCD+zl8zbxGfHjdyF5GSfEostTUcl5NhuDhqFmFLoS/G5//B YFPoOAgOpx/iR3/5DoJWqbGWG1hW8qBnKZKaz8w1GDsdXLABuPbAvKuSO6lgmj48cPgsIVjq6muNT 2uKfJydzKKMpWBKkin/SdcP+lKHSPkEnFZaUnqbpb6wV5tKj7kgDPkut01QWMkvlf0KoLngOOO8AA 6q0D/Wq8B0bmMYUZqdysjJz3yfti94lnVZL4JqPupk86DOILdbZNfQ4G0Me0Ny6ow7cSFFQOfDm/W 7yPCZuZSQQpvOTuL9TbyCw==; Original-Received: from [87.69.77.57] (port=2235 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odmvG-0006u0-CS for help-gnu-emacs@gnu.org; Thu, 29 Sep 2022 02:21:39 -0400 In-Reply-To: (message from Stefan Monnier via Users list for the GNU Emacs text editor on Wed, 28 Sep 2022 23:13:23 -0400) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139676 Archived-At: > Date: Wed, 28 Sep 2022 23:13:23 -0400 > From: Stefan Monnier via Users list for the GNU Emacs text editor > > > I am just starting my adventure with emacs, and I have already encountered > > a rather unusual problem. As a beginner, I chose the easier option and > > installed everything from the package (emacs-28.2-installer.exe). After > > starting the editor, it turned out that the logs contain a lot of warnings > > (errors?) caused by using the wrong compiler. I mean, emacs uses the > > "global" gcc (along with the libraries) which I have in the PATH > > environment variable, instead of which it has in the embedded package (the > > /bin subdirectory). Interestingly, I have libgccjit-0.dll in the global > > directory, but it doesn't seem to work properly. > > > > Warning (comp): c: /tools/emacs/share/emacs/28.2/lisp/org/org-entities.el: > > Error: Internal native compiler error failed to compile > > Warning (comp): C: \\ ProgramData \\ chocolatey \\ lib \\ mingw \\ tools \\ > > install \\ mingw64 \\ bin \\ libgccjit-0.dll: error: error invoking gcc > > driver > > Regardless of the workaround you will hopefully find here, I'd urge you > to `M-x report-emacs-bug` to try and make sure the problem gets fixed in > future releases. How can we possibly solve a problem caused by mis-configuration of the user's system?