Package: binutils-gold
Version: 2.23.1-1~exp3
Severity: normal

Dear Maintainer,
The Linux kernel for my device (olpc arm/3.5 for xo-4)
uses armv8 for the compressing process. (only the zImage,
the compiled kernel--Image-- that zImage encapsulates builds fine)

olpc@xo:~/git/linux$ make zImage
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  Kernel: arch/arm/boot/Image is ready
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
/usr/bin/ld.gold.real: error: arch/arm/boot/compressed/piggy.gzip.o: unknown 
CPU architecture
/usr/bin/ld.gold.real: error: arch/arm/boot/compressed/lib1funcs.o: unknown CPU 
architecture
/usr/bin/ld.gold.real: error: arch/arm/boot/compressed/ashldi3.o: unknown CPU 
architecture
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2

olpc@xo:~/git/linux$ readelf -A arch/arm/boot/compressed/piggy.gzip.o
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "all"
  Tag_CPU_arch: v8
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3-D16
  Tag_MPextension_use: Allowed
  Tag_Virtualization_use: TrustZone and Virtualization Extensions

Running with ld.bfd works. Invocation: ld -EL    --defsym 
_kernel_bss_size=635212 --defsym zreladdr=0x00008000 -p --no-undefined -X -T 
arch/arm/boot/compressed/vmlinux.lds arch/arm/boot/compressed/head.o 
arch/arm/boot/compressed/piggy.gzip.o arch/arm/boot/compressed/misc.o 
arch/arm/boot/compressed/decompress.o arch/arm/boot/compressed/string.o 
arch/arm/boot/compressed/lib1funcs.o arch/arm/boot/compressed/ashldi3.o -o 
arch/arm/boot/compressed/vmlinux


Please ask for any files you may want attached.
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 3.5.43.5.4-00629-gd105eba (PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages binutils-gold depends on:
ii  binutils  2.23.1-1~exp3

binutils-gold recommends no packages.

binutils-gold suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to