From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2513 invoked by alias); 28 Nov 2018 15:03:09 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 2367 invoked by uid 48); 28 Nov 2018 15:03:00 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment Date: Wed, 28 Nov 2018 15:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: binutils X-Bugzilla-Component: binutils X-Bugzilla-Version: 2.32 (HEAD) X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-q4/txt/msg00207.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23919 --- Comment #11 from Mark Wielaard --- (In reply to H.J. Lu from comment #9) > This change triggered >=20 > gcctestdir/collect-ld: warning: gdb_index_test_cdebug_gabi.o: section > .debug_str contains incorrectly aligned strings; the alignment of those > strings won't be preserved > gcctestdir/collect-ld: warning: gdb_index_test_3.o: section .debug_str > contains incorrectly aligned strings; the alignment of those strings won't > be preserved > gcctestdir/collect-ld: error: treating warnings as errors > collect2: error: ld returned 1 exit status=20 > make[3]: *** [gdb_index_test_3] Error 1=20 >=20 > in gold tests. I think this comes from do_add_input_section in gold/merge.cc. It decompresses the section, but doesn't use ch_addralign, but this->addralign(), when calculating the alignment constraint. --=20 You are receiving this mail because: You are on the CC list for the bug.