Debian Bug report logs - #334392
does not compile in powerpc64

Package: module-assistant; Maintainer for module-assistant is Eduard Bloch <blade@debian.org>; Source for module-assistant is src:module-assistant (PTS, buildd, popcon).

Reported by: Paul Brossier <piem@debian.org>

Date: Mon, 17 Oct 2005 16:48:05 UTC

Severity: normal

Done: Andreas Beckmann <anbe@debian.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 334392@bugs.debian.org (full text, mbox, reply):

Received: (at 334392) by bugs.debian.org; 18 Oct 2005 07:16:35 +0000
From sgbirch@imsmail.org Tue Oct 18 00:16:35 2005
Return-path: <sgbirch@imsmail.org>
Received: from adsl-gte-la-216-86-209-223.mminternet.com (imsmail.imsmail.org) [216.86.209.223] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ERli7-00063j-00; Tue, 18 Oct 2005 00:16:35 -0700
Received: from sgbirch by imsmail.imsmail.org with local (Exim 4.50)
	id 1ERlhz-00049s-60; Tue, 18 Oct 2005 00:16:27 -0700
Date: Tue, 18 Oct 2005 00:16:27 -0700
To: michel Xhaard <mxhaard@magic.fr>
Cc: Paul Brossier <piem@debian.org>, 334392@bugs.debian.org,
	pkg-spca5xx-devel@lists.alioth.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#334392: spca5xx-source: does not compile on powerpc
Message-ID: <20051018071626.GA15805@imsmail.imsmail.org>
References: <E1ERXta-0005ig-FK@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1ERXta-0005ig-FK@localhost.localdomain>
User-Agent: Mutt/1.5.9i
From: Stephen Birch <sgbirch@imsmail.org>
Delivered-To: 334392@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
Hi Michel:

You may already be aware of this but spca5xx has now made it into
Debian's testing repository.  Kel and I are working to get the
toolchain (spcaview etc) into Debian as well, that should happen
fairly soon.

Some bad news though, we have received a bug report from a power PC
user (Paul Brossier), it looks like the driver doesnt compile on
powerpc.  Do you have a co-maintainer versed on powerpc that can look
into this for us by any chance?

Also, we have set up a mail list for discussing debian packaging
aspects of your driver.  I dont expect it to be a high traffic site
but if you are interested in joining the list point your browser here:

http://lists.alioth.debian.org/mailman/listinfo/pkg-spca5xx-devel

The alioth site also has a forum but we (Kel and I) are planning to
shut that down, we dont need a list server *and* a forum :-)

Steve


