Kai Germaschewski | 1 Jun 2002 03:46
Picon
Favicon

Re: [PATCH] kbuild: Remove 2048 symbol limit in tkparse

On Fri, 31 May 2002, Sam Ravnborg wrote:

> tkparse limit the number of symbols to 2048.
> This patch makes the array dynamic avoiding this problem in the future.
> The problem showed up in one of the powerpc tree's.

Thanks, I'll look at this (and the other patches) and submit it to Linus
(assuming I don't find anything wrong with it), if he didn't already merge
it.

--Kai

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Keith Owens | 3 Jun 2002 04:35
Picon

Announce: Kernel Build for 2.5, release 3.0 is available


Content-Type: text/plain; charset=us-ascii

Release 3.0 of kernel build for kernel 2.5 (kbuild 2.5) is available.
http://sourceforge.net/projects/kbuild/, package kbuild-2.5, download
release 3.0.

kbuild-2.5-core-15
  Changes from core-14.

    Replace mdbm with kbuild specific database engine to increase
    performance.

    Remove CML2 support, Dominik Brodowski, Keith Owens.

    Remove the restriction on symlinked sources and targets.  Aegis
    users should be able to use kbuild 2.5 now.

kbuild-2.5-common-2.5.19-1.
  Changes from common-2.5.15-4.

    Upgrade to kernel 2.5.19.

kbuild-2.5-i386-2.5.19-1.
  Changes from i386-2.5.15-2.

    Upgrade to kernel 2.5.19.

Larry McVoy provided the mdbm database engine from BitKeeper for use in
kbuild 2.5 release 2.0-2.4, and was extremely helpful in answering my
(Continue reading)

Keith Owens | 3 Jun 2002 07:31
Picon

Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Mon, 03 Jun 2002 12:35:05 +1000, 
Keith Owens <kaos <at> ocs.com.au> wrote:
>Release 3.0 of kernel build for kernel 2.5 (kbuild 2.5) is available.
>http://sourceforge.net/projects/kbuild/, package kbuild-2.5, download
>release 3.0.

Added kbuild-2.5-common-2.5.20-1 and kbuild-2.5-i386-2.5.20-1, upgrade
to 2.5.20.  No core changes.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Arnd Bergmann | 3 Jun 2002 16:19
Picon

Re: Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Monday 03 June 2002 07:31, Keith Owens wrote:

> Added kbuild-2.5-common-2.5.20-1 and kbuild-2.5-i386-2.5.20-1, upgrade
> to 2.5.20.  No core changes.

I needed the small patch below to get the kernel to link in my configuration,
trivial port of the changed Makefile.

For the s390 architecture, I have made an updated patch that I'm sending 
in a seperate mail. The changes are:
- include jiffies_64 support in vmlinux.lds.S
- change asm-offsets.h generation as discussed
- update comments

I also noticed a minor problem: When you forget the '/' at the end of
KBUILD_OBJTREE, weird things can happen. For example, some .tmp_* files are 
not created in OBJTREE, but one level higher and 'make oldconfig' starts 
compiling right after finishing the config.
This problem has been present in older versions as well but maybe noone ever
noticed because shows up only when you give the KBUILD_OBJTREE as a make 
parameter, not as an environment variable.

[broken] make KBUILD_OBJTREE=/tmp/obj -f Makefile-2.5
[works]  make KBUILD_OBJTREE=/tmp/obj/ -f Makefile-2.5
[works]  KBUILD_OBJTREE=/tmp/obj make -f Makefile-2.5

Arnd <><

--- linux-2.5.20-kbuild-s390/drivers/acpi/Makefile.in.orig      Mon Jun  315:50:57 2002
+++ linux-2.5.20-kbuild-s390/drivers/acpi/Makefile.in   Mon Jun  3 15:51:01 2002
(Continue reading)

Thomas Duffy | 3 Jun 2002 21:22

Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Sun, 2002-06-02 at 19:35, Keith Owens wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Content-Type: text/plain; charset=us-ascii
> 
> Release 3.0 of kernel build for kernel 2.5 (kbuild 2.5) is available.
> http://sourceforge.net/projects/kbuild/, package kbuild-2.5, download
> release 3.0.
> 
> kbuild-2.5-core-15
>   Changes from core-14.
> 
>     Replace mdbm with kbuild specific database engine to increase
>     performance.
> 
>     Remove CML2 support, Dominik Brodowski, Keith Owens.
> 
>     Remove the restriction on symlinked sources and targets.  Aegis
>     users should be able to use kbuild 2.5 now.

I get this error now on sparc64:

tduffy <at> 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

(Continue reading)

Thomas Duffy | 3 Jun 2002 21:58

Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Mon, 2002-06-03 at 12:31, Thunder from the hill wrote:

> Did you apply the sparc64 patch? Yet it's there.

yes.

this is failing in the db code, my guess.

> You might even try the upcoming -ct1

ok, I will give it a go, but I think this is a problem in core-15
(kbuild v3.0)

-tduffy

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Thomas Duffy | 3 Jun 2002 23:12

Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Mon, 2002-06-03 at 13:06, Thunder from the hill wrote:

> Could you please try the core-14 beforehand? (Yes, beat me, Keith, but if 
> it works, we'll have a stepping stone!)

<= core-14 works fine...

-tduffy

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Keith Owens | 4 Jun 2002 02:19
Picon

Re: Announce: Kernel Build for 2.5, release 3.0 is available

On 03 Jun 2002 12:22:18 -0700, 
Thomas Duffy <tduffy <at> directvinternet.com> wrote:
>I get this error now on sparc64:
>
>tduffy <at> 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)
 <at>  <at>  -305,7 +305,7  <at>  <at>  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.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
(Continue reading)

Thomas Duffy | 4 Jun 2002 02:29

Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Mon, 2002-06-03 at 17:19, Keith Owens wrote:

> 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)
>  <at>  <at>  -305,7 +305,7  <at>  <at>  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.

awesome.  that fixes the problem.  thanks.

-tduffy

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Keith Owens | 4 Jun 2002 05:54
Picon

Re: Re: Announce: Kernel Build for 2.5, release 3.0 is available

On Mon, 3 Jun 2002 16:19:03 +0200, 
Arnd Bergmann <arnd <at> bergmann-dalldorf.de> wrote:
>I also noticed a minor problem: When you forget the '/' at the end of
>KBUILD_OBJTREE, weird things can happen. For example, some .tmp_* files are 
>not created in OBJTREE, but one level higher and 'make oldconfig' starts 
>compiling right after finishing the config.

Please try this:

Index: 18.85/Makefile-2.5
--- 18.85/Makefile-2.5 Mon, 03 Jun 2002 17:12:21 +1000 kaos (linux-2.4/E/d/40_Makefile-2
1.32.2.27.1.4 644)
+++ 18.85(w)/Makefile-2.5 Tue, 04 Jun 2002 13:53:45 +1000 kaos (linux-2.4/E/d/40_Makefile-2
1.32.2.27.1.4 644)
 <at>  <at>  -73,8 +73,8  <at>  <at>  srctrees	:= $(shell $(AWK) 'BEGIN { for 
 srctrees	:= $(strip $(foreach tree,$(srctrees),$(if $($(tree)),$(tree),)))
 srctrees_assign	:= $(foreach tree,$(srctrees),$(tree)=$($(tree)))

-KBUILD_SRCTREE_000	:= $(shell echo $(KBUILD_SRCTREE_000) | tr '\t' ' ' | sed -e 's:/* *$$:/:')
-KBUILD_OBJTREE		:= $(shell echo $(KBUILD_OBJTREE)     | tr '\t' ' ' | sed -e 's:/* *$$:/:')
+override KBUILD_SRCTREE_000	:= $(shell echo $(KBUILD_SRCTREE_000) | tr '\t' ' ' | sed -e 's:/* *$$:/:')
+override KBUILD_OBJTREE		:= $(shell echo $(KBUILD_OBJTREE)     | tr '\t' ' ' | sed -e 's:/* *$$:/:')

 # 'make KBUILD_QUIET=' to see almost all the commands.
 KBUILD_QUIET	:=  <at> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
(Continue reading)


Gmane