This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/53742] New: bad assembler output when compiling with LTO and PGO
- From: "ioctl at yandex dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Jun 2012 09:02:32 +0000
- Subject: [Bug other/53742] New: bad assembler output when compiling with LTO and PGO
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53742
Bug #: 53742
Summary: bad assembler output when compiling with LTO and PGO
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ioctl@yandex.ru
LANG=C c++ -c -v -fPIC -fno-rtti -march=prescott -mtune=prescott -mfpmath=sse
-msse2 -msse3 -fstack-protector --param=ssp-buffer-size=4 -flto
-fuse-linker-plugin -O3 -freorder-blocks-and-partition -pthread -g
-fprofile-use -fprofile-correction -fomit-frame-pointer String.cpp
...
String.s: Assembler messages:
String.s:5667: Error: invalid operands (.text.hot and .text sections) for `-'
String.s:5669: Error: invalid operands (.text.hot and .text sections) for `-'
String.cpp is from the firefox 12.
Problem appears only when using profile information.
Full output with -v and -save-temps is too long, so, I will attach it.