https://sourceware.org/bugzilla/show_bug.cgi?id=33511
Bug ID: 33511
Summary: elflink.c:5548:12: runtime error: shift exponent 37 is
too large for 32-bit type 'int'
Product: binutils
Version: 2.46 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
elf_link_add_object_symbols has
if (normal_bfd == NULL)
_bfd_error_handler
/* xgettext:c-format */
(_("warning: alignment %u of common symbol `%s' in %pB
is"
" greater than the alignment (%u) of its section
%pA"),
1 << common_align, name, common_bfd,
1 << normal_align, h->root.u.def.section);
else
_bfd_error_handler
/* xgettext:c-format */
(_("warning: alignment %u of normal symbol `%s' in %pB"
" is smaller than %u used by the common definition in
%pB"),
1 << normal_align, name, normal_bfd,
1 << common_align, common_bfd);
which leads to
.../elflink.c:5548:12: runtime error: shift exponent 37 is too large for 32-bit
type 'int'
on invalid input in PR 33500.
--
You are receiving this mail because:
You are on the CC list for the bug.