bootstrap/3811: compiling problem at linux kernel-2.4.7 with latest cvs gcc-3.0.1
k_fukui@highway.ne.jp
k_fukui@highway.ne.jp
Wed Jul 25 05:36:00 GMT 2001
>Number: 3811
>Category: bootstrap
>Synopsis: compiling problem at linux kernel-2.4.7 with latest cvs gcc-3.0.1
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 25 05:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Kaoru Fukui
>Release: latest cvs gcc-3.0.1
>Organization:
>Environment:
linuxppc,ppc-linux
>Description:
compiling problem at linux kernel-2.4.7 with latest cvs gcc-3.0.1
I tried to compile same source with gcc-3.0.1 cvs which i got July20.
The gcc-3.0.1July20 is Noproblem,it was very good compiling linux-2.4.7.
So I think,this problem is in gcc-3.0.1 cvs latest.
Kaoru
-----------------------------------------
net/network.o \
/usr/src/redhat/BUILD/linux/lib/lib.a /usr/lib/gcc-lib/ppc-linux/3.0.1/nof/libgcc.a \
--end-group \
-o vmlinux
drivers/usb/usbdrv.o: In function `extract':
drivers/usb/usbdrv.o(.text+0x12680): undefined reference to `__fswab64'
drivers/usb/usbdrv.o(.text+0x12680): relocation truncated to fit: R_PPC_REL24 __fswab64
drivers/usb/usbdrv.o: In function `implement':
drivers/usb/usbdrv.o(.text+0x126fc): undefined reference to `__fswab64'
drivers/usb/usbdrv.o(.text+0x126fc): relocation truncated to fit: R_PPC_REL24 __fswab64
drivers/usb/usbdrv.o(.text+0x12728): undefined reference to `__fswab64'
drivers/usb/usbdrv.o(.text+0x12728): relocation truncated to fit: R_PPC_REL24 __fswab64
net/network.o: In function `atalk_release':
net/network.o(.text+0x50aac): undefined reference to `atalk_destroy_socket'
net/network.o(.text+0x50aac): relocation truncated to fit: R_PPC_REL24 atalk_destroy_socket
make: *** [vmlinux] Error 1
[root@g4mpKFUKUI linux]# grep -rn __fswab64 *
Binary file drivers/usb/hid.o matches
Binary file drivers/usb/usbdrv.o matches
include/linux/byteorder/swab.h:123: __fswab64((x)))
include/linux/byteorder/swab.h:127:# define __swab64(x) __fswab64(x)
include/linux/byteorder/swab.h:158:extern __inline__ __const__ __u64 __fswab64(__u64 x)
[root@g4mpKFUKUI linux]#
[root@g4mpKFUKUI /Some-kernel]# gcc -v
Reading specs from /usr/lib/gcc-lib/ppc-linux/3.0.1/specs
Configured with: /usr/src/redhat/BUILD/gcc-3.0.1/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads --enable-checking=gc,misc,tree --enable-languages=c,c++,f77,objc ppc-linux
Thread model: posix
gcc version 3.0.1 20010724 (prerelease)
[root@g4mpKFUKUI /Some-kernel]#
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list