[Bug gprofng/30006] Failure to build binutils-2.40 on i686

2023-01-19 Thread vladimir.mezentsev at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30006

Vladimir Mezentsev  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2023-01-20

--- Comment #6 from Vladimir Mezentsev  
---
I cannot reproduce the problem on my Ubuntu VM:
% uname -a
Linux vmezents-20230117-1534 5.15.0-1021-oracle #27-Ubuntu SMP Fri Oct 14
20:04:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

% /usr/bin/i686-linux-gnu-gcc-12 --version
i686-linux-gnu-gcc-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I don't know yet how to install Glibc 2.23 on my VM.
Perhaps this is the reason for the build failure.

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


[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2023-01-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

--- Comment #33 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1bb82b89ae9d884016e55f2ade99c74fcc92a581

commit 1bb82b89ae9d884016e55f2ade99c74fcc92a581
Author: Rainer Orth 
Date:   Thu Jan 19 13:48:58 2023 -0800

i386: Don't emit unsupported TLS relocs on Solaris

Emit R_386_TLS_LE and R_386_TLS_IE, instead of R_386_TLS_LE_32 and
R_386_TLS_IE_32, on Solaris.

PR ld/13671
* elf32-i386.c (elf_i386_tls_transition): Only emit R_386_TLS_LE,
R_386_TLS_IE on Solaris.
(elf_i386_relocate_section): Only use R_386_TLS_GD->R_386_TLS_LE
transition on Solaris.

Co-Authored-By: H.J. Lu 

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


[Bug libctf/30013] [2.40 regression] Assertion failed: one_type != two_type, file libctf/ctf-dedup.c, line 2342, function sort_output_mapping

2023-01-19 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30013

Nick Alcock  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at sourceware dot org   |nick.alcock at oracle 
dot com

--- Comment #1 from Nick Alcock  ---
Looks like it. This is strange because the no-qsort case is *meant* to get
routinely tested... as is Solaris 11.3. But I don't often do full GCC
bootstraps on it, so I guess we can see how this got past.

I bet the underlying problem is that I missed the case where
sort_output_mapping is called with the same arg twice (in which case it should
obviously return 0). Some qsort implementations will do that, some won't, and I
don't see anything preventing ctf-qsort.c from doing that :/

Taken, will fix and backport to 2.40.

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


[Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO

2023-01-19 Thread medhefgo at web dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29998

--- Comment #12 from Jan Janssen  ---
Now it crashes here (sec->output_section is NULL):

#0  _bfd_coff_generic_relocate_section (output_bfd=0x5581c000,
info=0x557d8ec0 , input_bfd=0x55864020,
input_section=0x55878008, contents=0x55877f40 "U\270 \020",
relocs=0x55827f50, syms=0x55827aa0, sections=0x55827df0) at
/usr/src/debug/mingw-w64-binutils/binutils-2.40/bfd/cofflink.c:2985
sym = 0x55827d48
addend = 18446744073709551612
val = 0
sec = 0x558853c8
howto = 0x557c7580 
symndx = 17
h = 0x5586b430
rstat = 0
rel = 0x55827f50
relend = 0x55827f70
__PRETTY_FUNCTION__ = "_bfd_coff_generic_relocate_section"
#1  0x5560c43e in coff_pe_amd64_relocate_section
(output_bfd=0x5581c000, info=0x557d8ec0 ,
input_bfd=0x55864020, input_section=0x55878008, contents=0x55877f40
"U\270 \020", relocs=0x55827f50, syms=0x55827aa0,
sections=0x55827df0) at
/usr/src/debug/mingw-w64-binutils/binutils-2.40/bfd/coff-x86_64.c:650
rel = 0x55827f70
relend = 0x55827f70
#2  0x55624296 in _bfd_coff_link_input_bfd (flaginfo=0x7fffdca0,
input_bfd=0x55864020) at
/usr/src/debug/mingw-w64-binutils/binutils-2.40/bfd/cofflink.c:2378
target_index = 1
internal_relocs = 0x55827f50
irel = 0x55827f70
contents = 0x55877f40 "U\270 \020"
secdata = 0x558766d0
n_tmask = 48
n_btshft = 4
adjust_symndx = 0x0
output_bfd = 0x5581c000
strings = 0x0
syment_base = 0
copy = false
hash = true
isymesz = 18
osymesz = 18
linesz = 6
esym = 0x55877134 ""
esym_end = 0x55877134 ""
isymp = 0x55827d70
secpp = 0x55827e80
indexp = 0x55827f30
output_index = 13
outsym = 0x558a503a ""
sym_hash = 0x558824e0
o = 0x55878008
__PRETTY_FUNCTION__ = "_bfd_coff_link_input_bfd"
#3  0x5562011f in _bfd_coff_final_link (abfd=0x5581c000,
info=0x557d8ec0 ) at
/usr/src/debug/mingw-w64-binutils/binutils-2.40/bfd/cofflink.c:866
symesz = 18
flaginfo = {info = 0x557d8ec0 , output_bfd =
0x5581c000, failed = 48, global_to_static = false, strtab = 0x55863d90,
section_info = 0x0, last_file_index = 0, last_file = {_n = {_n_name =
".file\000\000", _n_n = {_n_zeroes = 435610543662, _n_offset =
140737352970352}, _n_nptr = {0x656c69662e , 0x77ee3070  "`0\356\367\377\177"}},
n_value = 13, n_scnum = -2, n_flags = 21845, n_type = 0, n_sclass = 103 'g',
n_numaux = 1 '\001'}, last_bf_index = -1, last_bf = {x_sym = {x_tagndx = {l =
93824995155640, p = 0x5581deb8}, x_misc = {x_lnsz = {x_lnno = 6216, x_size
= 21897}, x_fsize = 93824995629128}, x_fcnary = {x_fcn = {x_lnnoptr =
93824995629080, x_endndx = {l = -251233387510272, p = 0x1b812b2e8600}},
x_ary = {x_dimen = {6168, 21897, 21845, 0}}}, x_tvndx = 0}, x_file = {x_n =
{x_fname = "\270ށUUU\000\000H\030\211UUU\000\000\030\030\211U", x_n = {x_zeroes
= 93824995155640, x_offset = 93824995629128}}, x_ftype = 0 '\000'}, x_scn =
{x_scnlen = 93824995155640, x_nreloc = 6216, x_nlinno = 21897, x_checksum =
93824995629080, x_associated = 34304, x_comdat = 46 '.'}, x_tv = {x_tvfill =
93824995155640, x_tvlen = 6216, x_tvran = {21897, 21845}}, x_csect = {x_scnlen
= {l = 93824995155640, p = 0x5581deb8}, x_parmhash = 93824995629128,
x_snhash = 6168, x_smtyp = 137 '\211', x_smclas = 85 'U', x_stab =
-251233387510272, x_snstab = 0}, x_sect = {x_scnlen = 93824995155640, x_nreloc
= 93824995629128}}, debug_merge = {root = {table = 0x5589c0a0, newfunc =
0x5561e4b4 <_bfd_coff_debug_merge_hash_newfunc>, memory = 0x55885370,
size = 4051, count = 0, entsize = 32, frozen = 0}}, internal_syms =
0x55827aa0, sec_ptrs = 0x55827df0, sym_indices = 0x55827ea0,
outsyms = 0x558a4f50 ".file", linenos = 0x55877f80
"P,\356\367\377\177", contents = 0x55877f40 "U\270 \020", external_relocs =
0x55837000 "\a", internal_relocs = 0x55827f50}
debug_merge_allocated = true
long_section_names = false
o = 0x5581d1e0
p = 0x558914e8
max_sym_count = 21
max_lineno_count = 0
max_reloc_count = 6
max_output_reloc_count = 0
max_contents_size = 48
rel_filepos = 3584
relsz = 10
line_filepos = 3584
linesz = 6
sub = 0x55864020
external_relocs = 0x0
strbuf = "\377\177\000"
amt = 192
#4  0x555aeddc in ldwrite () at
/usr/src/debug/mingw-w64-binutils/binutils-2.40/ld/ldwrite.c:545
No locals.
#5  0x555ab6ca in main (argc=17, argv=0x7fffdf68) at
/usr/src/debug/mingw-w64-binutils/binutils-2.40/ld/ldmain.c:524
emulation = 

