unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Gillespie <tgbugs@gmail.com>
To: akrl@sdf.org, emacs-devel@gnu.org
Subject: [PATCH] fix native-comp parallel build
Date: Sun, 3 May 2020 18:53:26 -0700	[thread overview]
Message-ID: <CA+G3_PPnerVpsWOE9FPefB4uGPQQQWoEc0frus+DDuybQ5tvyQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

Hi Andrea,
    While working to get the feature/native-comp branch building on
Gentoo I encountered an error running make -j X > 1. This patches
fixes the issue for me. Let me know if it makes sense. Best!
Tom

[-- Attachment #2: 0001-src-Makefile.in-fix-parallel-build.patch --]
[-- Type: text/x-patch, Size: 1081 bytes --]

From ba92dce7ef121ec72421d5f4bd17644cd31e8392 Mon Sep 17 00:00:00 2001
From: Tom Gillespie <tgbugs@gmail.com>
Date: Sun, 3 May 2020 18:38:37 -0700
Subject: [PATCH] * src/Makefile.in fix parallel build

* src/Makefile.in (base_obj): was missing dynlib.o which defines symbols
that alloc.o and pdumper.o require. This resulted in parallel builds
being broken because dynlib.o was not compiled when it was needed.
---
 src/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 63f909ae14..e161503d0b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -416,7 +416,7 @@ base_obj =
 	bignum.o buffer.o filelock.o insdel.o marker.o \
 	minibuf.o fileio.o dired.o \
 	cmds.o casetab.o casefiddle.o indent.o search.o regex-emacs.o undo.o \
-	alloc.o pdumper.o data.o doc.o editfns.o callint.o \
+	dynlib.o alloc.o pdumper.o data.o doc.o editfns.o callint.o \
 	eval.o floatfns.o fns.o font.o print.o lread.o $(MODULES_OBJ) \
 	syntax.o $(UNEXEC_OBJ) bytecode.o $(COMP_OBJ) \
 	process.o gnutls.o callproc.o \
-- 
2.26.2


                 reply	other threads:[~2020-05-04  1:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+G3_PPnerVpsWOE9FPefB4uGPQQQWoEc0frus+DDuybQ5tvyQ@mail.gmail.com \
    --to=tgbugs@gmail.com \
    --cc=akrl@sdf.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).