[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gperf] gperf vs gcc-4.4
From: |
Bruno Haible |
Subject: |
Re: [bug-gperf] gperf vs gcc-4.4 |
Date: |
Tue, 15 Sep 2009 08:55:27 +0200 |
User-agent: |
KMail/1.9.9 |
Hi,
Priit Laes wrote:
> I recently ran into a weird linking issue when building Webkit-gtk
> ( https://bugs.webkit.org/show_bug.cgi?id=29244 ).
>
> The issue is that symbols that are defined within gperf-generated
> sources throw undefined reference errors when linking against a library
> that *should* contain the symbol.
Can you please show
- the source code passed to gperf?
- the version number of gperf being used to generate the processed file?
- the processed file?
- the source code of the source file that #includes the processed file?
- the gcc command line that compile that compilation unit?
- the output of
$ nm --dynamic .libs/libwebkit-1.0.so | grep findEntity
I'm asking because
- it could be that you are using a gperf version older than 3.0.3,
- it could be that the functions are compiled as C functions and you
refer to them from C++ without 'extern "C"' declarations.
- if it's a problem in gperf, please provide a small reproducible test case.
Bruno