linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2.
@ 2004-11-24 13:13 Justin Piszcz
  2004-11-24 17:03 ` Adrian Bunk
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Piszcz @ 2004-11-24 13:13 UTC (permalink / raw)
  To: linux-kernel

Under slackware-current, gcc-3.4.2.

root@p500b:/usr/src/linux# make modules
   CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
   CC [M]  drivers/scsi/cpqfcTScontrol.o
drivers/scsi/cpqfcTScontrol.c:609:2: #error This is too much stack
drivers/scsi/cpqfcTScontrol.c:721:2: #error This is too much stack
make[2]: *** [drivers/scsi/cpqfcTScontrol.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
root@p500b:/usr/src/linux# gcc -v
Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking 
--with-gnu-ld --verbose --target=i486-slackware-linux 
--host=i486-slackware-linux
Thread model: posix
gcc version 3.4.2
root@p500b:/usr/src/linux#


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

* Re: Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2.
  2004-11-24 13:13 Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2 Justin Piszcz
@ 2004-11-24 17:03 ` Adrian Bunk
  2004-11-24 17:05   ` Justin Piszcz
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2004-11-24 17:03 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-kernel

On Wed, Nov 24, 2004 at 08:13:06AM -0500, Justin Piszcz wrote:
> Under slackware-current, gcc-3.4.2.
> 
> root@p500b:/usr/src/linux# make modules
>   CHK     include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   CC [M]  drivers/scsi/cpqfcTScontrol.o
> drivers/scsi/cpqfcTScontrol.c:609:2: #error This is too much stack
> drivers/scsi/cpqfcTScontrol.c:721:2: #error This is too much stack
> make[2]: *** [drivers/scsi/cpqfcTScontrol.o] Error 1
>...

This compile error (as well as the other two compile errors you 
reported) comes from the fact, that you disabled the option

  Code maturity level options
    Prompt for development and/or incomplete code/drivers
      Select only drivers expected to compile cleanly


It's known that some drivers do not compile and marked in the Kconfig 
files. But if you choose to try to compile them anyway, they don't 
compile.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2.
  2004-11-24 17:03 ` Adrian Bunk
@ 2004-11-24 17:05   ` Justin Piszcz
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Piszcz @ 2004-11-24 17:05 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

Ahh, ok thanks!

On Wed, 24 Nov 2004, Adrian Bunk wrote:

> On Wed, Nov 24, 2004 at 08:13:06AM -0500, Justin Piszcz wrote:
>> Under slackware-current, gcc-3.4.2.
>>
>> root@p500b:/usr/src/linux# make modules
>>   CHK     include/linux/version.h
>> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>>   CC [M]  drivers/scsi/cpqfcTScontrol.o
>> drivers/scsi/cpqfcTScontrol.c:609:2: #error This is too much stack
>> drivers/scsi/cpqfcTScontrol.c:721:2: #error This is too much stack
>> make[2]: *** [drivers/scsi/cpqfcTScontrol.o] Error 1
>> ...
>
> This compile error (as well as the other two compile errors you
> reported) comes from the fact, that you disabled the option
>
>  Code maturity level options
>    Prompt for development and/or incomplete code/drivers
>      Select only drivers expected to compile cleanly
>
>
> It's known that some drivers do not compile and marked in the Kconfig
> files. But if you choose to try to compile them anyway, they don't
> compile.
>
>
> cu
> Adrian
>
> -- 
>
>       "Is there not promise of rain?" Ling Tan asked suddenly out
>        of the darkness. There had been need of rain for many days.
>       "Only a promise," Lao Er said.
>                                       Pearl S. Buck - Dragon Seed
>

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

* Re: Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2.
  2004-11-24 18:35 Daniel_Weigert
@ 2004-11-24 18:44 ` Adrian Bunk
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2004-11-24 18:44 UTC (permalink / raw)
  To: Daniel_Weigert; +Cc: jpiszcz, linux-kernel

On Wed, Nov 24, 2004 at 01:35:37PM -0500, Daniel_Weigert@adp.com wrote:
> >> SNIP <<
> 
> >> root@p500b:/usr/src/linux# make modules
> >>   CHK     include/linux/version.h
> >> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
> >>   CC [M]  drivers/scsi/cpqfcTScontrol.o
> >> drivers/scsi/cpqfcTScontrol.c:609:2: #error This is too much stack
> >> drivers/scsi/cpqfcTScontrol.c:721:2: #error This is too much stack
> >> make[2]: *** [drivers/scsi/cpqfcTScontrol.o] Error 1
> >>...
> 
> >> SNIP << 
> > It's known that some drivers do not compile and marked in the Kconfig 
> > files. But if you choose to try to compile them anyway, they don't 
> > compile.
> > cu
> >Adrian
> 
> The problem that I have with this, isn't that the driver is broken (it works
> under 2.4), It isn't labeled as broken in the menuconfig, if you choose the
> option to include the dubious drivers. Unfortunately, I do need this

It's marked as BROKEN, and if you choose the option to enable broken 
drivers, you are offered to compile broken drivers.

> particular driver and hope someone steps up to the plate to take care of it.

If this is the only problem in this driver, the fix wasn't too hard.
But considering how long this problem is unfixed, the driver doesn't 
seem to be in a good shape...

> Dan

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* RE: Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2.
@ 2004-11-24 18:35 Daniel_Weigert
  2004-11-24 18:44 ` Adrian Bunk
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel_Weigert @ 2004-11-24 18:35 UTC (permalink / raw)
  To: bunk, jpiszcz; +Cc: linux-kernel

>> SNIP <<

>> root@p500b:/usr/src/linux# make modules
>>   CHK     include/linux/version.h
>> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>>   CC [M]  drivers/scsi/cpqfcTScontrol.o
>> drivers/scsi/cpqfcTScontrol.c:609:2: #error This is too much stack
>> drivers/scsi/cpqfcTScontrol.c:721:2: #error This is too much stack
>> make[2]: *** [drivers/scsi/cpqfcTScontrol.o] Error 1
>>...

>> SNIP << 
> It's known that some drivers do not compile and marked in the Kconfig 
> files. But if you choose to try to compile them anyway, they don't 
> compile.
> cu
>Adrian

The problem that I have with this, isn't that the driver is broken (it works
under 2.4), It isn't labeled as broken in the menuconfig, if you choose the
option to include the dubious drivers. Unfortunately, I do need this
particular driver and hope someone steps up to the plate to take care of it.

Dan



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

end of thread, other threads:[~2004-11-27  7:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-24 13:13 Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2 Justin Piszcz
2004-11-24 17:03 ` Adrian Bunk
2004-11-24 17:05   ` Justin Piszcz
2004-11-24 18:35 Daniel_Weigert
2004-11-24 18:44 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).