All of lore.kernel.org
 help / color / mirror / Atom feed
* Buglet making vmlinux with -j
@ 2004-08-20 20:56 C.Newport
  2004-08-20 20:59 ` William Lee Irwin III
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: C.Newport @ 2004-08-20 20:56 UTC (permalink / raw)
  To: sparclinux


If I build a 2.4.27 kernel with -j6 to strsss test an SMP system 
it compiles but silently finishes before linking.

Is this a bug or expected behaviour ?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
@ 2004-08-20 20:59 ` William Lee Irwin III
  2004-08-20 21:05 ` David S. Miller
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: William Lee Irwin III @ 2004-08-20 20:59 UTC (permalink / raw)
  To: sparclinux

On Fri, Aug 20, 2004 at 09:56:06PM +0100, C.Newport wrote:
> If I build a 2.4.27 kernel with -j6 to strsss test an SMP system 
> it compiles but silently finishes before linking.
> Is this a bug or expected behaviour ?

You're going to have to be more precise in your description for me to
tell. I am not sure from this description whether this describes a
failure to build or an unusual kind of output while otherwise building
successfully or maybe even something else.


-- wli

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
  2004-08-20 20:59 ` William Lee Irwin III
@ 2004-08-20 21:05 ` David S. Miller
  2004-08-20 21:05 ` Ciaran McCreesh
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: David S. Miller @ 2004-08-20 21:05 UTC (permalink / raw)
  To: sparclinux

On Fri, 20 Aug 2004 13:59:56 -0700
William Lee Irwin III <wli@holomorphy.com> wrote:

> On Fri, Aug 20, 2004 at 09:56:06PM +0100, C.Newport wrote:
> > If I build a 2.4.27 kernel with -j6 to strsss test an SMP system 
> > it compiles but silently finishes before linking.
> > Is this a bug or expected behaviour ?
> 
> You're going to have to be more precise in your description for me to
> tell.

It's because of all the btfixup stuff in the sparc32
build machinery, William.

He doesn't need to give any more description, it is clear
what the issue is.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
  2004-08-20 20:59 ` William Lee Irwin III
  2004-08-20 21:05 ` David S. Miller
@ 2004-08-20 21:05 ` Ciaran McCreesh
  2004-08-20 21:07 ` Keith M Wesolowski
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Ciaran McCreesh @ 2004-08-20 21:05 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

On Fri, 20 Aug 2004 13:59:56 -0700 William Lee Irwin III
<wli@holomorphy.com> wrote:
| On Fri, Aug 20, 2004 at 09:56:06PM +0100, C.Newport wrote:
| > If I build a 2.4.27 kernel with -j6 to strsss test an SMP system 
| > it compiles but silently finishes before linking.
| > Is this a bug or expected behaviour ?
| 
| You're going to have to be more precise in your description for me to
| tell. I am not sure from this description whether this describes a
| failure to build or an unusual kind of output while otherwise building
| successfully or maybe even something else.

It's known behaviour for 2.4.x (2.6.x should work). Keith had a patch,
although I believe it wasn't applied because of suspected side effects.

-- 
Ciaran McCreesh : Gentoo Developer (Sparc, MIPS, Vim, Fluxbox)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
                   ` (2 preceding siblings ...)
  2004-08-20 21:05 ` Ciaran McCreesh
@ 2004-08-20 21:07 ` Keith M Wesolowski
  2004-08-20 21:13 ` William Lee Irwin III
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Keith M Wesolowski @ 2004-08-20 21:07 UTC (permalink / raw)
  To: sparclinux

On Fri, Aug 20, 2004 at 02:05:29PM -0700, David S. Miller wrote:

> It's because of all the btfixup stuff in the sparc32
> build machinery, William.
> 
> He doesn't need to give any more description, it is clear
> what the issue is.

Yes, and there's a patch for it I got long ago, I think from Pete who
in turn got it from someone else (feel free to speak up).  I doubt
this was ever integrated, since 2.4 is dead and buried.

diff -ur linux-2.4-export-orig/arch/sparc/Makefile linux-2.4-export-new/arch/sparc/Makefile
--- linux-2.4-export-orig/arch/sparc/Makefile	Sun Feb 16 01:23:12 2003
+++ linux-2.4-export-new/arch/sparc/Makefile	Sun May 18 14:07:02 2003
@@ -45,6 +45,7 @@
 	$(TOPDIR)/arch/sparc/lib/lib.a
 
 # This one has to come last
+_dir_arch/sparc/boot :  $(patsubst %, _dir_%, $(SUBDIRS))
 SUBDIRS += arch/sparc/boot
 CORE_FILES_NO_BTFIX := $(CORE_FILES)
 CORE_FILES += arch/sparc/boot/btfix.o
