On Mon, 17 Dec 2001 15:46:30 -0700, 
Tom Rini <[EMAIL PROTECTED]> wrote:
>Hey all.  I'm trying to get PPC going again with kbuild-2.5, but I'm
>runnign into some wierd errors.  Anyone know what would cause the 
>.tmp_targets rule to fail with an error 139?  If I change:

139 = 128+11 -> sig 11 -> SEGV.  Probably pp_makefile2 is breaking.

cd $KBUILD_OBJTREE
source .tmp_env         (sets the environment variables, except src/object)
gdb scripts/pp_makefile2
r

Where does it break?  What is the backtrace?

>I get to the point of kbuild-2.5 telling me
>there's no rule to make target 'installable'.

That makes no sense.  Even without selecting a kernel format, the
installable target is defined to be at least System.map.  Check
.tmp_global_makefile, find installable:, it should look like this.

installable: System.map
installable: $(patsubst %,%,$(vmlinux_modules))
installable: .tmp_vmlinux_objects
installable: .tmp_vmlinux_modules

ifeq ($(NO_MAKEFILE_GEN),)
  ifeq ($(KBUILD_WRITABLE),y)
        @echo "  Rereading input trees to get final timestamps"
        @$(KBUILD_TIME) scripts/pp_makefile1 $(PP_MAKEFILE1_FLAGS)
        @mv -f .tmp_filelist.txt_new .tmp_filelist.txt
        @mv -f .tmp_filelist.bin_new .tmp_filelist.bin
        @touch $(tmp_config_links)dummy
        @rm $(tmp_config_links)dummy
        @echo "  Updating global makefile with final commands"
        @mv .tmp_global_makefile .tmp_global_makefile_old
        @sed -ne '1,/^\# Command feedback from previous build/p' 
.tmp_global_makefile_old > .tmp_global_makefile
        @cd $(KBUILD_OBJTREE) && $(KBUILD_TIME) scripts/pp_makefile4 -c 
$(PP_MAKEFILE4_FLAGS) > .tmp_global_makefile_feedback
        @cat .tmp_global_makefile_feedback >> .tmp_global_makefile
        @rm .tmp_global_makefile_old
        @echo "  Global makefile is ready for install"
        @rm -f .tmp_no_makefile_gen
  endif
endif
        @/bin/true

The blank line between the last installable: and the commands might be
causing a problem, but it works for me on make 3.79.1.  Easy enough to
check if that is the problem.  Against top level Makefile.in.

--- Makefile.in.orig    Tue Dec 18 10:30:15 2001
+++ Makefile.in Tue Dec 18 10:30:31 2001
@@ -297,6 +297,7 @@
 
 installable(System.map $(vmlinux_modules) .tmp_vmlinux_objects .tmp_vmlinux_modules)
 
+installable:
 ifeq ($(NO_MAKEFILE_GEN),)
   ifeq ($(KBUILD_WRITABLE),y)
        @echo "  Rereading input trees to get final timestamps"


_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to