* kbuild-2.5 on 2.4.19-pre10-ac2 build error when modular support turned off
@ 2002-06-07 1:48 Kevin P. Fleming
2002-06-07 3:03 ` Keith Owens
2002-06-07 4:22 ` Keith Owens
0 siblings, 2 replies; 3+ messages in thread
From: Kevin P. Fleming @ 2002-06-07 1:48 UTC (permalink / raw)
To: linux-kernel
I had a kernel built and working fine with module support turned on, only a
single driver (ide-floppy) compiled as a module. I then did "make -f
Makefile-2.5 menuconfig" and turned off loadable module support, kmod and
double-checked that ide-floppy changed to built-in (it did).
I then did "make -f Makefile-2.5 -j2 installable", and kbuild rebuilt very
little, and the final link died with failed references to "request_module".
It appears that kbuild did not rebuild the entire kernel, even though would
have been necessary.
Did I miss something?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kbuild-2.5 on 2.4.19-pre10-ac2 build error when modular support turned off
2002-06-07 1:48 kbuild-2.5 on 2.4.19-pre10-ac2 build error when modular support turned off Kevin P. Fleming
@ 2002-06-07 3:03 ` Keith Owens
2002-06-07 4:22 ` Keith Owens
1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2002-06-07 3:03 UTC (permalink / raw)
To: Kevin P. Fleming; +Cc: linux-kernel
On Thu, 6 Jun 2002 18:48:53 -0700,
"Kevin P. Fleming" <kpfleming@cox.net> wrote:
>I had a kernel built and working fine with module support turned on, only a
>single driver (ide-floppy) compiled as a module. I then did "make -f
>Makefile-2.5 menuconfig" and turned off loadable module support, kmod and
>double-checked that ide-floppy changed to built-in (it did).
>
>I then did "make -f Makefile-2.5 -j2 installable", and kbuild rebuilt very
>little, and the final link died with failed references to "request_module".
>It appears that kbuild did not rebuild the entire kernel, even though would
>have been necessary.
It is a bug in standardizing dependency names when using common source
and object trees, I will correct it and roll core-18 this afternoon.
Separate source and object work fine for this case.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kbuild-2.5 on 2.4.19-pre10-ac2 build error when modular support turned off
2002-06-07 1:48 kbuild-2.5 on 2.4.19-pre10-ac2 build error when modular support turned off Kevin P. Fleming
2002-06-07 3:03 ` Keith Owens
@ 2002-06-07 4:22 ` Keith Owens
1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2002-06-07 4:22 UTC (permalink / raw)
To: Kevin P. Fleming; +Cc: linux-kernel
On Thu, 6 Jun 2002 18:48:53 -0700,
"Kevin P. Fleming" <kpfleming@cox.net> wrote:
>I had a kernel built and working fine with module support turned on, only a
>single driver (ide-floppy) compiled as a module. I then did "make -f
>Makefile-2.5 menuconfig" and turned off loadable module support, kmod and
>double-checked that ide-floppy changed to built-in (it did).
>
>I then did "make -f Makefile-2.5 -j2 installable", and kbuild rebuilt very
>little, and the final link died with failed references to "request_module".
>It appears that kbuild did not rebuild the entire kernel, even though would
>have been necessary.
Missing case for common source/object. Since the bug will have
resulted in an incomplete database, bump the version number to ensure
that any existing kbuild database is deleted and rebuilt correctly.
This fix will be in core-18.
diff -ur 2.5.20-kbuild-2.5/scripts/pp_db.h 2.5.20-kbuild-2.5.new/scripts/pp_db.h
--- 2.5.20-kbuild-2.5/scripts/pp_db.h Fri Jun 7 14:17:45 2002
+++ 2.5.20-kbuild-2.5.new/scripts/pp_db.h Fri Jun 7 14:11:58 2002
@@ -19,7 +19,7 @@
* for migrating a kbuild database from one version to another, rebuild the
* database from scratch.
*/
-#define DB_VERSION 8
+#define DB_VERSION 9
typedef struct ppdb PPDB;
typedef struct db_token DB_TOKEN;
diff -ur 2.5.20-kbuild-2.5/scripts/pp_makefile5.c 2.5.20-kbuild-2.5.new/scripts/pp_makefile5.c
--- 2.5.20-kbuild-2.5/scripts/pp_makefile5.c Fri Jun 7 14:17:45 2002
+++ 2.5.20-kbuild-2.5.new/scripts/pp_makefile5.c Fri Jun 7 14:10:56 2002
@@ -991,6 +991,8 @@
} else if (common_src_obj && *index == objtree_treename_index) {
s = read_db_source(db, token);
*index = s->index;
+ } else if (common_src_obj && *index == -1) {
+ *index = 0;
}
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-07 4:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-07 1:48 kbuild-2.5 on 2.4.19-pre10-ac2 build error when modular support turned off Kevin P. Fleming
2002-06-07 3:03 ` Keith Owens
2002-06-07 4:22 ` Keith Owens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox