public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/39609]  New: hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO
@ 2009-04-01 13:45 ramu dot konaparthi at gmail dot com
  2009-04-22 23:33 ` [Bug gcov-profile/39609] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ramu dot konaparthi at gmail dot com @ 2009-04-01 13:45 UTC (permalink / raw)
  To: gcc-bugs

Problem:
g++ fail to build execuable by linking .so files built with options -Wall
-fprofile-arcs -ftest-coverage

I am able to built shared objects with g++ using options -Wall -fprofile-arcs
-ftest-coverage. But, while building the executable binary
by linkng the shared objects, I see the error "hidden symbol `__gcov_init' in
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by
DSO".

I dont see the same problem for .c files building with gcc and same options.
Some one please help me. Please let know if you need any more info.

======output snippet Begin ==================
/usr/bin/g++ -g -fPIC -o hpvgtst hpvgtstpgm.o -L../Tools/lib -lgatorapi
-lhpvgtst -L/vob/tdodbc_nt/driver_manager/data_direct/suselinux-x8664/lib
-lodbc -lodbcinst -lnsl -lresolv -lc -lddicu21
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
hpvgtst: hidden symbol `__gcov_init' in
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by
DSO
collect2: ld returned 1 exit status
make: *** [hpvgtst] Error 1
======output snippet End ==================

gcc Version used:
===================
gcc --version
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
===================
Regards,
  -Ramu


-- 
           Summary: hidden symbol `__gcov_init' in /usr/lib64/gcc-
                    lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is
                    referenced by DSO
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ramu dot konaparthi at gmail dot com


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gcov-profile/39609] hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO
  2009-04-01 13:45 [Bug gcov-profile/39609] New: hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO ramu dot konaparthi at gmail dot com
@ 2009-04-22 23:33 ` pinskia at gcc dot gnu dot org
  2009-04-22 23:34 ` pinskia at gcc dot gnu dot org
  2009-04-23  7:53 ` ramu dot konaparthi at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-22 23:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gcov-profile/39609] hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO
  2009-04-01 13:45 [Bug gcov-profile/39609] New: hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO ramu dot konaparthi at gmail dot com
  2009-04-22 23:33 ` [Bug gcov-profile/39609] " pinskia at gcc dot gnu dot org
@ 2009-04-22 23:34 ` pinskia at gcc dot gnu dot org
  2009-04-23  7:53 ` ramu dot konaparthi at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-22 23:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-04-22 23:34 -------
How is the libraries build?  While linking do you use -fprofile-arcs
-ftest-coverage?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gcov-profile/39609] hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO
  2009-04-01 13:45 [Bug gcov-profile/39609] New: hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO ramu dot konaparthi at gmail dot com
  2009-04-22 23:33 ` [Bug gcov-profile/39609] " pinskia at gcc dot gnu dot org
  2009-04-22 23:34 ` pinskia at gcc dot gnu dot org
@ 2009-04-23  7:53 ` ramu dot konaparthi at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ramu dot konaparthi at gmail dot com @ 2009-04-23  7:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ramu dot konaparthi at gmail dot com  2009-04-23 07:53 -------
(In reply to comment #1)
> How is the libraries build?  While linking do you use -fprofile-arcs
> -ftest-coverage?
> 

Hello,

Thanks for your response.

Used options "-Wall -fprofile-arcs -ftest-coverage"  for compilation. I see the
error reported.
After your reply, I have tried using both the mentioned flags both in
compilation and linking. But, still I see the same error.

BTW, I think these are complilation flags not the linking flags Am I not right
?

Regards,
  - Ramu


-- 

ramu dot konaparthi at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-23  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 13:45 [Bug gcov-profile/39609] New: hidden symbol `__gcov_init' in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/libgcc.a(_gcov.oS) is referenced by DSO ramu dot konaparthi at gmail dot com
2009-04-22 23:33 ` [Bug gcov-profile/39609] " pinskia at gcc dot gnu dot org
2009-04-22 23:34 ` pinskia at gcc dot gnu dot org
2009-04-23  7:53 ` ramu dot konaparthi at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).