--- Additional Comments From evandro at yahoo dot com 2007-09-12 20:07
---
Ahem, on x86, GAS displays:
Warning:value 0x34567890 truncated to 0x7890
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5026
--- You are receiving this mail because: ---
You are on the CC l
--- Additional Comments From evandro dot menezes at amd dot com 2007-09-12
20:03 ---
Created an attachment (id=2001)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2001&action=view)
Suggested fix.
This fix should work for most platforms.
--
http://sourceware.org/bugzilla/sho
When defining a constant too long for the size specified, the warning message
itself may truncate the original value on some platforms.
For example, this code:
.word 0x1234567890
On x86-64, GAS correctly displays:
Warning:value 0x1234567890 truncated to 0x7890
Whereas on x86, GAS displ
$ echo "int main() { return 1; }" >t.c
$ gcc -Wl,--verbose t.c >script.lds
Edit script.lds like this
- .note.gnu.build-id : { *(.note.gnu.build-id) }
+ /DISCARD/ : { *(.note.gnu.build-id) }
(and remove everything except linker script, of course)
Now try to link with --build-id:
$ gcc -Wl,--b
--- Additional Comments From drow at sources dot redhat dot com 2007-09-12
15:06 ---
This isn't a bug with gprof. gprof is a very simple program; it reads data
files generated by your system C library, and those contain time information.
So you need to report this against the system C