From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brahimi Saifullah Newsgroups: gmane.emacs.devel Subject: Re: Branch scratch/correct-warning-pos now bootstraps with or without native compilation. Date: Thu, 30 Dec 2021 18:09:07 -0300 Message-ID: <84bl0x2424.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17606"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cc: Andrea Corallo , Stefan Monnier , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 22:11:13 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n32hc-0004Ma-UT for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 22:11:13 +0100 Original-Received: from localhost ([::1]:49326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n32hb-0001HK-3H for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 16:11:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n32fk-0000OE-F3 for emacs-devel@gnu.org; Thu, 30 Dec 2021 16:09:16 -0500 Original-Received: from [2607:f8b0:4864:20::82c] (port=35378 helo=mail-qt1-x82c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n32fi-0004PY-Dr for emacs-devel@gnu.org; Thu, 30 Dec 2021 16:09:16 -0500 Original-Received: by mail-qt1-x82c.google.com with SMTP id j17so22768728qtx.2 for ; Thu, 30 Dec 2021 13:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=bqj71LSjhnXAuSfzfwKo18+j3m6Rkdwwiw2IvUJxE5Y=; b=WeoVnh2nRpWgbpD4fTEp5Rd6U0TYmYnTwKiiWNmXVkP5uvgpx5ahNrh8jFGNebFOH3 BpsIBz9+WZCXNLiq9YKwOA1QPPhOw1XWK0gIHhFb4upucxex8pQn97DeFhdAQ4ynAAQC Tr2JhOP/RxWeB1oo20NPCPmU6GEYAQ6/Taomcp/djb6ZFXoiBUwGx04XoKxuQ36Uox3v 0tFlNxrnBNWpRPWLkikq4WSX7V215epoDwHGWWkfIhi5wYWWOv/DP7UA8xYR+dtJ1/fd LzVHCJuR9ALYdUc4wFbYz+USQxzPxhY0/iDwDiTdRarjy9i1i85PL5tyE0yGKefIaxjV ZFog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=bqj71LSjhnXAuSfzfwKo18+j3m6Rkdwwiw2IvUJxE5Y=; b=d5BqwmYGH13on7wGkeymZECBu7gp9uuYtC6Spa1vPLTi6K2dJKKzdui2TnJ31KF9UU PBAyQyiU6sCDeYhjCJtMvw3wsfDvdjsTtPn2u47FoPk4g3HbHi+OeJRFTgvNpCHr1NZe 75ymB3p1Pp7h4YvIX1hM2q1bwrininh5en3sqY6ryH+e6IA5vDjPKxvZEa/29CHZMSrD FqkafO1GZXCmW9yVP9BpKahLtUPXuyorN33D0f0LE4ll3zufDacxN4L5feRl9epVHv1l 5A1ndnF9itULUL0/h03c6un+YlLwZ5t1hXkrEawpMtIVe7qbakfxBXb22QkUDmkxKcY+ 1TAw== X-Gm-Message-State: AOAM5303k5BebSAx8SDdCn7X9F8LWS5QR78zrpyBjSehGrDAQ3wJ2r97 0a0xjNMd6lOiaG2ij37Xw84= X-Google-Smtp-Source: ABdhPJzfHn3B7idJE5zQ1Jx3WNAdRSTh00nFYnurvVD8Ly2a14wOBYmWyNLnOFjYNwv0GYp7weDFlA== X-Received: by 2002:a05:622a:4d4:: with SMTP id q20mr28947185qtx.606.1640898553175; Thu, 30 Dec 2021 13:09:13 -0800 (PST) Original-Received: from COMPUTADOR ([2804:14d:90bc:8726:44c9:5639:2daf:ed7e]) by smtp.googlemail.com with ESMTPSA id e7sm21767261qtx.72.2021.12.30.13.09.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Dec 2021 13:09:11 -0800 (PST) In-Reply-To: (Alan Mackenzie's message of "Thu, 30 Dec 2021 10:38:49 +0000") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::82c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=brahimi.saifullah@gmail.com; helo=mail-qt1-x82c.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283683 Archived-At: --=-=-= Content-Type: text/plain I can't seem to build this on Windows. CCLD temacs.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_SYMBOL_WITH_POS_SYM': C:\emacs\2912\src/comp.c:1487: undefined reference to `gcc_jit_context_new_location' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_EQ': C:\emacs\2912\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\emacs\2912\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' collect2.exe: error: ld returned 1 exit status make[1]: *** [Makefile:691: temacs.exe] Error 1 make[1]: Leaving directory '/c/emacs/2912/src' make: *** [Makefile:452: src] Error 2 Attached is the full output of Make. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=make.log Content-Transfer-Encoding: 8bit Content-Description: Make log make -C nt all make -C lib all make -C doc/lispref info make -C doc/lispintro info make[1]: Entering directory '/c/emacs/3012/nt' make[1]: Entering directory '/c/emacs/3012/doc/lispintro' make[1]: Nothing to be done for 'info'. make[1]: Leaving directory '/c/emacs/3012/doc/lispintro' make[1]: Entering directory '/c/emacs/3012/doc/lispref' make[1]: Nothing to be done for 'info'. make[1]: Leaving directory '/c/emacs/3012/doc/lispref' make -C doc/emacs info RC emacs.res make[1]: Entering directory '/c/emacs/3012/doc/emacs' make[1]: Nothing to be done for 'info'. make[1]: Leaving directory '/c/emacs/3012/doc/emacs' CCLD addpm.exe CCLD cmdproxy.exe make[1]: Entering directory '/c/emacs/3012/lib' CC fingerprint.o CCLD ddeclient.exe CC acl_entries.o CC execinfo.o CC fpending.o CC getopt.o CCLD runemacs.exe CC getopt1.o CC getrandom.o CC gettimeofday.o CC memmem.o CC memrchr.o CC mkostemp.o CC mktime.o CC regex.o CC sig2str.o CC sigdescr_np.o make[1]: Leaving directory '/c/emacs/3012/nt' CC stpcpy.o CC time_r.o CC time_rz.o CC timegm.o CC binary-io.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC close-stream.o CC count-leading-zeros.o CC count-one-bits.o CC count-trailing-zeros.o CC md5-stream.o CC md5.o CC sha1.o CC sha256.o CC sha512.o CC dtoastr.o CC dtotimespec.o CC malloc/dynarray_at_failure.o CC malloc/dynarray_emplace_enlarge.o CC malloc/dynarray_finalize.o CC malloc/dynarray_resize.o CC malloc/dynarray_resize_clear.o CC filemode.o CC filevercmp.o CC gettime.o CC nstrftime.o CC qcopy-acl.o CC stat-time.o CC tempname.o CC timespec.o CC timespec-add.o CC timespec-sub.o CC u64.o AR libgnu.a make[1]: Leaving directory '/c/emacs/3012/lib' make -C lib-src all make[1]: Entering directory '/c/emacs/3012/lib-src' CC ntlib.o RC emacsclient.res CC pop.o CCLD etags.exe CCLD ctags.exe CCLD emacsclient.exe CCLD emacsclientw.exe CCLD ebrowse.exe CCLD hexl.exe CCLD movemail.exe CCLD make-docfile.exe CCLD make-fingerprint.exe make[1]: Leaving directory '/c/emacs/3012/lib-src' make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' BIN_DESTDIR=''/mingw64/bin/'' \ ELN_DESTDIR='/mingw64/lib/emacs/29.0.50/' all make[1]: Entering directory '/c/emacs/3012/src' GEN globals.h make -C ../nt ../src/emacs.res make -C ../admin/charsets all GEN buildobj.h make[2]: Entering directory '/c/emacs/3012/nt' RC ../src/emacs.res make[2]: Leaving directory '/c/emacs/3012/nt' make -C ../admin/unidata charscript.el make[2]: Entering directory '/c/emacs/3012/admin/unidata' make[2]: Entering directory '/c/emacs/3012/admin/charsets' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/c/emacs/3012/admin/charsets' make -C ../admin/unidata emoji-zwj.el make[2]: Entering directory '/c/emacs/3012/admin/unidata' make[2]: Nothing to be done for 'charscript.el'. make[2]: Leaving directory '/c/emacs/3012/admin/unidata' make -C ../admin/charsets cp51932.el make[2]: Entering directory '/c/emacs/3012/admin/charsets' make[2]: Nothing to be done for 'cp51932.el'. make[2]: Leaving directory '/c/emacs/3012/admin/charsets' make -C ../admin/charsets eucjp-ms.el make[2]: Nothing to be done for 'emoji-zwj.el'. make[2]: Leaving directory '/c/emacs/3012/admin/unidata' make[2]: Entering directory '/c/emacs/3012/admin/charsets' make[2]: Nothing to be done for 'eucjp-ms.el'. make[2]: Leaving directory '/c/emacs/3012/admin/charsets' CC firstfile.o CC dispnew.o CC frame.o CC scroll.o CC xdisp.o CC menu.o CC window.o CC charset.o CC coding.o CC category.o CC ccl.o CC character.o CC chartab.o CC bidi.o CC term.o CC terminal.o CC xfaces.o CC dbusbind.o CC emacs.o CC keyboard.o CC macros.o CC keymap.o CC sysdep.o CC bignum.o CC buffer.o CC filelock.o CC insdel.o CC marker.o CC minibuf.o CC fileio.o CC dired.o CC cmds.o CC casetab.o CC casefiddle.o CC indent.o CC search.o CC regex-emacs.o CC undo.o CC alloc.o CC pdumper.o CC data.o CC doc.o CC editfns.o CC callint.o CC eval.o CC floatfns.o CC fns.o CC font.o CC print.o CC lread.o CC emacs-module.o CC syntax.o CC bytecode.o CC comp.o CC dynlib.o CC process.o CC gnutls.o CC callproc.o CC region-cache.o In file included from process.c:33: process.c: In function 'Fmake_process': lisp.h:1651:31: warning: null pointer dereference [-Wnull-dereference] 1651 | return XSTRING (string)->u.s.data; | ~~~~~~~~~~~~~~~~~~~~~^~~~~ CC sound.o CC timefns.o CC atimer.o CC doprnt.o CC intervals.o CC textprop.o CC composite.o CC xml.o CC lcms.o CC w32notify.o CC profiler.o CC decompress.o CC thread.o CC systhread.o CC hbfont.o CC w32fns.o CC w32menu.o CC w32reg.o CC w32font.o CC w32term.o w32menu.c: In function 'set_frame_menubar': w32menu.c:324:9: warning: 'memcpy' offset [3, 10] from the object at '' is out of the bounds of referenced subobject 'contents' with type 'struct Lisp_X *[]' at offset 3 [-Warray-bounds] 324 | memcpy (previous_items, XVECTOR (f->menu_bar_vector)->contents, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | previous_menu_items_used * word_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from w32menu.c:26: lisp.h:1720:17: note: subobject 'contents' declared here 1720 | Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER]; | ^~~~~~~~ CC w32xfns.o CC w32select.o CC w32uniscribe.o CC w32cygwinx.o CC w32.o CC w32console.o CC w32heap.o CC w32inevt.o w32heap.c: In function 'getrlimit': w32heap.c:853:14: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 853 | if (!VirtualQuery ((LPCVOID) &m, &m, sizeof m)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winbase.h:25, from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:70, from w32common.h:24, from w32heap.c:54: C:/msys64/mingw64/x86_64-w64-mingw32/include/memoryapi.h:45:28: note: by argument 1 of type 'LPCVOID' {aka 'const void *'} to 'VirtualQuery' declared here 45 | WINBASEAPI SIZE_T WINAPI VirtualQuery (LPCVOID lpAddress, PMEMORY_BASIC_INFORMATION lpBuffer, SIZE_T dwLength); | ^~~~~~~~~~~~ w32heap.c:844:34: note: 'm' declared here 844 | MEMORY_BASIC_INFORMATION m; | ^ CC w32proc.o CC w32image.o CC fontset.o CC fringe.o CC image.o CC json.o CC tparam.o CC lastfile.o CCLD temacs.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_SYMBOL_WITH_POS_SYM': C:\emacs\3012\src/comp.c:1487: undefined reference to `gcc_jit_context_new_location' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_EQ': C:\emacs\3012\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\emacs\3012\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' collect2.exe: error: ld returned 1 exit status make[1]: *** [Makefile:691: temacs.exe] Error 1 make[1]: Leaving directory '/c/emacs/3012/src' make: *** [Makefile:452: src] Error 2 --=-=-=--