[Bug gas/5946] New: [gas patch] hppa: remove the no longer used is_same_frag()
The only remaining user of is_same_frag() was the function recursively calling itself. Different from earlier gcc versions, gcc 4.3 detects and warns about this fact, which leads due to -Werror to the following build error: <-- snip --> ... gcc -DHAVE_CONFIG_H -I. -I/TMP/binutils-2.18.50.0.5/gas -I. -I. -I/TMP/binutils-2.18.50.0.5/gas -I../bfd -I/TMP/binutils-2.18.50.0.5/gas/config -I/TMP/binutils-2.18.50.0.5/gas/../include -I/TMP/binutils-2.18.50.0.5/gas/.. -I/TMP/binutils-2.18.50.0.5/gas/../bfd -DLOCALEDIR="\"/usr/local/DIR/binutils-hppa-2.18.50.0.5/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -march=k8 -c /TMP/binutils-2.18.50.0.5/gas/config/tc-hppa.c cc1: warnings being treated as errors /TMP/binutils-2.18.50.0.5/gas/config/tc-hppa.c:5905: error: âis_same_fragâ defined but not used make[4]: *** [tc-hppa.o] Error 1 <-- snip --> -- Summary: [gas patch] hppa: remove the no longer used is_same_frag() Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC target triplet: hppa-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=5946 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/5946] [gas patch] hppa: remove the no longer used is_same_frag()
--- Additional Comments From bunk at stusta dot de 2008-03-16 20:43 --- Created an attachment (id=2328) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2328&action=view) patch removing is_same_frag() -- http://sourceware.org/bugzilla/show_bug.cgi?id=5946 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6038] New: [gas patch] xtensa: fix compile failure with gcc 4.3
gcc 4.3 can't prove that decode_reloc() always succeeds here, and therefore emits the following warnings that are due to -Werror treated as errors: <-- snip --> ... gcc -DHAVE_CONFIG_H -I. -I/TMP/binutils-2.18.50.0.6/gas -I. -I. -I/TMP/binutils-2.18.50.0.6/gas -I../bfd -I/TMP/binutils-2.18.50.0.6/gas/config -I/TMP/binutils-2.18.50.0.6/gas/../include -I/TMP/binutils-2.18.50.0.6/gas/.. -I/TMP/binutils-2.18.50.0.6/gas/../bfd -DLOCALEDIR="\"/usr/local/DIR/binutils-xtensa-2.18.50.0.6/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -march=k8 -c /TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c cc1: warnings being treated as errors /TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c: In function âxg_apply_fix_valueâ: /TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c:4973: error: âalt_relocâ may be used uninitialized in this function /TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c:4967: error: âslotâ may be used uninitialized in this function make[4]: *** [tc-xtensa.o] Error 1 make[4]: Leaving directory `/tmp/build-binutils-2.18.50.0.6-xtensa/gas' <-- snip --> -- Summary: [gas patch] xtensa: fix compile failure with gcc 4.3 Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC target triplet: xtensa-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6038 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6038] [gas patch] xtensa: fix compile failure with gcc 4.3
--- Additional Comments From bunk at stusta dot de 2008-04-04 21:19 --- Created an attachment (id=2354) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2354&action=view) gas/config/tc-xtensa.c:xg_apply_fix_value(): terminate with as_fatal() if decode_reloc() returns an error -- http://sourceware.org/bugzilla/show_bug.cgi?id=6038 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6043] New: sh64: Assertion failure in shmedia_md_pcrel_from_section
$ sh64-linux-as libgcc2.s libgcc2.s: Assembler messages: libgcc2.s:410: Internal error! Assertion failure in shmedia_md_pcrel_from_section at /TMP/binutils-2.18.50.0.6/gas/config/tc-sh64.c line 3067. Please report this bug. $ sh64-linux-as --version GNU assembler (Linux/GNU Binutils) 2.18.50.0.6.20080403 Copyright 2007 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `sh64-linux'. $ -- Summary: sh64: Assertion failure in shmedia_md_pcrel_from_section Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC target triplet: sh64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6043 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6043] sh64: Assertion failure in shmedia_md_pcrel_from_section
--- Additional Comments From bunk at stusta dot de 2008-04-06 18:14 --- Created an attachment (id=2359) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2359&action=view) libgcc2.s -- http://sourceware.org/bugzilla/show_bug.cgi?id=6043 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6747] New: regression: ld adds -fpic private flag
Toolchain: - gcc 4.3.1 - binutils 2.18.50.0.7 and 2.18.50.0.8 - configured for frv-linux Linux kernel 2.6.26 builds fine when using binutils 2.18.50.0.7, but fails as follows with binutils 2.18.50.0.8: <-- snip --> ... HOSTCC scripts/kallsyms CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o LD init/mounts.o CC init/noinitramfs.o LD init/built-in.o frv-linux-ld: init/mounts.o: compiled with -fpic and linked with modules that se non-pic relocations frv-linux-ld: failed to merge target specific data of file init/mounts.o make[2]: *** [init/built-in.o] Error 1 <-- snip --> - compiled the kernel with 2.18.50.0.7. - then changed binutils to 2.18.50.0.8 Works: frv-linux-ld-r -o init/built-in.o init/main.o init/version.o init/mounts.o init/noinitramfs.o Fails: frv-linux-ld-r -o init/mounts.o init/do_mounts.o frv-linux-ld-r -o init/built-in.o init/main.o init/version.o init/mounts.o init/noinitramfs.o I did an "frv-linux-objdump -Dx" on the init/mounts.o files generated with both binutils versions, and the diff is: --- working 2008-07-15 16:34:49.0 +0300 +++ broken 2008-07-15 16:34:40.0 +0300 architecture: fr450, flags 0x0011: HAS_RELOC, HAS_SYMS start address 0x -private flags = 0x800020d: -mcpu=fr450 -mgpr-32 -msoft-float non-pic relocations +private flags = 0x800030d: -mcpu=fr450 -mgpr-32 -msoft-float -fpic non-pic relocations -fpic is *not* part of the private flags in do_mounts.o -- Summary: regression: ld adds -fpic private flag Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: frv-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6747 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6747] regression: ld adds -fpic private flag
--- Additional Comments From bunk at stusta dot de 2008-07-15 14:15 --- Created an attachment (id=2829) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2829&action=view) verbose build log -- http://sourceware.org/bugzilla/show_bug.cgi?id=6747 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6747] regression: ld adds -fpic private flag
--- Additional Comments From bunk at stusta dot de 2008-07-15 14:17 --- Created an attachment (id=2830) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2830&action=view) do_mounts.o -- http://sourceware.org/bugzilla/show_bug.cgi?id=6747 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6748] New: regression: arm ld segfaults
Working: 2.18.50.0.7 Broken: 2.18.50.0.8 Several arm configurations of the Linux kernel fail to build due to an ld segfault: $ arm-linux-ld -EL -r -o init/main.o init/.tmp_main.o -T init/.tmp_main.ver Segmentation fault $ Backtrace: #0 0x0808c8b4 in elf32_arm_output_arch_local_syms () #1 0x080b3171 in bfd_elf_final_link () #2 0x0805e4a3 in ldwrite () #3 0x0805d82c in main () My first guess (that might be wrong) is that the 2008-05-22 bfd change might cause it. -- Summary: regression: arm ld segfaults Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: arm-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6748] regression: arm ld segfaults
--- Additional Comments From bunk at stusta dot de 2008-07-15 18:27 --- Created an attachment (id=2831) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2831&action=view) .tmp_main.o -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6748] regression: arm ld segfaults
--- Additional Comments From bunk at stusta dot de 2008-07-15 18:28 --- Created an attachment (id=2832) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2832&action=view) .tmp_main.ver -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6748] regression: arm ld segfaults
--- Additional Comments From bunk at stusta dot de 2008-07-15 19:43 --- Perhaps since I have a 32bit userspace (I verbatim copied Host/Build from the configure output, but although I have a 64bit kernel it's a 32bit userspace)? After compiling with "-O0 -g" it becomes clear the problem is in the following code: /* Long calls stubs. */ if (htab->stub_bfd && htab->stub_bfd->sections) { gdb says: (gdb) print htab->stub_bfd $1 = (bfd *) 0xf5 (gdb) print htab->stub_bfd->sections Cannot access memory at address 0x159 (gdb) -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/6748] regression: arm ld segfaults
--- Additional Comments From bunk at stusta dot de 2008-07-15 20:05 --- Thanks, I can confirm that your patch fixes the segfault. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6748 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6750] New: Internal error at gas/config/tc-sh.c line 3962 in md_apply_fix
Trying to build an m2a libgcc fails, and the error boils down to the following problem with binutils 2.18.50.0.8: $ sh-linux-as ffssi2.s ffssi2.s: Assembler messages: ffssi2.s:704: Internal error, aborting at /TMP/binutils-2.18.50.0.8/gas/config/tc-sh.c line 3962 in md_apply_fix Please report this bug. $ -- Summary: Internal error at gas/config/tc-sh.c line 3962 in md_apply_fix Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC target triplet: sh-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6750 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6750] Internal error at gas/config/tc-sh.c line 3962 in md_apply_fix
--- Additional Comments From bunk at stusta dot de 2008-07-16 16:23 --- Created an attachment (id=2833) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2833&action=view) ffssi2.s -- http://sourceware.org/bugzilla/show_bug.cgi?id=6750 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6750] Internal error at gas/config/tc-sh.c line 3962 in md_apply_fix
--- Additional Comments From bunk at stusta dot de 2008-08-10 20:28 --- In this case it's an error on my side - I'm building the compiler for compile-only tests and me fiddling with multilibs then broke it. -- What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=6750 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/9785] New: frv: whether code is accepted depends on whether the *host* is 32bit or 64bit
Trying to compile a Linux kernel from an x86 host works with a 32bit host userspace, but fails with the following error with a 64bit host userspace: <-- snip --> ... AS arch/frv/kernel/break.o arch/frv/kernel/break.S: Assembler messages: arch/frv/kernel/break.S:219: Error: operand out of range (4294959104 not between -32768 and 32767) `setlos #0xe000,gr3' make[2]: *** [arch/frv/kernel/break.o] Error 1 <-- snip --> I do not know whether the assembler code in question should be accepted or rejected, but the fact that depending on whether the *host* is 32bit or 64bit the code is either accepted or not is clearly a bug in binutils. -- Summary: frv: whether code is accepted depends on whether the *host* is 32bit or 64bit Product: binutils Version: 2.19 Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bunk at stusta dot de CC: bug-binutils at gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: frv-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=9785 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/9785] frv: whether code is accepted depends on whether the *host* is 32bit or 64bit
--- Additional Comments From bunk at stusta dot de 2009-01-25 20:23 --- $ cat test.S setlos #0xe000,gr3 $ /path/to/32bit-binutils/bin/frv-linux-as test.S $ /path/to/64bit-binutils/bin/frv-linux-as test.S test.S: Assembler messages: test.S:1: Error: operand out of range (4294959104 not between -32768 and 32767) `setlos #0xe000,gr3' $ cat test.S -- http://sourceware.org/bugzilla/show_bug.cgi?id=9785 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/9785] frv: whether code is accepted depends on whether the *host* is 32bit or 64bit
--- Additional Comments From bunk at stusta dot de 2009-01-25 20:51 --- As far as I know it is not a regression. I recently switched my host from 32bit to 64bit, and after rebuilding my cross toolchains I ran into this issue. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9785 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/9785] frv: whether code is accepted depends on whether the *host* is 32bit or 64bit
--- Additional Comments From bunk at stusta dot de 2009-02-01 15:41 --- (In reply to comment #6) > "Doesn't support" is quite strong. It was mostly developed on 64-bit hosts. >... Changing the Subject back to what I did set in the beginning. -- What|Removed |Added Summary|FRV doesn't work on 64bit |frv: whether code is |host|accepted depends on whether ||the *host* is 32bit or 64bit http://sourceware.org/bugzilla/show_bug.cgi?id=9785 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/32599] New: [2.44 Regression] objcopy -I ihex: invalid operation
https://sourceware.org/bugzilla/show_bug.cgi?id=32599 Bug ID: 32599 Summary: [2.44 Regression] objcopy -I ihex: invalid operation Product: binutils Version: 2.44 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: bunk at stusta dot de CC: amodra at gmail dot com Target Milestone: 2.44 https://bugs.debian.org/1093895 $ cat xen/arch/x86/efi/buildid.ihex :100064864D8DAD57140014 :04001000EC :0001FF $ objcopy -I ihex xen/arch/x86/efi/buildid.ihex objcopy: xen/arch/x86/efi/buildid.ihex: invalid operation $ It works again after reverting: commit 394a3f4f8dce6c508e289575359268ee793d59c9 (refs/bisect/bad) Author: Alan Modra Date: Thu Jan 16 14:45:01 2025 +1030 tidy binary, ihex and verilog * binary.c (binary_sizeof_headers): Delete function. Define instead. * ihex.c (ihex_sizeof_headers): Likewise. (ihex_vec): Use _bfd_nosymbols for BFD_JUMP_TABLE_SYMBOLS. Delete now unused defines. * verilog.c: Delete unused defines. -- You are receiving this mail because: You are on the CC list for the bug.