diff -ur linux-2.4-export-orig/arch/sparc/boot/Makefile linux-2.4-export-new/arch/sparc/boot/Makefile
--- linux-2.4-export-orig/arch/sparc/boot/Makefile	Sun Feb 16 01:24:48 2003
+++ linux-2.4-export-new/arch/sparc/boot/Makefile	Sun May 18 13:55:44 2003
@@ -26,11 +26,14 @@
 BTLIBS := $(CORE_FILES_NO_BTFIX) $(FILESYSTEMS) \
 	$(DRIVERS) $(NETWORKS)
 
-# I wanted to make this depend upon BTOBJS so that a parallel
-# build would work, but this fails because $(HEAD) cannot work
-# properly as it will cause head.o to be built with the implicit
-# rules not the ones in kernel/Makefile.  Someone please fix. --DaveM
-vmlinux.o: dummy
+GENFILES := include/linux/version.h include/linux/compile.h $(foreach dirname, $(CORE_FILES_NO_BTFIX), _dir_$(dir $(dirname)))
+.PHONY : $(GENFILES)
+GENFILES += $(BTOBJS)
+
+$(GENFILES) :
+	$(MAKE) -C $(TOPDIR) $@
+
+vmlinux.o: $(GENFILES)
 	$(LD) -r $(patsubst %,$(TOPDIR)/%,$(BTOBJS)) \
 		--start-group \
 		$(patsubst %,$(TOPDIR)/%,$(BTLIBS)) \



-- 
Keith M Wesolowski

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
                   ` (3 preceding siblings ...)
  2004-08-20 21:07 ` Keith M Wesolowski
@ 2004-08-20 21:13 ` William Lee Irwin III
  2004-08-20 22:00 ` C.Newport
  2004-08-20 22:19 ` Joshua Kwan
  6 siblings, 0 replies; 8+ messages in thread
From: William Lee Irwin III @ 2004-08-20 21:13 UTC (permalink / raw)
  To: sparclinux

On Fri, 20 Aug 2004 13:59:56 -0700 William Lee Irwin III wrote:
>> You're going to have to be more precise in your description for me to
>> tell.

On Fri, Aug 20, 2004 at 02:05:29PM -0700, David S. Miller wrote:
> It's because of all the btfixup stuff in the sparc32
> build machinery, William.
> He doesn't need to give any more description, it is clear
> what the issue is.

Hmm. Now that I've seen the patch I know what people are on about,
but maybe I'm too dense today to figure out what "silently finishes
before linking" means, as I've yet to decipher it even afterward.


-- wli

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
                   ` (4 preceding siblings ...)
  2004-08-20 21:13 ` William Lee Irwin III
@ 2004-08-20 22:00 ` C.Newport
  2004-08-20 22:19 ` Joshua Kwan
  6 siblings, 0 replies; 8+ messages in thread
From: C.Newport @ 2004-08-20 22:00 UTC (permalink / raw)
  To: sparclinux

On Friday 20 August 2004 10:13 pm, William Lee Irwin III wrote:

> Hmm. Now that I've seen the patch I know what people are on about,
> but maybe I'm too dense today to figure out what "silently finishes
> before linking" means, as I've yet to decipher it even afterward.

Mea culpa - it means that I forgot to save a logfile.
make vmlinux -j6 completes all of the compilation steps but ends 
without complaint before starting the final linkages.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Buglet making vmlinux with -j
  2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
                   ` (5 preceding siblings ...)
  2004-08-20 22:00 ` C.Newport
@ 2004-08-20 22:19 ` Joshua Kwan
  6 siblings, 0 replies; 8+ messages in thread
From: Joshua Kwan @ 2004-08-20 22:19 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 483 bytes --]

On Fri, Aug 20, 2004 at 10:05:34PM +0100, Ciaran McCreesh wrote:
> It's known behaviour for 2.4.x (2.6.x should work). Keith had a patch,
> although I believe it wasn't applied because of suspected side effects.

Yes, 2.6.x works; the problem for me on 2.4 is that a make -j2 will omit
building of init/, and the compile will fail because init/main.o is not
found.

Even though 'vmlinux' explicitly has a make dependency on init/main.o.
*twilight zone*

-- 
Joshua Kwan

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 881 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-08-20 22:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-20 20:56 Buglet making vmlinux with -j C.Newport
2004-08-20 20:59 ` William Lee Irwin III
2004-08-20 21:05 ` David S. Miller
2004-08-20 21:05 ` Ciaran McCreesh
2004-08-20 21:07 ` Keith M Wesolowski
2004-08-20 21:13 ` William Lee Irwin III
2004-08-20 22:00 ` C.Newport
2004-08-20 22:19 ` Joshua Kwan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.