Re: [kbuild-devel] Announce: Kernel Build for 2.5, release 3.0 is available

Keith Owens (kaos@ocs.com.au)
Tue, 04 Jun 2002 10:19:34 +1000


On 03 Jun 2002 12:22:18 -0700,
Thomas Duffy <tduffy@directvinternet.com> wrote:
>I get this error now on sparc64:
>
>tduffy@curie:/build2/tduffy/linux_kbuild$ make -f Makefile-2.5 oldconfig
>Using ARCH='sparc64' AS='as' LD='ld' CC='sparc64-linux-gcc' CPP='sparc64-linux-gcc -E' AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
>Generating global Makefile
> phase 1 (find all inputs)
>make: *** [phase1] Error 139

Index: 18.85/scripts/pp_db.c
--- 18.85/scripts/pp_db.c Fri, 31 May 2002 17:20:09 +1000 kaos (linux-2.4/T/f/42_pp_db.c 1.17 644)
+++ 18.85(w)/scripts/pp_db.c Tue, 04 Jun 2002 10:17:10 +1000 kaos (linux-2.4/T/f/42_pp_db.c 1.17 644)
@@ -305,7 +305,7 @@ ppdb_free_space(PPDB * db, int size)
}
oldmap = db->header;
ppdb_close(db);
- if (munmap(db->header, oldsize)) {
+ if (munmap(oldmap, oldsize)) {
fprintf(stderr, "%s: munmap(%s) failed: %m\n", program,
ppdb_name);
abort();

The previous coding error will have corrupted the database so rm .tmp_db_main.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/