[Bug binutils/30022] concurrent builds can fail

2023-01-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30022

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
   Target Milestone|--- |2.41
 Resolution|--- |FIXED

--- Comment #3 from Alan Modra  ---
Fixed

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


[Bug binutils/11622] libiberty .o vs. obj => @OBJEXT@

2023-01-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=11622

Alan Modra  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #2 from Alan Modra  ---
Fixed a long time ago

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


[Bug binutils/11633] bintuils testsuit fails if built with CFLAGS="-fstack-protector-all"

2023-01-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=11633

Alan Modra  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|NEW |RESOLVED

--- Comment #3 from Alan Modra  ---
Yes, there are many CFLAGS that perturb the testsuite

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


[Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO

2023-01-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29998

--- Comment #11 from Nick Clifton  ---
Created attachment 14608
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14608=edit
Proposed patch

Hi Jan,

  OK, well in that case, please could you try out this small patch ?

  I have a feeling however that whilst it might fix the seg-fault that
  you have encountered, there will be another one later on in the link.
  Or not - I could be wrong. 

Cheers
  Nick

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


[Bug gas/11597] bra.s to next instruction does not produce an error

2023-01-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=11597

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |OBSOLETE

--- Comment #2 from Alan Modra  ---
m68k-aout targets have be obsolete for a while

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


[Bug gas/29991] gas: MicroMIPS flag mistakenly erased after align directives

2023-01-19 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29991

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Target Milestone|--- |2.41
 Resolution|--- |FIXED

--- Comment #8 from Alan Modra  ---
Fixed for 2.41

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


[Bug binutils/30022] concurrent builds can fail

2023-01-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30022

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8344ebca2505103c18aa2a1bfb8d200624caf4e6

commit 8344ebca2505103c18aa2a1bfb8d200624caf4e6
Author: Alan Modra 
Date:   Thu Jan 19 09:34:56 2023 +1030

PR 30022, concurrent builds can fail

So let's not copy .libs/libbfd.a to libbfd.a now that nothing in the
binutils-gdb source tries to link against it.

PR 30022
* Makefile.am (noinst_LIBRARIES, libbfd_a_SOURCES, stamp-lib),
(libbfd.a): Delete rules.
(CLEANFILES): Adjust to suit.

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