unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] fix native-comp parallel build
@ 2020-05-04  1:53 Tom Gillespie
  0 siblings, 0 replies; only message in thread
From: Tom Gillespie @ 2020-05-04  1:53 UTC (permalink / raw)
  To: akrl, emacs-devel

[-- 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-04  1:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04  1:53 [PATCH] fix native-comp parallel build Tom Gillespie

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).