Acknowledgement sent to Paul Brossier <piem@debian.org>:
New Bug report received and forwarded. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: spca5xx-source: does not compile on powerpc
Date: Mon, 17 Oct 2005 17:31:30 +0100
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.
Cheers, piem
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
-- System Information:
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.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Paul Brossier <piem@altern.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Subject: spca5xx-20050601.tar.gz compiles on powerpc64
Date: Tue, 18 Oct 2005 05:18:27 +0100
for info, i tried earlier versions of spca5xx from
http://mxhaard.free.fr/spca50x/Download/?M=D and found out that the last
version compiling on -powerpc64 is spca5xx-20050601
piem@calabaza:~/spca5xx-20050601$ 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=/home/piem/spca5xx-20050601 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-powerpc64'
CC [M] /home/piem/spca5xx-20050601/drivers/usb/spca5xx.o
/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c: In function ‘spca50x_configure_sensor’:
/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5690: warning: ISO C90 forbids mixed declarations and code
/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5855: warning: ‘defaultpipe’ may be used uninitialized in this function
/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5854: warning: ‘defaultrows’ may be used uninitialized in this function
/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5853: warning: ‘defaultcols’ may be used uninitialized in this function
CC [M] /home/piem/spca5xx-20050601/drivers/usb/spcadecoder.o
LD [M] /home/piem/spca5xx-20050601/spca5xx.o
Building modules, stage 2.
MODPOST
CC /home/piem/spca5xx-20050601/spca5xx.mod.o
LD [M] /home/piem/spca5xx-20050601/spca5xx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-powerpc64'
so far, the camera (041e:4034 Creative instant) is working great in
pd-pdp, but i can't get camorama, gphoto2 or gtkam to detect it. i found
the following in dmesg, with similar lines for each usb devices
(including the camera):
ioctl32(gtkam:5245): Unknown cmd fd(6) cmd(c00c5512){00} arg(fff990c8) on /proc/bus/usb/003/008
ciao, piem
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Stephen Birch <sgbirch@imsmail.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
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
Date: Tue, 18 Oct 2005 00:16:27 -0700
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
>
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Stephen Birch <sgbirch@imsmail.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Subject: Re: Fwd: [Pkg-spca5xx-devel] Bug#334392: spca5xx-20050601.tar.gz compiles on powerpc64
Date: Tue, 18 Oct 2005 01:07:27 -0700
michel Xhaard(mxhaard@magic.fr)@2005-10-18 10:02:
> Steve,
> Ok i wil look I have also forward the bug report to Tomas Groth working on
> spca5xx ppc support.
Excellent, thanks Michel
Steve
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Kel Modderman <kelrin@tpg.com.au>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
To: Paul Brossier <piem@altern.org>, 334392@bugs.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#334392: spca5xx-20050601.tar.gz compiles
on powerpc64
Date: Tue, 18 Oct 2005 22:02:08 +1000
Paul Brossier wrote:
>for info, i tried earlier versions of spca5xx from
>http://mxhaard.free.fr/spca50x/Download/?M=D and found out that the last
>version compiling on -powerpc64 is spca5xx-20050601
>
>piem@calabaza:~/spca5xx-20050601$ 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=/home/piem/spca5xx-20050601 modules
>make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-powerpc64'
> CC [M] /home/piem/spca5xx-20050601/drivers/usb/spca5xx.o
>/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c: In function ‘spca50x_configure_sensor’:
>/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5690: warning: ISO C90 forbids mixed declarations and code
>/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
>/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5855: warning: ‘defaultpipe’ may be used uninitialized in this function
>/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5854: warning: ‘defaultrows’ may be used uninitialized in this function
>/home/piem/spca5xx-20050601/drivers/usb/spca5xx.c:5853: warning: ‘defaultcols’ may be used uninitialized in this function
> CC [M] /home/piem/spca5xx-20050601/drivers/usb/spcadecoder.o
> LD [M] /home/piem/spca5xx-20050601/spca5xx.o
> Building modules, stage 2.
> MODPOST
> CC /home/piem/spca5xx-20050601/spca5xx.mod.o
> LD [M] /home/piem/spca5xx-20050601/spca5xx.ko
>make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-powerpc64'
>
>so far, the camera (041e:4034 Creative instant) is working great in
>pd-pdp, but i can't get camorama, gphoto2 or gtkam to detect it. i found
>the following in dmesg, with similar lines for each usb devices
>(including the camera):
>
>ioctl32(gtkam:5245): Unknown cmd fd(6) cmd(c00c5512){00} arg(fff990c8) on /proc/bus/usb/003/008
>
>ciao, piem
>
>
>
Thanks for your time piem, very appreciated!
The upstream authours have been informed and are now investigating.
Thanks, Kel.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Paul Brossier <piem@altern.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Cc: michel Xhaard <mxhaard@magic.fr>, 334392@bugs.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#334392: spca5xx-source: does not compile on powerpc
Date: Wed, 19 Oct 2005 04:39:26 +0100
Hi all,
On Tue, Oct 18, 2005 at 12:16:27AM -0700, Stephen Birch wrote:
> 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.
great. thanks for your work.
> 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?
i just got my ibook back from repair. spca5xx 20051001 compiled fine
there, so the issue only applies to powerpc64 (a 64 bit kernel with a
biarch toolchain), as suggested by gcc errors.
cheers, paul
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Cc: 334392@bugs.debian.org, Stephen Birch <sgbirch@imsmail.org>
Subject: Re: Bug#334392: [Pkg-spca5xx-devel] Bug#334392: spca5xx-source: does not compile on powerpc
Date: Wed, 19 Oct 2005 10:51:26 -0200
Paul Brossier <piem@altern.org> writes:
>> 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?
>
> i just got my ibook back from repair. spca5xx 20051001 compiled fine
> there, so the issue only applies to powerpc64 (a 64 bit kernel with a
> biarch toolchain), as suggested by gcc errors.
Do you or someone else can provide an access to a powerpc64 machine to
me to test and fix the problem?
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Changed Bug title.
Request was from Otavio Salvador <otavio@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Hello,
I uploaded a new version of spca5xx yestarday to Debian (20051101-1)
and it should enters archive today. Would be good if you could test it
and check if this problem still exist.
If you can confirm that, I'll try to catch access to any machine of
powerpc64 for testing.
Thanks,
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Message sent on to Paul Brossier <piem@debian.org>:
Bug#334392.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to michel Xhaard <mxhaard@magic.fr>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
To: pkg-spca5xx-devel@lists.alioth.debian.org,
Otavio Salvador <otavio@debian.org>,
334392@bugs.debian.org
Cc: 334392-submitter@bugs.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#334392: Can you recheck it?
Date: Tue, 1 Nov 2005 15:08:50 +0100
Le Mardi 1 Novembre 2005 12:15, Otavio Salvador a écrit :
> Hello,
>
> I uploaded a new version of spca5xx yestarday to Debian (20051101-1)
> and it should enters archive today. Would be good if you could test it
> and check if this problem still exist.
>
> If you can confirm that, I'll try to catch access to any machine of
> powerpc64 for testing.
>
> Thanks,
I did not change the MR97311 code so i think the ppc64 bug is here too, i will
try to change this part for the next release.
Regards
--
Michel Xhaard
http://mxhaard.free.fr
Message sent on to Paul Brossier <piem@debian.org>:
Bug#334392.
(full text, mbox, link).
Information stored: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Paul Brossier <piem@altern.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
To: michel Xhaard <mxhaard@magic.fr>, 334392-quiet@bugs.debian.org
Cc: Otavio Salvador <otavio@debian.org>
Subject: Re: Bug#334392: [Pkg-spca5xx-devel] Bug#334392: Can you recheck it?
Date: Wed, 2 Nov 2005 05:49:44 +0000
On Tue, Nov 01, 2005 at 03:08:50PM +0100, michel Xhaard wrote:
> Le Mardi 1 Novembre 2005 12:15, Otavio Salvador a écrit :
> > Hello,
> >
> > I uploaded a new version of spca5xx yestarday to Debian (20051101-1)
> > and it should enters archive today. Would be good if you could test it
> > and check if this problem still exist.
> >
> > If you can confirm that, I'll try to catch access to any machine of
> > powerpc64 for testing.
> > Thanks,
Otavio, i can't give you access to my machine easily, but debian should
have a few of these available. Not sure which they are though. I guess
Sven Luther is the one to ask.
> I did not change the MR97311 code so i think the ppc64 bug is here too, i will
> try to change this part for the next release.
Ready for testing :-)
bye, piem
Information stored: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Cc: michel Xhaard <mxhaard@magic.fr>, 334392-quiet@bugs.debian.org
Subject: Re: Bug#334392: [Pkg-spca5xx-devel] Bug#334392: Can you recheck it?
Date: Thu, 03 Nov 2005 11:07:52 -0200
Paul Brossier <piem@altern.org> writes:
>> > If you can confirm that, I'll try to catch access to any machine of
>> > powerpc64 for testing.
>> > Thanks,
>
> Otavio, i can't give you access to my machine easily, but debian should
> have a few of these available. Not sure which they are though. I guess
> Sven Luther is the one to ask.
I'll try to get access to one machine ASAP.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
To: 334392-submitter@bugs.debian.org, 334392@bugs.debian.org
Subject: Need to detect ppc64 arch
Date: Thu, 03 Nov 2005 17:45:42 -0200
Hello,
I tested current code and it doesn't fail to build anymore but we have
another bug: How to detect ppc64 arch and kernel and then to use -m64
as gcc option to compile?
Since I don't have root permission on test machine, I cannot test
module-assistant with spca5xx-source package from sid but would be
good if you could do a test and check if it's working.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Message sent on to Paul Brossier <piem@debian.org>:
Bug#334392.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>: Bug#334392; Package spca5xx-source.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
To: 334392-submitter@bugs.debian.org, 334392@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Checked and isn't our fault anymore
Date: Thu, 03 Nov 2005 18:29:33 -0200
reassign 334392 module-assistant
thanks
----
Hello folks,
I got module-assistant to work in a test machine and it fail to detect
the need of -m64 gcc param. So this isn't our fault anymore and I'm
reassign this to it.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
To: Otavio Salvador <otavio@debian.org>, 334392-quiet@bugs.debian.org
Cc: michel Xhaard <mxhaard@magic.fr>
Subject: Re: Bug#334392: Checked and isn't our fault anymore
Date: Sat, 5 Nov 2005 17:45:45 +0000
Hi,
On Thu, Nov 03, 2005 at 06:29:33PM -0200, Otavio Salvador wrote:
> reassign 334392 module-assistant
> thanks
>
> ----
> Hello folks,
>
> I got module-assistant to work in a test machine and it fail to detect
> the need of -m64 gcc param. So this isn't our fault anymore and I'm
> reassign this to it.
indeed. as a workaround, i could compile on 2.6.14 changing the line 54
in the Makefile of spca5xx-source 20051101-1 to
$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC="$(CC) -m64" modules
and the module seems to work fine now, sorry for the noise :)
thanks, piem
Information stored: Bug#334392; Package module-assistant.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Cc: 334392-quiet@bugs.debian.org, michel Xhaard <mxhaard@magic.fr>
Subject: Re: Bug#334392: Checked and isn't our fault anymore
Date: Sat, 05 Nov 2005 16:09:11 -0200
Paul Brossier <piem@altern.org> writes:
>> I got module-assistant to work in a test machine and it fail to detect
>> the need of -m64 gcc param. So this isn't our fault anymore and I'm
>> reassign this to it.
>
> indeed. as a workaround, i could compile on 2.6.14 changing the line 54
> in the Makefile of spca5xx-source 20051101-1 to
>
> $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC="$(CC) -m64" modules
>
> and the module seems to work fine now, sorry for the noise :)
No problem. :-D
We now need to identify a way to discover if a kernel was built using
64 or 32 bits mode. So we can fix it on module-assistant.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
Information forwarded to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>: Bug#334392; Package module-assistant.
(full text, mbox, link).
Acknowledgement sent to Björn Torkelsson <torkel@acc.umu.se>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(full text, mbox, link).
Subject: Checking if compiling for a 64 bit kernel
Date: Wed, 05 Apr 2006 10:29:41 +0200
Hi,
Shouldn't the following code snippet be enough to make module-assistant
work on PPC64 and hopefully still work on all machines with a 64-bit
kernel. Maybe it should also check if the arch is powerpc just to be on
the safe side?
--- module-assistant-0.10.2/modass/include/generic.make.orig 2006-04-05 10:22:36.000000000 +0200
+++ module-assistant-0.10.2/modass/include/generic.make 2006-04-05 10:23:08.000000000 +0200
@@ -48,6 +48,11 @@
endif
endif
+# Check if we are running a 64bit kernel
+ifneq "$(wildcard $(KSRC)/include/linux/config/64bit.h)" ""
+ CFLAGS += -m64
+endif
+
# Special case gcc 2.7.2
ifeq ($(CC),gcc-2.7)
CC = gcc272
It is completely untested though as I don't have access to any PPC64 machine.
/torkel
Information forwarded to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>: Bug#334392; Package module-assistant.
(full text, mbox, link).
Acknowledgement sent to Eduard Bloch <edi@gmx.de>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(full text, mbox, link).
Hello,
I would like to get more competent comments from concerned kernel
packages on the issue quoted below. There is already a hack for sparc64:
ifeq ($(ARCH),)
SPARCH=$(shell grep 'CONFIG_SPARC..=y' "$(KSRC)/.config" 2>/dev/null| cut -d= -f1)
#maybe a different ARCH on sparc
ifeq (CONFIG_SPARC32,$(SPARCH))
ARCH :=sparc
export ARCH
endif
ifeq (CONFIG_SPARC64,$(SPARCH))
ARCH :=sparc64
export ARCH
endif
endif
* Björn Torkelsson [Wed, Apr 05 2006, 10:29:41AM]:
> Shouldn't the following code snippet be enough to make module-assistant
> work on PPC64 and hopefully still work on all machines with a 64-bit
> kernel. Maybe it should also check if the arch is powerpc just to be on
> the safe side?
> --- module-assistant-0.10.2/modass/include/generic.make.orig 2006-04-05 10:22:36.000000000 +0200
> +++ module-assistant-0.10.2/modass/include/generic.make 2006-04-05 10:23:08.000000000 +0200
> @@ -48,6 +48,11 @@
> endif
> endif
>
> +# Check if we are running a 64bit kernel
> +ifneq "$(wildcard $(KSRC)/include/linux/config/64bit.h)" ""
> + CFLAGS += -m64
> +endif
> +
> # Special case gcc 2.7.2
> ifeq ($(CC),gcc-2.7)
> CC = gcc272
>
> It is completely untested though as I don't have access to any PPC64 machine.
>
> /torkel
>
>
--
<krid> Hi, gibts einen Kazaa client für GNU?
<panthera> krid: falsche frage
<krid> panthera: Gibt es einen Kazaa client für Debian GNU/Linux? :-)
<panthera> krid: falsche frage ;)
<krid> panthera: Hm. Welche Frage ist die richtige?
<panthera> krid: gibt es einen freien ftp-client fuer linux?
Information forwarded to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>: Bug#334392; Package module-assistant.
(full text, mbox, link).
Acknowledgement sent to Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(full text, mbox, link).
Eduard Bloch <edi@gmx.de> writes:
> Hello,
>
> I would like to get more competent comments from concerned kernel
> packages on the issue quoted below. There is already a hack for sparc64:
I'm not sure this answeres your problem but in recent kernels the
kernel adds the -m64 flag for amd64 automaticaly. The same should
happen for all other multiarch archs for both -m32 and -m64 as needed.
I also send in a patch for make-kpkg (applied in sid) for multiarch
cross-compile support using --arch <arch> --cross-compile '-'. This
tells make-kpkg to build for the arch but still use the normal "gcc"
instead of defaulting to "arch-os-gnu-gcc" as with other
cross-compiles.
Those two combined make building a kernel for "the other" arch of a
system simple.
MfG
Goswin
Reply sent
to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility.
(Sat, 06 Jul 2013 17:48:04 GMT) (full text, mbox, link).
Notification sent
to Paul Brossier <piem@debian.org>:
Bug acknowledged by developer.
(Sat, 06 Jul 2013 17:48:04 GMT) (full text, mbox, link).
On Thursday, 6. April 2006 15:27:19 Goswin von Brederlow wrote:
> Eduard Bloch <edi@gmx.de> writes:
> > I would like to get more competent comments from concerned kernel
> > packages on the issue quoted below. There is already a hack for sparc64:
>
> I'm not sure this answeres your problem but in recent kernels the
> kernel adds the -m64 flag for amd64 automaticaly. The same should
> happen for all other multiarch archs for both -m32 and -m64 as needed.
Getting the compiler and options right should be solely the task of Kbuild
nowadays, therefore closing this bug report now.
Andreas
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 04 Aug 2013 07:39:27 GMT) (full text, mbox, link).
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/.