bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28910] GNU-ld: ARM: Issues when trying to set target output arch


From: address@hidden
Subject: [Bug ld/28910] GNU-ld: ARM: Issues when trying to set target output architecture
Date: Sat, 11 Nov 2023 14:21:35 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28910

Jan-Benedict Glaw <jbglaw@lug-owl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbglaw@lug-owl.de

--- Comment #18 from Jan-Benedict Glaw <jbglaw@lug-owl.de> ---
This patch somehow has side effects: Since this commit, using a cross compiler
to build the Linux parisc or some sh kernels fails:

http://toolchain.lug-owl.de/laminar/jobs/linux-parisc-generic-32bit_defconfig/36

+ log_execute 'mk all' ionice --class Idle make V=1 CROSS32_COMPILE=hppa-linux-
ARCH=parisc CROSS_COMPILE=hppa-linux-
INSTALL_MOD_PATH=/var/lib/laminar/run/linux-parisc-generic-32bit_defconfig/36/linux-parisc-generic-32bit_defconfig
INSTALL_DTBS_PATH=/var/lib/laminar/run/linux-parisc-generic-32bit_defconfig/36/linux-parisc-generic-32bit_defconfig
all
[...]
[mk all 2023-11-10 19:49:33] # OBJCOPY arch/parisc/boot/compressed/vmlinux.bin
[mk all 2023-11-10 19:49:33]   hppa-linux-objcopy  -R .comment -R .note -S
vmlinux arch/parisc/boot/compressed/vmlinux.bin
[mk all 2023-11-10 19:49:33] # GZIP   
arch/parisc/boot/compressed/vmlinux.bin.gz
[mk all 2023-11-10 19:49:33]   cat arch/parisc/boot/compressed/vmlinux.bin |
gzip -n -f -9 > arch/parisc/boot/compressed/vmlinux.bin.gz
[mk all 2023-11-10 19:49:34] # LD      arch/parisc/boot/compressed/piggy.o
[mk all 2023-11-10 19:49:34]   hppa-linux-ld -z noexecstack
--no-warn-rwx-segments  -r --format binary --oformat elf32-hppa-linux -T
arch/parisc/boot/compressed/vmlinux.scr
arch/parisc/boot/compressed/vmlinux.bin.gz -o
arch/parisc/boot/compressed/piggy.o
[mk all 2023-11-10 19:49:34] hppa-linux-ld: Error: unable to disambiguate:
--format (did you mean ---format ?)
[mk all 2023-11-10 19:49:34] make[3]: ***
[arch/parisc/boot/compressed/Makefile:75: arch/parisc/boot/compressed/piggy.o]
Error 1
[mk all 2023-11-10 19:49:34] make[2]: *** [arch/parisc/boot/Makefile:17:
arch/parisc/boot/compressed/vmlinux] Error 2
[mk all 2023-11-10 19:49:34] make[1]: *** [arch/parisc/Makefile:161: bzImage]
Error 2
[mk all 2023-11-10 19:49:34] make: *** [Makefile:234: __sub-make] Error 2



http://toolchain.lug-owl.de/laminar/jobs/linux-sh-microdev_defconfig/37

+ log_execute 'mk all' ionice --class Idle make V=1 ARCH=sh
CROSS_COMPILE=sh-linux-
INSTALL_MOD_PATH=/var/lib/laminar/run/linux-sh-microdev_defconfig/37/linux-sh-microdev_defconfig
INSTALL_DTBS_PATH=/var/lib/laminar/run/linux-sh-microdev_defconfig/37/linux-sh-microdev_defconfig
all
[...]
[mk all 2023-11-11 04:19:44] # OBJCOPY arch/sh/boot/compressed/vmlinux.bin
[mk all 2023-11-11 04:19:44]   sh-linux-objcopy -O binary -R .note -R
.note.gnu.build-id -R .comment -R .stab -R .stabstr -S -R .empty_zero_page 
vmlinux arch/sh/boot/compressed/vmlinux.bin
[mk all 2023-11-11 04:19:44] # GZIP    arch/sh/boot/compressed/vmlinux.bin.gz
[mk all 2023-11-11 04:19:44]   cat arch/sh/boot/compressed/vmlinux.bin | gzip
-n -f -9 > arch/sh/boot/compressed/vmlinux.bin.gz
[mk all 2023-11-11 04:19:45] # LD      arch/sh/boot/compressed/piggy.o
[mk all 2023-11-11 04:19:45]   sh-linux-ld -EL -z noexecstack
--no-warn-rwx-segments  -r --format binary --oformat elf32-sh-linux -T
arch/sh/boot/compressed/vmlinux.scr arch/sh/boot/compressed/vmlinux.bin.gz -o
arch/sh/boot/compressed/piggy.o
[mk all 2023-11-11 04:19:45] sh-linux-ld: Error: unable to disambiguate:
--format (did you mean ---format ?)
[mk all 2023-11-11 04:19:45] make[3]: *** [arch/sh/boot/compressed/Makefile:59:
arch/sh/boot/compressed/piggy.o] Error 1
[mk all 2023-11-11 04:19:45] make[2]: *** [arch/sh/boot/Makefile:40:
arch/sh/boot/compressed/vmlinux] Error 2
[mk all 2023-11-11 04:19:45] make[1]: *** [arch/sh/Makefile:170: zImage] Error
2
[mk all 2023-11-11 04:19:45] make: *** [Makefile:234: __sub-make] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]