public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, Jens Axboe <jens.axboe@oracle.com>
Subject: Re: [scsi bug] spurious build failures in aic7xxx
Date: Sat, 2 Feb 2008 17:26:11 +0100	[thread overview]
Message-ID: <20080202162611.GA24765@uranus.ravnborg.org> (raw)
In-Reply-To: <20080202141857.GA8635@elte.hu>

On Sat, Feb 02, 2008 at 03:18:57PM +0100, Ingo Molnar wrote:
> 
> i should also specify the build environment:
> 
> it's a distcc setup with 5-10 hosts active at a time, so highly parallel 
> with large, networking related delays. It's make -j130:
> 
> nice -15 /usr/bin/time make -j130 bzImage ARCH=i386 \
> CROSS_COMPILE='distcc \
> /opt/crosstool/gcc-4.2.2-glibc-2.3.6/i686-unknown-linux-gnu-'
> 
> the build host is a 64-bit quad CPU box, so highly parallel as well.

Impressive setup - I was until now quite satisfied with my new
quad box that Intel has sponsored (thanks to Greg) :-)

I could not reproduce the bug myself but I think I spotted it.
We had a missing dependency to the _reg.h file.
Try following patch and let me now if it continue to break.

	Sam

diff --git a/drivers/scsi/aic7xxx/Makefile b/drivers/scsi/aic7xxx/Makefile
index e4f70c5..8065590 100644
--- a/drivers/scsi/aic7xxx/Makefile
+++ b/drivers/scsi/aic7xxx/Makefile
@@ -44,13 +44,8 @@ clean-files += aic79xx_seq.h aic79xx_reg.h aic79xx_reg_print.c
 
 # Dependencies for generated files need to be listed explicitly
 
-$(obj)/aic7xxx_core.o: $(obj)/aic7xxx_seq.h
-$(obj)/aic7xxx_core.o: $(obj)/aic7xxx_reg.h
-$(obj)/aic79xx_core.o: $(obj)/aic79xx_seq.h
-$(obj)/aic79xx_core.o: $(obj)/aic79xx_reg.h
-
-$(addprefix $(obj)/,$(aic7xxx-y)): $(obj)/aic7xxx_seq.h
-$(addprefix $(obj)/,$(aic79xx-y)): $(obj)/aic79xx_seq.h
+$(addprefix $(obj)/,$(aic7xxx-y:.o=.c)): $(obj)/aic7xxx_seq.h $(obj)/aic7xxx_reg.h
+$(addprefix $(obj)/,$(aic79xx-y:.o=.c)): $(obj)/aic79xx_seq.h $(obj)/aic79xx_reg.h
 
 aic7xxx-gen-$(CONFIG_AIC7XXX_BUILD_FIRMWARE)	:= $(obj)/aic7xxx_reg.h
 aic7xxx-gen-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT)	+= $(obj)/aic7xxx_reg_print.c

  reply	other threads:[~2008-02-02 16:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 22:50 [scsi bug] spurious build failures in aic7xxx Ingo Molnar
2008-02-01 23:02 ` Sam Ravnborg
2008-02-02 13:59 ` Sam Ravnborg
2008-02-02 14:03   ` Ingo Molnar
2008-02-02 14:06     ` Ingo Molnar
2008-02-02 14:18       ` Ingo Molnar
2008-02-02 16:26         ` Sam Ravnborg [this message]
2008-02-02 17:10           ` Ingo Molnar
2008-02-03  4:54             ` [patch] scsi: fix " Ingo Molnar
2008-02-03  7:41               ` Sam Ravnborg
2008-02-03 19:23                 ` James Bottomley
2008-02-03 20:05                   ` Sam Ravnborg
2008-02-03 20:15                     ` James Bottomley
2008-02-03 20:38                       ` Sam Ravnborg
2008-02-03 20:48                         ` James Bottomley
2008-02-04  7:33                 ` Hannes Reinecke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080202162611.GA24765@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox