[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12246] New: BFD linker plugin generates incorrect alignments for
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/12246] New: BFD linker plugin generates incorrect alignments for common symbols |
Date: |
Sat, 20 Nov 2010 15:07:59 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12246
Summary: BFD linker plugin generates incorrect alignments for
common symbols
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
On Linux/ia32, when I compile SPEC CPU 2006 is with
-O3 -mfpmath=sse -msse2 -funroll-loops -ffast-math -fwhole-program
-flto=jobserver -fuse-linker-plugin
using GCC configured with --with-plugin-ld=ld, using binutils as of
2010-10-20 CVS, I got
403.gcc
/usr/local/bin/ld: Warning: alignment 4 of symbol `dconst2' in
/tmp/ccAavrnI.ltrans9.ltrans.o is smaller than 16 in emit-rtl.o.ironly
/usr/local/bin/ld: Warning: alignment 4 of symbol `dconstm1' in
/tmp/ccAavrnI.ltrans9.ltrans.o is smaller than 16 in emit-rtl.o.ironly
/usr/local/bin/ld: Warning: alignment 8 of symbol `dconst1' in
/tmp/ccAavrnI.ltrans16.ltrans.o is smaller than 16 in emit-rtl.o.ironly
/usr/local/bin/ld: Warning: alignment 4 of symbol `dconst0' in
/tmp/ccAavrnI.ltrans29.ltrans.o is smaller than 16 in emit-rtl.o.ironly
/usr/local/bin/ld: Warning: alignment 4 of symbol `sizetype_tab' in
/tmp/ccAavrnI.ltrans30.ltrans.o is smaller than 16 in stor-layout.o.ironly
readelf -s emit-rtl.o | grep dconst
498: 00000004 24 OBJECT GLOBAL DEFAULT COM dconst0
499: 00000004 24 OBJECT GLOBAL DEFAULT COM dconst1
500: 00000004 24 OBJECT GLOBAL DEFAULT COM dconst2
501: 00000004 24 OBJECT GLOBAL DEFAULT COM dconstm1
The normal symbols have 4 byte alignments, but their IR-only
counter ones seem to have 16byte alignment.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/12246] New: BFD linker plugin generates incorrect alignments for common symbols,
hjl.tools at gmail dot com <=
- [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols, hjl.tools at gmail dot com, 2010/11/20
- [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols, hjl.tools at gmail dot com, 2010/11/20
- [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols, hjl.tools at gmail dot com, 2010/11/20
- [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols, hjl.tools at gmail dot com, 2010/11/20
- [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols, hjl.tools at gmail dot com, 2010/11/20
- [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols, davek at gcc dot gnu.org, 2010/11/20