Paul Brossier(piem@debian.org)@2005-10-17 17:31:
> Package: spca5xx-source
> Version: 20051001-1
> Severity: normal
> 
> Hi,
> 
> thanks for packaging these modules. the module works fine on an i386
> box, but I have troubles compiling it on 2.6.12-1-powerpc64. Attached is
> the compilation log.
> 
> 
> piem@calabaza:/usr/src/modules/spca5xx$ make
>    Building SPCA5XX driver for 2.5/2.6 kernel.
>    Remember: you must have read/write access to your kernel source tree.
> make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/spca5xx CC=cc modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-powerpc64'
>   CC [M]  /usr/src/modules/spca5xx/drivers/usb/spca5xx.o
> In file included from include/linux/thread_info.h:20,
>                  from include/linux/spinlock.h:12,
>                  from include/linux/capability.h:45,
>                  from include/linux/sched.h:7,
>                  from include/linux/module.h:10,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:39:
> include/linux/bitops.h: In function ???generic_hweight64???:
> include/linux/bitops.h:123: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:123: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:124: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:124: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:125: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:125: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:126: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:126: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:127: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:127: warning: integer constant is too large for ???unsigned long??? type
> include/linux/bitops.h:128: warning: right shift count >= width of type
> In file included from include/linux/byteorder/big_endian.h:12,
>                  from include/asm/byteorder.h:94,
>                  from include/linux/kernel.h:16,
>                  from include/linux/cache.h:4,
>                  from include/asm/thread_info.h:15,
>                  from include/linux/thread_info.h:21,
>                  from include/linux/spinlock.h:12,
>                  from include/linux/capability.h:45,
>                  from include/linux/sched.h:7,
>                  from include/linux/module.h:10,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:39:
> include/linux/byteorder/swab.h: In function ???__fswab64???:
> include/linux/byteorder/swab.h:167: warning: left shift count >= width of type
> include/linux/byteorder/swab.h:167: warning: left shift count >= width of type
> include/linux/byteorder/swab.h:167: warning: right shift count >= width of type
> include/linux/byteorder/swab.h:167: warning: right shift count >= width of type
> include/linux/byteorder/swab.h: In function ???__swab64p???:
> include/linux/byteorder/swab.h:172: warning: left shift count >= width of type
> include/linux/byteorder/swab.h:172: warning: left shift count >= width of type
> include/linux/byteorder/swab.h:172: warning: right shift count >= width of type
> include/linux/byteorder/swab.h:172: warning: right shift count >= width of type
> include/linux/byteorder/swab.h: In function ???__swab64s???:
> include/linux/byteorder/swab.h:176: warning: left shift count >= width of type
> include/linux/byteorder/swab.h:176: warning: left shift count >= width of type
> include/linux/byteorder/swab.h:176: warning: right shift count >= width of type
> include/linux/byteorder/swab.h:176: warning: right shift count >= width of type
> In file included from include/asm/paca.h:23,
>                  from include/asm/spinlock.h:20,
>                  from include/linux/spinlock.h:43,
>                  from include/linux/capability.h:45,
>                  from include/linux/sched.h:7,
>                  from include/linux/module.h:10,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:39:
> include/asm/mmu.h: At top level:
> include/asm/mmu.h:73: error: width of ???avpn??? exceeds its type
> include/asm/mmu.h:85: error: width of ???rpn??? exceeds its type
> include/asm/mmu.h: In function ???hpt_hash???:
> include/asm/mmu.h:133: warning: integer constant is too large for ???unsigned long??? type
> include/asm/mmu.h: In function ???vsid_scramble???:
> include/asm/mmu.h:323: warning: right shift count >= width of type
> include/asm/mmu.h:323: warning: left shift count >= width of type
> include/asm/mmu.h:324: warning: right shift count >= width of type
> include/asm/mmu.h:324: warning: left shift count >= width of type
> In file included from include/asm/spinlock.h:22,
>                  from include/linux/spinlock.h:43,
>                  from include/linux/capability.h:45,
>                  from include/linux/sched.h:7,
>                  from include/linux/module.h:10,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:39:
> include/asm/iSeries/HvCall.h: In function ???HvCall_setVirtualDecr???:
> include/asm/iSeries/HvCall.h:133: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:133: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_yieldProcessor???:
> include/asm/iSeries/HvCall.h:138: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:138: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_setEnabledInterrupts???:
> include/asm/iSeries/HvCall.h:143: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:143: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_clearLogBuffer???:
> include/asm/iSeries/HvCall.h:149: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:149: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_getLogBufferCodePage???:
> include/asm/iSeries/HvCall.h:155: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:155: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_getLogBufferFormat???:
> include/asm/iSeries/HvCall.h:162: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:162: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_getLogBufferLength???:
> include/asm/iSeries/HvCall.h:169: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:169: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_setLogBufferFormatAndCodepage???:
> include/asm/iSeries/HvCall.h:176: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:176: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_sendIPI???:
> include/asm/iSeries/HvCall.h:186: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:186: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_terminateMachineSrc???:
> include/asm/iSeries/HvCall.h:192: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:192: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_setDABR???:
> include/asm/iSeries/HvCall.h:197: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:197: warning: large integer implicitly truncated to unsigned type
> include/asm/iSeries/HvCall.h: In function ???HvCall_setDebugBus???:
> include/asm/iSeries/HvCall.h:202: warning: integer constant is too large for ???unsigned long??? type
> include/asm/iSeries/HvCall.h:202: warning: large integer implicitly truncated to unsigned type
> In file included from include/linux/sched.h:12,
>                  from include/linux/module.h:10,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:39:
> include/linux/jiffies.h: In function ???timespec_to_jiffies???:
> include/linux/jiffies.h:325: warning: left shift count >= width of type
> include/linux/jiffies.h: In function ???timeval_to_jiffies???:
> include/linux/jiffies.h:364: warning: left shift count >= width of type
> include/linux/jiffies.h:364: warning: left shift count >= width of type
> In file included from include/linux/mm.h:36,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:48:
> include/asm/pgtable.h: In function ???find_linux_pte???:
> include/asm/pgtable.h:533: warning: integer constant is too large for ???unsigned long??? type
> include/asm/pgtable.h:533: warning: cast to pointer from integer of different size
> include/asm/pgtable.h:535: warning: integer constant is too large for ???unsigned long??? type
> include/asm/pgtable.h:535: warning: cast to pointer from integer of different size
> In file included from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:48:
> include/linux/mm.h: In function ???lowmem_page_address???:
> include/linux/mm.h:434: warning: integer constant is too large for ???unsigned long??? type
> include/linux/mm.h:434: warning: cast to pointer from integer of different size
> include/linux/mm.h: In function ???pmd_alloc???:
> include/linux/mm.h:679: warning: integer constant is too large for ???unsigned long??? type
> include/linux/mm.h:679: warning: cast to pointer from integer of different size
> In file included from include/linux/highmem.h:8,
>                  from include/linux/pagemap.h:10,
>                  from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:53:
> include/asm/cacheflush.h: In function ???flush_icache_range???:
> include/asm/cacheflush.h:44: warning: integer constant is too large for ???unsigned long??? type
> include/asm/cacheflush.h:44: warning: large integer implicitly truncated to unsigned type
> In file included from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:55:
> include/asm/io.h: In function ???virt_to_phys???:
> include/asm/io.h:224: warning: integer constant is too large for ???unsigned long??? type
> include/asm/io.h: In function ???phys_to_virt???:
> include/asm/io.h:241: warning: integer constant is too large for ???unsigned long??? type
> include/asm/io.h:241: warning: cast to pointer from integer of different size
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function ???uvirt_to_kva???:
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1088: warning: integer constant is too large for ???unsigned long??? type
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1088: warning: cast to pointer from integer of different size
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1098: warning: integer constant is too large for ???unsigned long??? type
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1098: warning: cast to pointer from integer of different size
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function ???kvirt_to_pa???:
> /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1140: warning: integer constant is too large for ???unsigned long??? type
> make[2]: *** [/usr/src/modules/spca5xx/drivers/usb/spca5xx.o] Error 1
> make[1]: *** [_module_/usr/src/modules/spca5xx] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-powerpc64'
> make: *** [default] Error 2
> 
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: powerpc (ppc64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12-1-powerpc64
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> 
> Versions of packages spca5xx-source depends on:
> ii  build-essential               11.1       informational list of build-essent
> ii  bzip2                         1.0.2-10   high-quality block-sorting file co
> ii  debhelper                     4.9.13     helper programs for debian/rules
> ii  module-assistant              0.9.10     tool to make module package creati
> 
> spca5xx-source recommends no packages.
> 
> 
> 
> _______________________________________________
> Pkg-spca5xx-devel mailing list
> Pkg-spca5xx-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-spca5xx-devel
> 



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 25 17:58:28 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.