Kernel 3.1 fails to build due to error in USB subsystem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi

Kernel bugzilla is still offline, so I must write bug report here.


On two my computers, newest 3.1 kernel won't compile (link to be more specific). Both problems are different but it seems to be related. Both occurs in usb subsystem and are connected with "__bad_udelay".

Machine 1:
uname -a: Linux www 3.0.0-Slackware #1 SMP Mon Jul 25 15:26:21 CEST 2011 i686 prescott i386 GNU/Linux
gcc --version: gcc (GCC) 3.4.6
ld -v: GNU ld version 2.15.92.0.2 20040927

error:
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.devinit.text+0xed31): In function `quirk_usb_disable_ehci':
: undefined reference to `__bad_udelay'
make: *** [.tmp_vmlinux1] Błąd 1


Machine 2:
uname -a: Linux ns 3.0.0-Slackware #2 SMP Mon Jul 25 14:56:10 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux
gcc --version: gcc (GCC) 3.4.6
ld -v: GNU ld version 2.16.92 20060416

error:
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `quirk_usb_early_handoff':
pci-quirks.c:(.devinit.text+0x7976): undefined reference to `__bad_udelay'
make: *** [.tmp_vmlinux1] Błąd 1


I use '2' config to compile kernel on slackware-current64 - it build without problem.

I also try to compile kernel on '2' with "defconfig", it also build without problem.


It seems error exists only with older toolchain (however still supported) when usb support is compile in kernel.


If you need I can provide detailed info (configs, other tool versions, etc).

When really necessary I can bisect to found exactly commit that cause this problem. However this will be very inconvenient to do this on those systems, so i want to avoid it, if not really needed.

--
   Konrad Rzepecki
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux