[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-21 Thread amonakov at gcc dot gnu dot org


--- Comment #7 from amonakov at gcc dot gnu dot org  2010-04-21 16:45 
---


*** This bug has been marked as a duplicate of 43341 ***


-- 

amonakov at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||amonakov at gcc dot gnu dot
   ||org
 Status|WAITING |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-21 Thread amonakov at gcc dot gnu dot org


--- Comment #8 from amonakov at gcc dot gnu dot org  2010-04-21 16:48 
---
Taras, to avoid triggering the problem from firefox you can search for the file
(as I remember there is only one in xulrunner) with #pragma pack(1) and does
not reset it, and add #pragma pack() in the end of that file.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-21 Thread tglek at mozilla dot com


--- Comment #9 from tglek at mozilla dot com  2010-04-21 17:48 ---
(In reply to comment #8)
 Taras, to avoid triggering the problem from firefox you can search for the 
 file
 (as I remember there is only one in xulrunner) with #pragma pack(1) and does
 not reset it, and add #pragma pack() in the end of that file.
 

This wouldn't have even crossed my mind. Works great, thanks for debugging
this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-20 Thread hjl dot tools at gmail dot com


--- Comment #1 from hjl dot tools at gmail dot com  2010-04-21 00:04 ---
Do you have a small testcase?


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 CC||hjl dot tools at gmail dot
   ||com
 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-20 Thread tglek at mozilla dot com


--- Comment #2 from tglek at mozilla dot com  2010-04-21 00:05 ---
(In reply to comment #1)
 Do you have a small testcase?
 

I wish. A minimal testcase works, but mozilla doesn't. Any suggestions on how
to reduce this?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-20 Thread hjl dot tools at gmail dot com


--- Comment #3 from hjl dot tools at gmail dot com  2010-04-21 00:14 ---
I have Fedora 12 and Fedora 13. Is there a way to reproduce it with only
executable and leave libraries alone?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-20 Thread tglek at mozilla dot com


--- Comment #4 from tglek at mozilla dot com  2010-04-21 00:15 ---
(In reply to comment #3)
 I have Fedora 12 and Fedora 13. Is there a way to reproduce it with only
 executable and leave libraries alone?
 

I'm not sure what you mean.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-20 Thread hjl dot tools at gmail dot com


--- Comment #5 from hjl dot tools at gmail dot com  2010-04-21 00:17 ---
(In reply to comment #4)
 (In reply to comment #3)
  I have Fedora 12 and Fedora 13. Is there a way to reproduce it with only
  executable and leave libraries alone?
  
 
 I'm not sure what you mean.
 

Fedora comes with Firefox. If I recompile /usr/lib64/firefox-3.5/firefox
with --coverage, will I see the problem?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825



[Bug gcov-profile/43825] gcov is initialized wrong on x86_64

2010-04-20 Thread tglek at mozilla dot com


--- Comment #6 from tglek at mozilla dot com  2010-04-21 00:19 ---
(In reply to comment #5)
 (In reply to comment #4)
  (In reply to comment #3)
   I have Fedora 12 and Fedora 13. Is there a way to reproduce it with only
   executable and leave libraries alone?
   
  
  I'm not sure what you mean.
  
 
 Fedora comes with Firefox. If I recompile /usr/lib64/firefox-3.5/firefox
 with --coverage, will I see the problem?
 

I presume you'd recompile the whole firefox rpm. I think you should be able to
reproduce the problem there.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43825