[Bug gprofng/29987] bfd/archive.c:1447: undefined reference to `filename_ncmp'

2023-01-17 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=29987

Jan-Benedict Glaw  changed:

   What|Removed |Added

 CC||jbg...@lug-owl.de

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


[Bug gprofng/29987] bfd/archive.c:1447: undefined reference to `filename_ncmp'

2023-01-17 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=29987

--- Comment #5 from Jan-Benedict Glaw  ---
I do regular builds (own build strategy and a hacked build-many-glibcs.py to
allow for HEAD versions) and the later started to fail since this commit:

/bin/bash ../libtool  --tag=CXX   --mode=link g++ -Wall -pthread -Wno-switch -g
-O2   -o gp-archive gp-archive.o ArchiveExp.o libgprofng.la  -L../../zlib
-lz 
libtool: link: g++ -Wall -pthread -Wno-switch -g -O2 -o gp-archive gp-archive.o
ArchiveExp.o  ./.libs/libgprofng.a
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/opcodes/.libs/libopcodes.a
-lpthread -ldl
-L/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/zlib
-lz -pthread
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/opcodes/.libs/libopcodes.a(i386-dis.o):
warning: relocation against `_sch_istable' in read-only section `.text'
/usr/bin/ld: ./.libs/libgprofng.a(Elf.o): in function `Elf::elf_init()':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Elf.cc:142:
undefined reference to `bfd_init'
/usr/bin/ld: ./.libs/libgprofng.a(Elf.o): in function `Elf::~Elf()':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Elf.cc:274:
undefined reference to `bfd_close'
/usr/bin/ld: ./.libs/libgprofng.a(Elf.o): in function `Elf::Elf(char*)':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Elf.cc:159:
undefined reference to `bfd_openr'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Elf.cc:165:
undefined reference to `bfd_check_format'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Elf.cc:175:
undefined reference to `bfd_close'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Elf.cc:167:
undefined reference to `bfd_close'
/usr/bin/ld: ./.libs/libgprofng.a(Function.o): in function
`Function::set_name(char*)':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/Function.cc:218:
undefined reference to `cplus_demangle'
/usr/bin/ld: ./.libs/libgprofng.a(CompCom.o): in function
`CompComment::get_demangle_name(char*)':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/CompCom.cc:109:
undefined reference to `cplus_demangle'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/CompCom.cc:109:
undefined reference to `cplus_demangle'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/CompCom.cc:109:
undefined reference to `cplus_demangle'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/CompCom.cc:109:
undefined reference to `cplus_demangle'
/usr/bin/ld: ./.libs/libgprofng.a(dbe_collctrl.o): in function
`Coll_Ctrl::find_sig(char const*)':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/gprofng/src/collctrl.cc:2345:
undefined reference to `strtosigno'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/opcodes/.libs/libopcodes.a(i386-dis.o):
in function `i386_dis_printf':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/i386-dis.c:9615:
undefined reference to `_sch_istable'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/opcodes/.libs/libopcodes.a(i386-dis.o):
in function `putop':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/i386-dis.c:10645:
undefined reference to `_sch_istable'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/i386-dis.c:10778:
undefined reference to `_sch_istable'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/opcodes/.libs/libopcodes.a(disassemble.o):
in function `remove_whitespace_and_extra_commas':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/disassemble.c:821:
undefined reference to `_sch_istable'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/disassemble.c:829:
undefined reference to `_sch_istable'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/opcodes/.libs/libopcodes.a(disassemble.o):
in function `opcodes_assert':
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/disassemble.c:876:
undefined reference to `_bfd_error_handler'
/usr/bin/ld:
/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/src/binutils/opcodes/disassemble.c:877:
undefined reference to `_bfd_error_handler'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:724: gp-archive] Error 1
make[6]: Leaving directory
'/var/lib/laminar/run/glibcbot-x86_64-linux-gnu/5/build/compilers/x86_64-linux-gnu/binutils/gprofng/sr

[Bug gprofng/29987] bfd/archive.c:1447: undefined reference to `filename_ncmp'

2023-01-17 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=29987

--- Comment #6 from Jan-Benedict Glaw  ---
Just ftr: The build-many-glibcs.py script does the equivalent of:

/var/cache/git/binutils-gdb/configure   '--prefix=/tmp/b/i'
\
'--build=x86_64-pc-linux-gnu'  
\
'--host=x86_64-pc-linux-gnu'   
\
'--target=x86_64-glibc-linux-gnu'  
\
'--with-sysroot=/tmp/b/i/sysroot'  
\
--disable-gdb  
\
--disable-gdbserver
\
--disable-libdecnumber 
\
--disable-readline 
\
--disable-sim

make

(Pathes shortened here, but that's a working example.)

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


[Bug gprofng/29987] bfd/archive.c:1447: undefined reference to `filename_ncmp'

2023-01-18 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=29987

--- Comment #7 from Jan-Benedict Glaw  ---
Build is currently restored by reverting the initial patch.

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


[Bug gas/30197] New: gas: Error: bad value (sr71k) for default CPU

2023-03-05 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=30197

Bug ID: 30197
   Summary: gas: Error: bad value (sr71k) for default CPU
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: jbg...@lug-owl.de
  Target Milestone: ---

Hi!

While mass-building toolchains, I came across --target=mipsisa64sr71k-elf.
Binutils/gas built and are in $PATH for a GCC build, which fails (full log at
http://toolchain.lug-owl.de/laminar/jobs/gcc-mipsisa64sr71k-elf/36) while
building Modula-2 stuff:

[all 2023-03-05 08:13:26] echo "GM2_FOR_TARGET
/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/gm2
-B/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/ "
[all 2023-03-05 08:13:26] GM2_FOR_TARGET
/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/gm2
-B/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/ 
[all 2023-03-05 08:13:26] echo "GCC_FOR_TARGET
/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/xgcc
-B/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/ "
[all 2023-03-05 08:13:26] GCC_FOR_TARGET
/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/xgcc
-B/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/ 
[all 2023-03-05 08:13:26] /bin/bash ../../gcc/gcc/m2/tools-src/makeSystem -fpim
\
[all 2023-03-05 08:13:26]  ../../gcc/gcc/m2/gm2-libs/SYSTEM.def \
[all 2023-03-05 08:13:26]  ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod \
[all 2023-03-05 08:13:26]  -I../../gcc/gcc/m2/gm2-libs \
[all 2023-03-05 08:13:26] 
"/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/gm2
-B/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/./gcc/ "
/var/lib/laminar/run/gcc-mipsisa64sr71k-elf/36/toolchain-build/gcc/m2/gm2-libs/SYSTEM.def
[all 2023-03-05 08:13:27] Assembler messages:
[all 2023-03-05 08:13:27] Error: bad value (sr71k) for default CPU
[all 2023-03-05 08:13:27] Internal error in mips_after_parse_args at
config/tc-mips.c:15291.
[all 2023-03-05 08:13:27] Please report this bug.

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


[Bug gas/30197] gas: Error: bad value (sr71k) for default CPU

2023-03-05 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=30197

Jan-Benedict Glaw  changed:

   What|Removed |Added

 Target||mipsisa64sr71k-elf
Version|unspecified |2.41 (HEAD)

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


[Bug ld/30568] --dependency-file includes temporary LTO files

2023-07-05 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=30568

Jan-Benedict Glaw  changed:

   What|Removed |Added

 CC||jbg...@lug-owl.de

--- Comment #5 from Jan-Benedict Glaw  ---
While this patch works for most targets, it breaks for --target=alpha-dec-vms
and --target=alpha64-dec-vms (the latter is a bit of an odd one, but listed in
config-list.mk nonetheless). See eg.
http://toolchain.lug-owl.de/laminar/jobs/binutils-alpha-dec-vms/39 :

[all 2023-07-05 16:20:23]
/var/lib/laminar/run/binutils-alpha-dec-vms/39/local-toolchain-install/bin/gcc
-DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include -I./../zlib  -g
-O2   -DLOCALEDIR="\"/tmp/binutils-alpha-dec-vms/share/locale\""  -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-DELF_LIST_OPTIONS=false -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false   -g -O2   -MT ldfile.o -MD -MP -MF
.deps/ldfile.Tpo -c -o ldfile.o \
[all 2023-07-05 16:20:23]
-DSCRIPTDIR='"/tmp/binutils-alpha-dec-vms/alpha-dec-vms/lib"'
-DBINDIR='"/tmp/binutils-alpha-dec-vms/bin"'
-DTOOLBINDIR='"/tmp/binutils-alpha-dec-vms/alpha-dec-vms/bin"' \
[all 2023-07-05 16:20:23]  ./ldfile.c
[all 2023-07-05 16:20:24] ./ldfile.c: In function 'ldfile_try_open_bfd':
[all 2023-07-05 16:20:24] ./ldfile.c:356:20: error: 'struct
lang_input_statement_flags' has no member named 'lto_output'
[all 2023-07-05 16:20:24]   356 |   if (!entry->flags.lto_output)
[all 2023-07-05 16:20:24]   |^
[all 2023-07-05 16:20:24] make[3]: *** [Makefile:2311: ldfile.o] Error 1
[all 2023-07-05 16:20:24] make[3]: Leaving directory
'/var/lib/laminar/run/binutils-alpha-dec-vms/39/binutils-gdb/ld'
[all 2023-07-05 16:20:24] make[2]: *** [Makefile:1881: all-recursive] Error 1
[all 2023-07-05 16:20:24] make[2]: Leaving directory
'/var/lib/laminar/run/binutils-alpha-dec-vms/39/binutils-gdb/ld'
[all 2023-07-05 16:20:24] make[1]: *** [Makefile:1077: all] Error 2
[all 2023-07-05 16:20:24] make[1]: Leaving directory
'/var/lib/laminar/run/binutils-alpha-dec-vms/39/binutils-gdb/ld'
[all 2023-07-05 16:20:24] make: *** [Makefile:8162: all-ld] Error 2



So this needs a `#if BFD_SUPPORTS_PLUGINS` (cf. ldlang.h)

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


[Bug ld/30568] --dependency-file includes temporary LTO files

2023-07-05 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=30568

--- Comment #6 from Jan-Benedict Glaw  ---
Slowly showing up on other builds as well: i686-pc-msdosdjgpp
(http://toolchain.lug-owl.de/laminar/jobs/binutils-i686-pc-msdosdjgpp/38)

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


[Bug ld/30568] --dependency-file includes temporary LTO files

2023-07-06 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=30568

--- Comment #8 from Jan-Benedict Glaw  ---
That fixes the intermediate build issue, thanks.

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


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

2023-11-11 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=28910

Jan-Benedict Glaw  changed:

   What|Removed |Added

 CC||jbg...@lug-owl.de

--- Comment #18 from Jan-Benedict Glaw  ---
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] # GZIParch/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.


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

2023-11-13 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=28910

--- Comment #21 from Jan-Benedict Glaw  ---
Got two "green":

http://toolchain.lug-owl.de/laminar/jobs/linux-parisc-generic-32bit_defconfig/57
http://toolchain.lug-owl.de/laminar/jobs/linux-sh-microdev_defconfig/38

I have not yet tested whether or not other builds are affected negatively, will
queue a complete set of Builds followed by a round of Linux kernel builds. But
the first impression is positive.

Thanks a lot!

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


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

2023-11-14 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=28910

--- Comment #26 from Jan-Benedict Glaw  ---
All mass compilations of Binutils worked as expected. Linux kernel builds are
running, but no other regressions (and parisc and sh are fixed.)

Thanks!

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


[Bug gas/31617] New: VAX: Check immediates to match expected operand type

2024-04-07 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=31617

Bug ID: 31617
   Summary: VAX: Check immediates to match expected operand type
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: jbg...@lug-owl.de
  Target Milestone: ---

In NetBSD's src/sys/arch/vax/vax/unimpl_emul.S, we had three bogus assembler
statements:

movq $0f0.0, TMPFRAC2
movd $0f0.0, TMPFRAC1
movd $0f0, (%r0)

NOVQ is ment to work on a 64bit (integer) value, MOVD is ment to work on a
D_Float type (64bit wide.) The supplied immediate value is of type F_Float and
thus only 32bit wide.

Compiling the actual unimpl_emul.S resulted in observable differences: The
generated immediate was correctly rendered as 64bit wide, with the low 32bit
containing the correctly parsed F_Float, but the upper 32bit contained random
stale data. Thus, interpreted as D_Float, the value is no longer 0.0 .

As we know the expected types for all instructions, we'd be able to reject such
a situation where not even the size is correct.

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


[Bug gas/31617] VAX: Check immediates to match expected operand type

2024-04-07 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=31617

Jan-Benedict Glaw  changed:

   What|Removed |Added

 Target||vax-netbsdelf, vax-linux

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


[Bug gas/31617] VAX: Check immediates to match expected operand type

2024-04-07 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=31617

Jan-Benedict Glaw  changed:

   What|Removed |Added

 CC||jbg...@lug-owl.de

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


[Bug binutils/32072] New: ./dlltool.c:870:27: error: initializer-string for array of 'char' is too long

2024-08-11 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=32072

Bug ID: 32072
   Summary: ./dlltool.c:870:27: error: initializer-string for
array of 'char' is too long
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: jbg...@lug-owl.de
  Target Milestone: ---

Hi!

While doing automated builds using a _very_ recent host GCC (gcc
(basepoints/gcc-15-2866-g9d5c500c4fa, built at 1723293902) 15.0.0 20240810
(experimental)), I got issues with dlltool.c (for --target=i686-mingw32crt and
-target=i686-cygwin):

[all 2024-08-11 18:35:01]
/var/lib/laminar/run/binutils-i686-cygwin/51/local-toolchain-install/bin/gcc
-DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include
-DLOCALEDIR="\"/tmp/binutils-i686-cygwin/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -I./../zlib  -g -O2 
 -MT dlltool.o -MD -MP -MF .deps/dlltool.Tpo -c -o dlltool.o  -DDLLTOOL_I386
-DDLLTOOL_DEFAULT_I386 ./dlltool.c
[all 2024-08-11 18:35:01] ./dlltool.c: In function 'prefix_encode':
[all 2024-08-11 18:35:01] ./dlltool.c:870:27: error: initializer-string for
array of 'char' is too long [-Werror=unterminated-string-initialization]
[all 2024-08-11 18:35:01]   870 |   static char alpha[26] =
"abcdefghijklmnopqrstuvwxyz";
[all 2024-08-11 18:35:01]   |  
^~~~
[all 2024-08-11 18:35:05] cc1: all warnings being treated as errors


(See http://toolchain.lug-owl.de/laminar/jobs/binutils-i686-cygwin/51 or
http://toolchain.lug-owl.de/laminar/jobs/binutils-i686-mingw32crt/51)

Should be easy to fix but dropping the explicit array length and introduce a
strlen() based lenght instead of sizeof.

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


[Bug binutils/32072] ./dlltool.c:870:27: error: initializer-string for array of 'char' is too long

2024-08-11 Thread jbg...@lug-owl.de
https://sourceware.org/bugzilla/show_bug.cgi?id=32072

Jan-Benedict Glaw  changed:

   What|Removed |Added

Version|unspecified |2.44 (HEAD)
 Target||i686-mingw32crt,
   ||i686-cygwin
 CC||jbg...@lug-owl.de

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