[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#355621: gcc-4.0: hidden symbol `__gcov_init' is referenced by DSO



Package: gcc-4.0
Version: 4.0.2-9
Severity: normal

hi

I wanted to profile my package 'xmorph'; I issued the commands
$ FLAGS='-g -O0 -fprofile-arcs -ftest-coverage'
$ ./configure   CFLAGS="$FLAGS"   CXXFLAGS="$FLAGS"     LDFLAGS="$FLAGS"
$ make -k    CFLAGS="$FLAGS"   CXXFLAGS="$FLAGS"     LDFLAGS="$FLAGS"
(the typescript is in attachment) 
unfortunately some of the links fails with error
  /usr/bin/ld: .libs/gtkmorph: hidden symbol `__gcov_init' in /usr/lib/gcc/i486-linux-gnu/4.0.3/libgcov.a(_gcov.o) is referenced by DSO
  /usr/bin/ld: final link failed: Nonrepresentable section on output

I am quite puzzled because the binaries
  'gtkmorph/testfourier'  'glade2/gtkmorph' do link, and 
  'gtkmorph/gtkmorph' 'xmorph/morph' 'xmorph/xmorph' do not

a.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages gcc-4.0 depends on:
ii  binutils             2.16.1cvs20060117-1 The GNU assembler, linker and bina
ii  cpp-4.0              4.0.2-9             The GNU C preprocessor
ii  gcc-4.0-base         4.0.2-9             The GNU Compiler Collection (base 
ii  libc6                2.3.5-13            GNU C Library: Shared libraries an
ii  libgcc1              1:4.0.2-9           GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                     2.3.5-13   GNU C Library: Development Librari
ii  libmudflap0-dev               4.0.2-9    GCC mudflap support libraries (dev

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)

Attachment: typescript.bz2
Description: Binary data

Attachment: signature.asc
Description: Digital signature


Reply to: