From unknown Sun Aug 17 22:12:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71916 <71916@debbugs.gnu.org> To: bug#71916 <71916@debbugs.gnu.org> Subject: Status: 31.0.50; build failure on MINGW64 Reply-To: bug#71916 <71916@debbugs.gnu.org> Date: Mon, 18 Aug 2025 05:12:22 +0000 retitle 71916 31.0.50; build failure on MINGW64 reassign 71916 emacs submitter 71916 leuven65 severity 71916 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 09:43:41 2024 Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 13:43:41 +0000 Received: from localhost ([127.0.0.1]:39212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0Gr-0001Jm-H6 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 09:43:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:52582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0Gp-0001Jd-2z for submit@debbugs.gnu.org; Wed, 03 Jul 2024 09:43:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP0Gm-00031D-Jh for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 09:43:36 -0400 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sP0Gk-0005Aw-CC for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 09:43:35 -0400 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-25e150603a6so282364fac.3 for ; Wed, 03 Jul 2024 06:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720014211; x=1720619011; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jiWW0QHUPvtVuPv8Gj1mQllrtVLIj8AUQlNv67ynF4k=; b=mz8DggsRZ+VZ8Vv51GNJbiFX9N9Vjcp9SHcr0O9z0URnWRJPRAsCoYzVrzqI+sPnM3 ZV+IP3AfVnSoi5+KKqrQRu09syIxLOoMAtCVTwDDRSdrF57yi8IcAckCczzFJG3MZA/W LKPqOM4oddA7YZhKGQVUsTX9IpeonaJnrlU8ERC50ktj8K+s4cgya+wNjugTVQzI4RQV nDcnHf9qP19U5OaOYYixtBeDykTu0ZL1A4M/togLvp3nO74emgoEVBESiZNxztHqVRKW sk/KHhpkDEGQQ5U0cKgCdW+qKibyWgEN2R8ruJ7Uzv9sqYKUsbBC5QjJ227Gt/UxvFoL iVUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720014211; x=1720619011; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jiWW0QHUPvtVuPv8Gj1mQllrtVLIj8AUQlNv67ynF4k=; b=DorvRMLFSlCgmZMLdHpSdSjJt5kTJNAcESpv7fv+zdwhvHGssWYh0DUbJbXj3lb0Ru ge4UoP3eirUn/kPgRuMzpo0MgoD44kPRwIU9meRKsKY/fouLlwrIr18PXvX00zQSmc8O yE9ISqnY/0ndlBv9qMYRYfR4RJbDpULapOOI8chujAlcwjXb9aIMz6caVtZvoTByQCs/ lribST76abAxRs7sRKOlktZg0ZO8vyUjVwJDM37pZkqGOTAf0b8AIMI1fs20fp/m1drv wJfdcDTkhqrdzFgy+VO8ScG2wv9YJ47kNLO+tUfzehbdHmQA4Ull7nO8cgWbgee0b0HG ndmA== X-Gm-Message-State: AOJu0YxDwjGC1p/7gY82wRxRjuzXWSVkTm75wEiaPWlS+2FxTKEomQ7U K+iQtxnHlUhlpfxrF39XukLt53OYrnOf5jmxj8enRsry4vXms8S9vW2Oc7FpOjqfTT8wvzN9BJh n5btToPFTyIsII/fwYLD2NCFmzPNEaKVw X-Google-Smtp-Source: AGHT+IEnEUyMn8adFm4HkY+Dv8HtoghGQ4H7U0fCcHxcFP8DzZ3ibGxogsYHMCsbTDlsPJDMu8OrQq+vk3DsgBDbi4Y= X-Received: by 2002:a05:6870:9a08:b0:24f:cddc:ccfe with SMTP id 586e51a60fabf-25db303f931mr9172271fac.0.1720014211353; Wed, 03 Jul 2024 06:43:31 -0700 (PDT) MIME-Version: 1.0 From: leuven65 Date: Wed, 3 Jul 2024 15:43:38 +0200 Message-ID: Subject: 31.0.50; build failure on MINGW64 To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000139405061c5804fc" Received-SPF: pass client-ip=2001:4860:4864:20::35; envelope-from=leuven65@gmail.com; helo=mail-oa1-x35.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000139405061c5804fc Content-Type: text/plain; charset="UTF-8" I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes OK. > git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 So that maybe the issue is caused by the 3 commits in this branch. --000000000000139405061c5804fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I found the latest version of both master and emacs-30 bra= nch (from Monday) failed to be built on MINGW64 / windows10.
It failed = when starting native compilation, error pops up "Cannot find libgccjit= library"=C2=A0(from comp-ensure-native-compiler), maybe the called fu= nction "load_gccjit_if_necessary / init_gccjit_functions" return = error.

But if to revert the change introduced = by branch "savannah/scratch/windows-98" (merged on 2024/06/30), t= he build becomes OK.
git revert=C2=A038179f85f8f7236d5de8d9a4333b6a1d4ded63f0
= So that maybe the issue is caused by the 3 commits in this branch.




--000000000000139405061c5804fc-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 09:53:03 2024 Received: (at 71916) by debbugs.gnu.org; 3 Jul 2024 13:53:03 +0000 Received: from localhost ([127.0.0.1]:39280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0Pv-0001c0-Dp for submit@debbugs.gnu.org; Wed, 03 Jul 2024 09:53:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0Pt-0001bU-Vx for 71916@debbugs.gnu.org; Wed, 03 Jul 2024 09:53:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP0Pm-00068z-Jt; Wed, 03 Jul 2024 09:52:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=lkZ6sZmSp540XT7shX1PmMHPY674hcCYd5YCQvOnaw8=; b=eFl1SlAqzUUl3wJ/HsUH 2hOLfMesYoRAJJ0E/Nk/qHbPANbjgslooc8uoHO1g7Y7lNWvRwknWWYnVzyMFQJb1bWLUPu7RA8fj 0YZKnEb/b+UO/n0QSEtwHEBAwMEj7s2CkbwTqcy7vnTFD4QrTeOz5rfncNOLk6PQab6aFFIGdtjeY 3P17vzKLisxGeNilmxoGGSnhi/iLi6pCyI/PaeA+IPGyEgKZ7O7UV3R2ZyS1HmFqHmqc09M3hmE6P N1CArxCeeHe3jUnyX2L275ROGpYKbluRP4lP9rK+kCfrI/qSmGQHsHvE1cff5NCVZczmkyzNk/Fm0 jKy+v7gTRbTXXw==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sP0PR-0000Iv-Q4; Wed, 03 Jul 2024 09:52:54 -0400 From: Andrea Corallo To: leuven65 Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 In-Reply-To: (leuven's message of "Wed, 3 Jul 2024 15:43:38 +0200") References: Date: Wed, 03 Jul 2024 09:52:33 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71916 Cc: Po Lu , 71916@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) leuven65 writes: > I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. > It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from > comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. > > But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes > OK. > > git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 > > So that maybe the issue is caused by the 3 commits in this branch. Hello leuven65, could you share the exact error you observe? Ccing Po Lo Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 10:11:31 2024 Received: (at 71916) by debbugs.gnu.org; 3 Jul 2024 14:11:31 +0000 Received: from localhost ([127.0.0.1]:39981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0hn-0002Kz-6U for submit@debbugs.gnu.org; Wed, 03 Jul 2024 10:11:31 -0400 Received: from sonic311-23.consmr.mail.ne1.yahoo.com ([66.163.188.204]:37082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0hl-0002Km-OG for 71916@debbugs.gnu.org; Wed, 03 Jul 2024 10:11:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720015881; bh=hCRrl/ur4fWsgiBH2W+gP/KEjcBoEYiErUURkTUCCks=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=YQOVwaLP/sVwh476bdcxDHf7RSntrQwLTxzrabqFk+Y7gcpJtMj2MyQb4JJ6Eilvoj2b4epDOL6EDzKKsWZ5nhUIWPFsnn9B9MjYQnXL84QkJePcb5Yi6PL2ygFPsKvtdiXgtc3EJQ2jwlfF03ikRf/5brCVnAH7xsgCgyW8bsNyXSyyvUyRRJKOSBTobDuHEEyLzTnw2YsvfKk2xl7PHftqeoGSCk740A4V+jXcvnXL4CEuV2+lnMRWzujfk50zpqKbm7SVzUerC3go2ou0CJYDxgE7Gk8TU587d+0VY4TabzL4h6JjR/d7hQ0UwW1TwP+woH2n0Per3tQsDbU1PQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720015881; bh=eYK3nzFVhGBztiuQK208RR+P0ZX4pvhEJT2UXHXpOFd=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=UBjsNN+AnIKPYuXtHDIvXbZJY2454+11zmv82trUp7HcaoSh3qsWBCTv/1Pf13HCaQn7geTXDvpi+GUoPqubLIsandxiquA7qYg5JcNi5lKxNanA1VVYcazhHalxZ+QaWwCPoz9AUegPDF51T7crsxiV6r5uF57W2yGBntWqS4z3QzRNW97PJOPLcDxWO/3GoJqk4NByAFsDsS36jsMJZtDpkQA0Z9wKlfYR1kOYQ1OFCuyXbWSe9pJRIyGDmA421lsNlNcxjmvN5uLemUQKc6YP0XjPfhFUMQoAFTfOMNpxFvt1+E5aeukhUgQtTa76GG+NZ0cOVtXEwr+sjV5eSw== X-YMail-OSG: a0W4884VM1mvTU9IK5kSRML4SfIOojBrkL8jRaik07a7JlmbfKLuY_dTrecJd0E KAZ7ofgQ.Tk32Ss2MKK8j0ZFl7IDpz8ERDRrFaG2KzOTH1XR2RhpcO2Hi5HQoDRtocVeaqaaFMNf ADvxvl5_yNifUrFgYh2AFw8cIzDg0lvf4HKKOp2gWDNhgjk9XDgfpFlObeD7xnANJdkjKnhRgeYP oIuJ2.pPQwpTXTFB_XlXMFsusmCNDNKRwnn6tQO8ICGia.SU6Ck142lA4p4To1re6.xr9uSpWJRa DQChqhc3nI9XdAyw2jBBveKulzKM1KUyTA5Hfk2IsNvs6Vx6RDGUnLmG6BWZXGCt1FcCYa6FO6WY nRPU4sr4hKH3JwuXHmBxQDmSP3b3RAM1Ct99.gDNjusg0uXF8hvUKlklEms1crNgX_q0JQ23Rs7k 5Bc3Tw7Fxi1km.hVZr4veSSeIzG9iGY2SsD0SWA0iJHzu5OccWfOsseCCM7iPMrtqvjw8sYd_1z8 YYtJhgQJilD32XaBvQiOApJApmVxj1y8iVicax29o0ruKq3ViXGAmjGGT5bg7hMxsR5SanMWSOsh KFPeT1gVnmgg3ZFsd5pl3J9Ntat4tkGL5wxwKtvR3QRCGiKbLu2xyjqeZqFJw2UqnlO.UjPf2Uk9 DYX8ybP6iCOs.3gr6e9M1M_p9lTU.xCJ8Z6M0DV.rbVRqR1i5GOrAWHU24GD.L8ld5cRtglIixKE 3X9EDrOarS7_O3fUlVzuKNoJvV5YxFStDAm0_yj_nULp_8jWQ7NSvqJqNQQFf9l6T4QPmDL9fOcp G_lOkEVRJG_WFa.dWIC7IvJoZ6UMfUWMy7PjjyY04vK.dujS.q1KqYuQ.3syAbgE1R6RYhQzHFpP 4u4rClmHKokIOwSGOrShWBCMoJyB1Tj21ClTeEbFOMIC5Y6IKC33KTIyg4._BA7vVKLLHy3mSURz RcmriCkekPeJwrLHohweSxAa6DzEMJBoLu_HDpRBvZuZZUtcx9dw43CneimQPticfniHqg14rzgZ RzKQIHoGPUJr6KDrtJFcTyMKbYxLNw6LHZ5CTxVfkGtOutyO4_LPykPiPseOLRRgLJ88BzIh4u7H Op6PHEBKSyymvst7k_22q88sstxLsFBuPgyTfHGRccNTf3yP9cgGb1ZLOkXal8S_fqUXwzDNv_2T B17nNdp4wdNpDIEO3jng6m9_uLlFGje2br9b6WVplSlj8YMM78Ma761DWJ4KCpHjwTnweKVCe8s_ Fy8lXGD_XQr3hHMae5WyXAcTaabZEswjlhCsweAE7O1ZY9PW0kpiP1pxxR9wLCM3BmYDU8tdTlRJ nAJn68qztUHvkhHEBCflP_AtDX8oEzCFglKed.AgyGeczCR5Zgm79I5.qs.IByWzHr7gybBONfK9 9S.uQXYk3s6566ifoj5Rfe0PucvJqsXpg6A..T6r4zumrzNHmzX08ANhKULL2.EfcpWXCxlRU8dN ylWhWOEzKiUjFKSygkmU20Qo0w9zpk8U9I0f5FceNhS7mVemKDMDKoz6sIF7BiBwKh50Vc6q9yeS sfcVOvEMLYCz3ddtSml1e9LgK07wpaOiC0Td7usINcRZD9Nvf2nhPHd.p27guvX0p9rc6AzL9eu7 wDTZHWwpNNlcQcRwysebhZ8tYnjkgvCi7p7YQaoN78wH8Cw5WGBRSwBaMuwumhjr4SaZ9S7fYKUg PRteADET_OmJIVShMslCvU5PrvXdJVXsoVKXaooAXV2yM_3x.YpftyR6x95b44AYXNyaHKeOq.0N HKBCQeu0H9Pxs9NWRnkJ65aZ8N.eeMX67eVlxRBZma8Wd.OCk1Ou9Wc.QRyeU4qCpxvaDEge9WVJ f7Zd9gTzEj2F1r23b4L.TnwjcuI_oXnLAk6CTMLgmP4XHTIAxlNVD1nt6525zigJXRuCBW_EOloj XBDUuHF8QonOxyo4IE.bvZ3_dY3YgV7gpN5IOFujFU0xT8Kir9Xpy4.nDhJ1I9k8tg7XuXlmTUku AYZUU4ENJdG1bd7UC7GMtphEQ6vip3mEYZkCRTLWwkMP4kYxzfNv3bwwqmU3HH6ol7gFSUH_ZjT6 NR9DJ0fUMYQiGv10uPz4dwDDlUhhRFnBI73LeOGy_mtqa2kydjPRWPRkDUy60CfRP_vVGvfXxB3p ofl.A7ULC6rUKquPcwfyTL7ADQYYjv.Y2mLtZbBvRmIfqRulAmW83_Kzl_sHjoYbr96I6L1cCRIS QKPNLklyCVj.0sDB_awUvzDwecx3t2qKUWddoiIPPtBTznd228_3kVL4- X-Sonic-MF: X-Sonic-ID: 164fa89e-0bbf-432a-a461-1dee730fec37 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Wed, 3 Jul 2024 14:11:21 +0000 Received: by hermes--production-sg3-7b469d9f6-xkjgb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 85ea445a230b7ebad2b1bcd056125248; Wed, 03 Jul 2024 14:11:15 +0000 (UTC) From: Po Lu To: Andrea Corallo Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 In-Reply-To: (Andrea Corallo's message of "Wed, 03 Jul 2024 09:52:33 -0400") References: Date: Wed, 03 Jul 2024 22:11:05 +0800 Message-ID: <87plru4lc6.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.22464 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 827 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71916 Cc: 71916@debbugs.gnu.org, leuven65 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andrea Corallo writes: > leuven65 writes: > >> I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. >> It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from >> comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. >> >> But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes >> OK. >> >> git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 >> >> So that maybe the issue is caused by the 3 commits in this branch. > > Hello leuven65, > > could you share the exact error you observe? > > Ccing Po Lo > > Thanks > > Andrea Yes, please, thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 12:25:08 2024 Received: (at 71916) by debbugs.gnu.org; 3 Jul 2024 16:25:08 +0000 Received: from localhost ([127.0.0.1]:40232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP2n5-0006AT-AR for submit@debbugs.gnu.org; Wed, 03 Jul 2024 12:25:08 -0400 Received: from mail-oo1-f44.google.com ([209.85.161.44]:43023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP2n2-00069p-IE for 71916@debbugs.gnu.org; Wed, 03 Jul 2024 12:25:05 -0400 Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-5c45d13e658so450005eaf.0 for <71916@debbugs.gnu.org>; Wed, 03 Jul 2024 09:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720023837; x=1720628637; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VSWyg90cbLcS0me9UbL05R8exerL5AgUAD0E3g5X8GM=; b=INGjiYmBfvyTLh2lNZr7p5zehoKhyP4bKj4uaMQq2toZ90aVneq3ocz6Re4qNCeu9r hG21RreIjr5DSGi6QhyEXlmBD0PKjgB1GvVPCsa6A8lsQ2PpwPDyHyVYamHKN0zbl/5K EFlSvldaAPmT8eoYWP6PZm78q01RX67f0/3l3n3bcqmod5AaR+eMrNfcuOyTf+uvOsYI 03GAh6PU1M0z0+IFyWGmfJZl0zXJjW/ywd7vcKXo1t4anznbrE36lG5rOjvcYai6y8b3 xAA1ZX8Yj+qzggqqFd2MiearVc+9pUNHUvtwCMdSzySLki0CHDO34gVACzoPyIYrqyNO hw8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720023837; x=1720628637; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VSWyg90cbLcS0me9UbL05R8exerL5AgUAD0E3g5X8GM=; b=U6g+eDvdJh2h74AN3SnG2qET9t4Y67z4Ba9bq5CruSql7luJtfn7Fx5iUg36dkx8VW D6gb7Be19xRzR05yjLrrhE4PQbKpZFMT8Scjz5nLmOFjaC8cYPmVfPTDCFtX1jCTAreC OxK62Ty9o5kDSaMiQhgdZ/Bp3wLH0cybNGCb1oo5Q8Ackdc7A+xUjVLBcLMTnf1thSb9 CSVBPl8uwincVkh6Ikk+VudbDgpcSqEjZiCRF+/3qhfeBGcTJm1tQYWz2zBQhoQObt1L ueC/U1oztx15jWjTi4smOb9tLHYvShbboPhhCXyU3PcaC9pO9BMelWU+NSnnQbQ04ScA HsQA== X-Gm-Message-State: AOJu0YxBAnT+nplxbSPiXVe8F59PotHafjPdQQEMFYDgHu30ZphCiOOD Uo+2qE+O3TcEHYD78EMNHX91XvLitFcudj9qEeXOjUxWqtjkcnmFkJyTIGcdXMbc7XUYhFLkh/w ENOQoDTH7henUrmy/8VVPaYz766/4Gx8ohpw= X-Google-Smtp-Source: AGHT+IGviSRuQDOFgPgDrviCKdvir1EqX1KwMw7SNAjZoEm0PZ/uBKCFF2PEvyfUvy6QbaHYK0nw0uR72WxEK4riCIo= X-Received: by 2002:a05:6871:b1e:b0:258:4193:2e70 with SMTP id 586e51a60fabf-25e102cfd5fmr1025557fac.4.1720023836951; Wed, 03 Jul 2024 09:23:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: leuven65 Date: Wed, 3 Jul 2024 18:24:04 +0200 Message-ID: Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 To: Andrea Corallo Content-Type: multipart/alternative; boundary="000000000000ce8db5061c5a4174" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 71916 Cc: Po Lu , 71916@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --000000000000ce8db5061c5a4174 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable * The installed MINGW64 packages #+begin_quote base-devel 2022.12-2 mingw-w64-x86_64-aspell-en 2020.12.07-1 mingw-w64-x86_64-autotools 2023.09.28-2 mingw-w64-x86_64-binutils 2.42-2 mingw-w64-x86_64-crt-git 12.0.0.r81.g90abf784a-1 mingw-w64-x86_64-diffutils 3.6-3 mingw-w64-x86_64-emacs-pdf-tools-server 1.1.0-1 mingw-w64-x86_64-gcc 14.1.0-3 mingw-w64-x86_64-gnupg 2.4.5-1 mingw-w64-x86_64-headers-git 12.0.0.r81.g90abf784a-1 mingw-w64-x86_64-jansson 2.14-2 mingw-w64-x86_64-libgccjit 14.1.0-3 mingw-w64-x86_64-librsvg 2.58.0-1 mingw-w64-x86_64-libvterm 0.3.3-1 mingw-w64-x86_64-libxml2 2.12.8-1 mingw-w64-x86_64-make 4.4.1-2 mingw-w64-x86_64-mpg123 1.32.6-1 mingw-w64-x86_64-pkgconf 1~2.2.0-1 mingw-w64-x86_64-rust 1.79.0-1 mingw-w64-x86_64-tools-git 12.0.0.r81.g90abf784a-1 mingw-w64-x86_64-tree-sitter 0.22.6-1 mingw-w64-x86_64-winpthreads-git 12.0.0.r81.g90abf784a-1 mingw-w64-x86_64-xpm-nox 4.2.0-8 #+end_quote * The used commit on master branch 65bd41d1cf6d8ea6b95b69d9c60b0111a1c33392 * The build command #+begin_src sh ./autogen.sh ./configure \ --config-cache \ --without-dbus \ --without-pop \ --without-compress-install \ --with-native-compilation=3Daot \ --with-tree-sitter \ make -j$(nproc) #+end_src * Error pops up during building #+begin_quote make[3]: Entering directory '/c/workdir/emacs-src/lisp' ELC+ELN emacs-lisp/macroexp.elc ELC+ELN emacs-lisp/cconv.elc ELC+ELN emacs-lisp/byte-opt.elc ELC+ELN emacs-lisp/bytecomp.elc ELC+ELN emacs-lisp/comp.elc ELC+ELN emacs-lisp/comp-cstr.elc ELC+ELN emacs-lisp/comp-common.elc ELC+ELN emacs-lisp/comp-run.elc ELC+ELN emacs-lisp/loaddefs-gen.elc Error: error ("Cannot find libgccjit library") signal(error ("Cannot find libgccjit library")) error("Cannot find libgccjit library") comp-ensure-native-compiler() batch-byte+native-compile() funcall(batch-byte+native-compile) (if (commandp tem) (command-execute tem) (funcall tem)) (cond ((setq tem (assoc argi command-switch-alist)) (if argval (let ((command-line-args-left (cons argval command-line-args-left))) (funcall (cdr tem) argi)) (funcall (cdr tem) argi))) ((equal argi "-no-splash") (setq inhibit-startup-screen t)) ((member argi '("-f" "-funcall" "-e")) (setq inhibit-startup-screen t) (setq tem (intern (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left))))))) (if (commandp tem) (command-execute tem) (funcall tem))) ((member argi '("-eval" "-execute")) (setq inhibit-startup-screen t) (let* ((str-expr (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left)))))) (read-data (read-from-string str-expr)) (expr (car read-data)) (end (cdr read-data))) (if (string-match-p "[ \11\n]*\\'" str-expr end) nil (error "Trailing garbage following expression: %s" (substring str-expr end))) (eval expr t))) ((member argi '("-L" "-directory")) (let (append) (if (string-match-p (format "\\`%s" path-separator) (setq tem (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left))))))) (progn (setq tem (substring tem 1)) (setq append t))) (setq tem (expand-file-name (command-line-normalize-file-name tem))) (cond (append (setq load-path (append load-path (list tem))) (if splice (setq splice load-path))) (splice (setcdr splice (cons tem (cdr splice))) (setq splice (cdr splice))) (t (progn (setq load-path (cons tem load-path)) (setq splice load-path)))))) ((member argi '("-l" "-load")) (let* ((file (command-line-normalize-file-name (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left))))))) (file-ex (file-truename (expand-file-name file)))) (if (file-regular-p file-ex) (progn (setq file file-ex))) (load file nil t))) ((member argi '("-scriptload" "-scripteval")) (let* ((file (command-line-normalize-file-name (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left))))))) (file-ex (expand-file-name file)) (truename (file-truename file-ex))) (if (file-exists-p truename) (progn (setq file-ex truename))) (if (equal argi "-scripteval") (command-line--eval-script file-ex) (command-line--load-script file-ex)))) ((equal argi "-insert") (setq inhibit-startup-screen t) (setq tem (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left)))))) (or (stringp tem) (error "File name omitted from `-insert' option")) (insert-file-contents (command-line-normalize-file-name tem))) ((or (equal argi "-dump-file") (equal argi "-seccomp")) (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left)))))) ((equal argi "-kill") (kill-emacs t)) ((equal argi "-no-desktop") (message "\"--no-desktop\" ignored because the Desktop package is not loaded")) ((string-match "^\\+[0-9]+\\'" argi) (setq line (string-to-number argi))) ((string-match "^\\+\\([0-9]+\\):\\([0-9]+\\)\\'" argi) (progn (setq line (string-to-number (match-string 1 argi))) (setq column (string-to-number (match-string 2 argi))))) ((setq tem (assoc orig-argi command-line-x-option-alist)) (setq command-line-args-left (nthcdr (nth 1 tem) command-line-args-left))) ((setq tem (assoc orig-argi command-line-ns-option-alist)) (setq command-line-args-left (nthcdr (nth 1 tem) command-line-args-left))) ((member argi '("-find-file" "-file" "-visit")) (setq inhibit-startup-screen t) (setq tem (or argval (car-safe (prog1 command-line-args-left (setq command-line-args-left (cdr command-line-args-left)))))) (if (stringp tem) nil (error "File name omitted from `%s' option" argi)) (funcall process-file-arg tem)) ((string-match "\\`--?\\(no-\\)?\\(uni\ #+end_quote On Wed, Jul 3, 2024 at 3:52=E2=80=AFPM Andrea Corallo wr= ote: > leuven65 writes: > > > I found the latest version of both master and emacs-30 branch (from > Monday) failed to be built on MINGW64 / windows10. > > It failed when starting native compilation, error pops up "Cannot find > libgccjit library" (from > > comp-ensure-native-compiler), maybe the called function > "load_gccjit_if_necessary / init_gccjit_functions" return error. > > > > But if to revert the change introduced by branch > "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes > > OK. > > > > git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 > > > > So that maybe the issue is caused by the 3 commits in this branch. > > Hello leuven65, > > could you share the exact error you observe? > > Ccing Po Lo > > Thanks > > Andrea > --000000000000ce8db5061c5a4174 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
* The installed MINGW64 packages
#+begin_quote
base-= devel 2022.12-2
mingw-w64-x86_64-aspell-en 2020.12.07-1
mingw-w64-x86= _64-autotools 2023.09.28-2
mingw-w64-x86_64-binutils 2.42-2
mingw-w64= -x86_64-crt-git 12.0.0.r81.g90abf784a-1
mingw-w64-x86_64-diffutils 3.6-3=
mingw-w64-x86_64-emacs-pdf-tools-server 1.1.0-1
mingw-w64-x86_64-gcc= 14.1.0-3
mingw-w64-x86_64-gnupg 2.4.5-1
mingw-w64-x86_64-headers-git= 12.0.0.r81.g90abf784a-1
mingw-w64-x86_64-jansson 2.14-2
mingw-w64-x8= 6_64-libgccjit 14.1.0-3
mingw-w64-x86_64-librsvg 2.58.0-1
mingw-w64-x= 86_64-libvterm 0.3.3-1
mingw-w64-x86_64-libxml2 2.12.8-1
mingw-w64-x8= 6_64-make 4.4.1-2
mingw-w64-x86_64-mpg123 1.32.6-1
mingw-w64-x86_64-p= kgconf 1~2.2.0-1
mingw-w64-x86_64-rust 1.79.0-1
mingw-w64-x86_64-tool= s-git 12.0.0.r81.g90abf784a-1
mingw-w64-x86_64-tree-sitter 0.22.6-1
m= ingw-w64-x86_64-winpthreads-git 12.0.0.r81.g90abf784a-1
mingw-w64-x86_64= -xpm-nox 4.2.0-8
#+end_quote

* The used commit on master branch65bd41d1cf6d8ea6b95b69d9c60b0111a1c33392

* The build command
#+= begin_src sh
=C2=A0 ./autogen.sh

=C2=A0 ./configure \
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 --config-cache \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --with= out-dbus \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --without-pop \
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 --without-compress-install \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -= -with-native-compilation=3Daot \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --with-tree= -sitter \

=C2=A0 make -j$(nproc)
#+end_src

* Error pops up= during building
#+begin_quote
make[3]: Entering directory '/c/wo= rkdir/emacs-src/lisp'
=C2=A0 ELC+ELN =C2=A0emacs-lisp/macroexp.elc=C2=A0 ELC+ELN =C2=A0emacs-lisp/cconv.elc
=C2=A0 ELC+ELN =C2=A0emacs-l= isp/byte-opt.elc
=C2=A0 ELC+ELN =C2=A0emacs-lisp/bytecomp.elc
=C2=A0 = ELC+ELN =C2=A0emacs-lisp/comp.elc
=C2=A0 ELC+ELN =C2=A0emacs-lisp/comp-c= str.elc
=C2=A0 ELC+ELN =C2=A0emacs-lisp/comp-common.elc
=C2=A0 ELC+EL= N =C2=A0emacs-lisp/comp-run.elc
=C2=A0 ELC+ELN =C2=A0emacs-lisp/loaddefs= -gen.elc

Error: error ("Cannot find libgccjit library")=C2=A0 signal(error ("Cannot find libgccjit library"))
=C2=A0= error("Cannot find libgccjit library")
=C2=A0 comp-ensure-nat= ive-compiler()
=C2=A0 batch-byte+native-compile()
=C2=A0 funcall(batc= h-byte+native-compile)
=C2=A0 (if (commandp tem) (command-execute tem) (= funcall tem))
=C2=A0 (cond ((setq tem (assoc argi command-switch-alist))= (if argval (let ((command-line-args-left (cons argval command-line-args-le= ft))) (funcall (cdr tem) argi)) (funcall (cdr tem) argi))) ((equal argi &qu= ot;-no-splash") (setq inhibit-startup-screen t)) ((member argi '(&= quot;-f" "-funcall" "-e")) (setq inhibit-startup-s= creen t) (setq tem (intern (or argval (car-safe (prog1 command-line-args-le= ft (setq command-line-args-left (cdr command-line-args-left))))))) (if (com= mandp tem) (command-execute tem) (funcall tem))) ((member argi '("= -eval" "-execute")) (setq inhibit-startup-screen t) (let* ((= str-expr (or argval (car-safe (prog1 command-line-args-left (setq command-l= ine-args-left (cdr command-line-args-left)))))) (read-data (read-from-strin= g str-expr)) (expr (car read-data)) (end (cdr read-data))) (if (string-matc= h-p "[ \11\n]*\\'" str-expr end) nil (error "Trailing ga= rbage following expression: %s" (substring str-expr end))) (eval expr = t))) ((member argi '("-L" "-directory")) (let (appe= nd) (if (string-match-p (format "\\`%s" path-separator) (setq tem= (or argval (car-safe (prog1 command-line-args-left (setq command-line-args= -left (cdr command-line-args-left))))))) (progn (setq tem (substring tem 1)= ) (setq append t))) (setq tem (expand-file-name (command-line-normalize-fil= e-name tem))) (cond (append (setq load-path (append load-path (list tem))) = (if splice (setq splice load-path))) (splice (setcdr splice (cons tem (cdr = splice))) (setq splice (cdr splice))) (t (progn (setq load-path (cons tem l= oad-path)) (setq splice load-path)))))) ((member argi '("-l" = "-load")) (let* ((file (command-line-normalize-file-name (or argv= al (car-safe (prog1 command-line-args-left (setq command-line-args-left (cd= r command-line-args-left))))))) (file-ex (file-truename (expand-file-name f= ile)))) (if (file-regular-p file-ex) (progn (setq file file-ex))) (load fil= e nil t))) ((member argi '("-scriptload" "-scripteval&qu= ot;)) (let* ((file (command-line-normalize-file-name (or argval (car-safe (= prog1 command-line-args-left (setq command-line-args-left (cdr command-line= -args-left))))))) (file-ex (expand-file-name file)) (truename (file-truenam= e file-ex))) (if (file-exists-p truename) (progn (setq file-ex truename))) = (if (equal argi "-scripteval") (command-line--eval-script file-ex= ) (command-line--load-script file-ex)))) ((equal argi "-insert") = (setq inhibit-startup-screen t) (setq tem (or argval (car-safe (prog1 comma= nd-line-args-left (setq command-line-args-left (cdr command-line-args-left)= ))))) (or (stringp tem) (error "File name omitted from `-insert' o= ption")) (insert-file-contents (command-line-normalize-file-name tem))= ) ((or (equal argi "-dump-file") (equal argi "-seccomp"= )) (or argval (car-safe (prog1 command-line-args-left (setq command-line-ar= gs-left (cdr command-line-args-left)))))) ((equal argi "-kill") (= kill-emacs t)) ((equal argi "-no-desktop") (message "\"= --no-desktop\" ignored because the Desktop package is not loaded"= )) ((string-match "^\\+[0-9]+\\'" argi) (setq line (string-to= -number argi))) ((string-match "^\\+\\([0-9]+\\):\\([0-9]+\\)\\'&q= uot; argi) (progn (setq line (string-to-number (match-string 1 argi))) (set= q column (string-to-number (match-string 2 argi))))) ((setq tem (assoc orig= -argi command-line-x-option-alist)) (setq command-line-args-left (nthcdr (n= th 1 tem) command-line-args-left))) ((setq tem (assoc orig-argi command-lin= e-ns-option-alist)) (setq command-line-args-left (nthcdr (nth 1 tem) comman= d-line-args-left))) ((member argi '("-find-file" "-file&= quot; "-visit")) (setq inhibit-startup-screen t) (setq tem (or ar= gval (car-safe (prog1 command-line-args-left (setq command-line-args-left (= cdr command-line-args-left)))))) (if (stringp tem) nil (error "File na= me omitted from `%s' option" argi)) (funcall process-file-arg tem)= ) ((string-match "\\`--?\\(no-\\)?\\(uni\
#+end_quote

=
On Wed, Ju= l 3, 2024 at 3:52=E2=80=AFPM Andrea Corallo <acorallo@gnu.org> wrote:
leuven65 <leuven65@gmail.com> writes:

> I found the latest version of both master and emacs-30 branch (from Mo= nday) failed to be built on MINGW64 / windows10.
> It failed when starting native compilation, error pops up "Cannot= find libgccjit library" (from
> comp-ensure-native-compiler), maybe the called function "load_gcc= jit_if_necessary / init_gccjit_functions" return error.
>
> But if to revert the change introduced by branch "savannah/scratc= h/windows-98" (merged on 2024/06/30), the build becomes
> OK.
>
>=C2=A0 git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0
>
> So that maybe the issue is caused by the 3 commits in this branch.

Hello leuven65,

could you share the exact error you observe?

Ccing Po Lo

Thanks

=C2=A0 Andrea
--000000000000ce8db5061c5a4174-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 14:02:23 2024 Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 18:02:23 +0000 Received: from localhost ([127.0.0.1]:40402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP4JC-0000LO-OJ for submit@debbugs.gnu.org; Wed, 03 Jul 2024 14:02:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:34648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP4JA-0000LC-S2 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 14:02:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP4J8-0000Ei-Nw for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 14:02:18 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP4J7-0005pI-C8 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 14:02:18 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1sP4J3-0009ro-I3 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 20:02:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 Date: Wed, 03 Jul 2024 19:02:06 +0100 Message-ID: <86jzi2l5gh.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:ZraKn3k20gjZDOGqKg17cIciYZs= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) On Wed 03 Jul 2024, Andrea Corallo wrote: > leuven65 writes: > >> I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. >> It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from >> comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. >> >> But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes >> OK. >> >> git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 >> >> So that maybe the issue is caused by the 3 commits in this branch. > > Hello leuven65, > > could you share the exact error you observe? > > Ccing Po Lo > > Thanks > > Andrea I've seen the same issue on emacs-30 and master branches. It seems to be that emacs cannot find the libgccjit DLL after dumping. Running emacs under gdb, and using a breakpoint on `redraw-display': (gdb) r -Q Starting program: C:\emacs\git\emacs\emacs-30\build\mingw64-x86_64-O2-native\src\emacs.exe -Q [New Thread 11584.0x27b4] [New Thread 11584.0x1f54] [New Thread 11584.0x1ec8] [New Thread 11584.0x2ad0] [New Thread 11584.0x1a60] Thread 1 hit Breakpoint 2, Fredraw_display () at C:/emacs/git/emacs/emacs-30/src/dispnew.c:3222 (gdb) pp Vlibrary_cache ((gccjit) (gccjit . t)) It seems odd that there are two entries here. There is code at the end of syms_of_emacs in emacs.c that changes Vdynamic_library_alist as a workaround for something similar, so have other changes made that ineffective ? AndyM From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 15:16:08 2024 Received: (at 71916) by debbugs.gnu.org; 3 Jul 2024 19:16:08 +0000 Received: from localhost ([127.0.0.1]:40489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP5SZ-0002F7-SA for submit@debbugs.gnu.org; Wed, 03 Jul 2024 15:16:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP5SX-0002Eb-V9 for 71916@debbugs.gnu.org; Wed, 03 Jul 2024 15:16:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP5SQ-0000rp-KU; Wed, 03 Jul 2024 15:15:58 -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=4Iu/wFLG8Sct/A8MWvIYV8j9tijrEoCcTTje5Jh0fng=; b=HIR+yVNY1sjX fP3zoEUpE4S4uNCjV1yCs71TQPZYg+esc5ImcI7rPZo81utQ/3SOH2zh0G+bfL5y7YMQ/XjxToFcu txzNJmXRRZ0MeDlKTYr3fDz+ti6iSZxaYEgQtIMTd67VLCQn6wEeqbXJpk8w3YI7nUL3TvSSWTj4j O2z7fMX8oSofJ2D3YKBTWdv/mIEpjmelkTj6gv9BWoBnamLVE0rf8Z8UvWxYl0NuIxRoXjk8gBaTq H6awYs+tGYZLr7WTg/+++nXqvFS6EpZOxd5/VuEZTdGeJBJguGHSj6jXef1cluLy7eXsVIEeKmbN1 GmWFW8MxM7YnsK/ZWMwI2w==; Date: Wed, 03 Jul 2024 22:15:54 +0300 Message-Id: <86v81m9thx.fsf@gnu.org> From: Eli Zaretskii To: Andy Moreton In-Reply-To: <86jzi2l5gh.fsf@gmail.com> (message from Andy Moreton on Wed, 03 Jul 2024 19:02:06 +0100) Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 References: <86jzi2l5gh.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71916 Cc: 71916@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andy Moreton > Date: Wed, 03 Jul 2024 19:02:06 +0100 > > On Wed 03 Jul 2024, Andrea Corallo wrote: > > > leuven65 writes: > > > >> I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. > >> It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from > >> comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. > >> > >> But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes > >> OK. > >> > >> git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 > >> > >> So that maybe the issue is caused by the 3 commits in this branch. > > > > Hello leuven65, > > > > could you share the exact error you observe? > > > > Ccing Po Lo > > > > Thanks > > > > Andrea > > I've seen the same issue on emacs-30 and master branches. It seems to be > that emacs cannot find the libgccjit DLL after dumping. > > Running emacs under gdb, and using a breakpoint on `redraw-display': > > (gdb) r -Q > Starting program: C:\emacs\git\emacs\emacs-30\build\mingw64-x86_64-O2-native\src\emacs.exe -Q > [New Thread 11584.0x27b4] > [New Thread 11584.0x1f54] > [New Thread 11584.0x1ec8] > [New Thread 11584.0x2ad0] > [New Thread 11584.0x1a60] > > Thread 1 hit Breakpoint 2, Fredraw_display () at C:/emacs/git/emacs/emacs-30/src/dispnew.c:3222 > > (gdb) pp Vlibrary_cache > ((gccjit) (gccjit . t)) > > It seems odd that there are two entries here. Thanks, I think I fixed this now on the emacs-30 branch. > There is code at the end of syms_of_emacs in emacs.c that changes > Vdynamic_library_alist as a workaround for something similar, so have > other changes made that ineffective ? No, the problem was that Vlibrary_cache was not re-initialized after loading the pdumper file. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 17:47:32 2024 Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 21:47:32 +0000 Received: from localhost ([127.0.0.1]:40870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP7p6-0006Wa-17 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 17:47:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:39084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP7p3-0006WT-Eo for submit@debbugs.gnu.org; Wed, 03 Jul 2024 17:47:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP7p1-0005mM-14 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 17:47:27 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP7oz-0008EA-IW for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 17:47:26 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1sP7ox-00010F-5h for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 23:47:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 Date: Wed, 03 Jul 2024 22:47:19 +0100 Message-ID: <868qyidu6w.fsf@gmail.com> References: <86jzi2l5gh.fsf@gmail.com> <86v81m9thx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:564EdpprEOXQdK2cYgvY/DXAjro= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) On Wed 03 Jul 2024, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Wed, 03 Jul 2024 19:02:06 +0100 >> >> On Wed 03 Jul 2024, Andrea Corallo wrote: >> >> > leuven65 writes: >> > >> >> I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. >> >> It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from >> >> comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. >> >> >> >> But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes >> >> OK. >> >> >> >> git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 >> >> >> >> So that maybe the issue is caused by the 3 commits in this branch. >> > >> > Hello leuven65, >> > >> > could you share the exact error you observe? >> > >> > Ccing Po Lo >> > >> > Thanks >> > >> > Andrea >> >> I've seen the same issue on emacs-30 and master branches. It seems to be >> that emacs cannot find the libgccjit DLL after dumping. >> >> Running emacs under gdb, and using a breakpoint on `redraw-display': >> >> (gdb) r -Q >> Starting program: C:\emacs\git\emacs\emacs-30\build\mingw64-x86_64-O2-native\src\emacs.exe -Q >> [New Thread 11584.0x27b4] >> [New Thread 11584.0x1f54] >> [New Thread 11584.0x1ec8] >> [New Thread 11584.0x2ad0] >> [New Thread 11584.0x1a60] >> >> Thread 1 hit Breakpoint 2, Fredraw_display () at C:/emacs/git/emacs/emacs-30/src/dispnew.c:3222 >> >> (gdb) pp Vlibrary_cache >> ((gccjit) (gccjit . t)) >> >> It seems odd that there are two entries here. > > Thanks, I think I fixed this now on the emacs-30 branch. > >> There is code at the end of syms_of_emacs in emacs.c that changes >> Vdynamic_library_alist as a workaround for something similar, so have >> other changes made that ineffective ? > > No, the problem was that Vlibrary_cache was not re-initialized after > loading the pdumper file. Thanks Eli, confirmed as working again on emacs-30. AndyM From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 18:11:37 2024 Received: (at 71916-done) by debbugs.gnu.org; 3 Jul 2024 22:11:37 +0000 Received: from localhost ([127.0.0.1]:40923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP8CP-0007BQ-2k for submit@debbugs.gnu.org; Wed, 03 Jul 2024 18:11:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP8CO-0007BB-3P for 71916-done@debbugs.gnu.org; Wed, 03 Jul 2024 18:11:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP8AA-0008Ui-Sm; Wed, 03 Jul 2024 18:09:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=xMp5aZxWHTIHR6A7lZlqyj6byzUD+muuw1MvIYvTQU0=; b=NCrTpvYmpUyQsO9K75Aq lidpzoasf9sr2ks0S6OzUxrTZpin1ITvu1q2dnkAXCxk4EybfzkQoLHGrMaeQO/+ea5YZ9yZJoS6m vUgFGIOP5kGyKN/n+0qUYMJjVE8R2ylh9E0UIj9a4H5xxC5a2X6PAdSLV2mpQoAbruCm6xR5zfnjL OyCu/NMJB9qoRPXvL51i+ThYdqr85N/l7UNMFB2mIaJeGenanLAXJw5NWYWvI9lnPa1i0vz0fjd8w JFKO2yOtYbys97mc/auC9or/tX1GwQZhEKe3CeIS7IhWjLiYVDdtqIjbUc8+I77y/BW7FS0wCW1Jm KATxeMK391CClA==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sP8AA-0000yB-KC; Wed, 03 Jul 2024 18:09:18 -0400 From: Andrea Corallo To: Andy Moreton Subject: Re: bug#71916: 31.0.50; build failure on MINGW64 In-Reply-To: <868qyidu6w.fsf@gmail.com> (Andy Moreton's message of "Wed, 03 Jul 2024 22:47:19 +0100") References: <86jzi2l5gh.fsf@gmail.com> <86v81m9thx.fsf@gnu.org> <868qyidu6w.fsf@gmail.com> Date: Wed, 03 Jul 2024 18:09:18 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71916-done Cc: 71916-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andy Moreton writes: > On Wed 03 Jul 2024, Eli Zaretskii wrote: > >>> From: Andy Moreton >>> Date: Wed, 03 Jul 2024 19:02:06 +0100 >>> >>> On Wed 03 Jul 2024, Andrea Corallo wrote: >>> >>> > leuven65 writes: >>> > >>> >> I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10. >>> >> It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from >>> >> comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error. >>> >> >>> >> But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes >>> >> OK. >>> >> >>> >> git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0 >>> >> >>> >> So that maybe the issue is caused by the 3 commits in this branch. >>> > >>> > Hello leuven65, >>> > >>> > could you share the exact error you observe? >>> > >>> > Ccing Po Lo >>> > >>> > Thanks >>> > >>> > Andrea >>> >>> I've seen the same issue on emacs-30 and master branches. It seems to be >>> that emacs cannot find the libgccjit DLL after dumping. >>> >>> Running emacs under gdb, and using a breakpoint on `redraw-display': >>> >>> (gdb) r -Q >>> Starting program: C:\emacs\git\emacs\emacs-30\build\mingw64-x86_64-O2-native\src\emacs.exe -Q >>> [New Thread 11584.0x27b4] >>> [New Thread 11584.0x1f54] >>> [New Thread 11584.0x1ec8] >>> [New Thread 11584.0x2ad0] >>> [New Thread 11584.0x1a60] >>> >>> Thread 1 hit Breakpoint 2, Fredraw_display () at C:/emacs/git/emacs/emacs-30/src/dispnew.c:3222 >>> >>> (gdb) pp Vlibrary_cache >>> ((gccjit) (gccjit . t)) >>> >>> It seems odd that there are two entries here. >> >> Thanks, I think I fixed this now on the emacs-30 branch. >> >>> There is code at the end of syms_of_emacs in emacs.c that changes >>> Vdynamic_library_alist as a workaround for something similar, so have >>> other changes made that ineffective ? >> >> No, the problem was that Vlibrary_cache was not re-initialized after >> loading the pdumper file. > > Thanks Eli, confirmed as working again on emacs-30. > > AndyM Thanks closing. From unknown Sun Aug 17 22:12:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 01 Aug 2024 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator