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

Re: Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference to `non-virtual thunk to PVXMLSession::Trigger()'



On Thu, Mar 18, 2010 at 7:47 AM, Adam D. Barratt
<adam@adam-barratt.org.uk> wrote:
>>> ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual
>>> thunk to PVXMLSession::Trigger()'

What does this error mean?

> [...]
>> The PVXMLSession::Trigger() functions which give errors are found in
>> ptlib, but in both cases the same ptlib package was used, cf.
>> https://buildd.debian.org/fetch.cgi?pkg=opal;ver=3.6.6~dfsg-3;arch=hppa;stamp=1255622898
>> and
>> https://buildd.debian.org/fetch.cgi?pkg=opal;ver=3.6.6~dfsg-4;arch=hppa;stamp=1268343033
>>
>> Unpacking libpt2.6.5 (from .../libpt2.6.5_2.6.5-1_hppa.deb) ...
>> and
>> Unpacking libpt2.6.5 (from .../libpt2.6.5_2.6.5-1_hppa.deb) ...

You could try running with LD_DEBUG=1 which will generate a trace of
all the dynamic loader actions for the working and non-working cases,
and compare how the symbols are being resolved?

This is useful for example if your dynamic libraries are being built
incorrectly by libtool, which has been the cause of other failures
I've seen in the past.

>> So I would rather expect a failure due to the compiler (4.3->4.4), which
>> is different:
>> Toolchain package versions: libc6-dev_2.9-26 linux-libc-dev_2.6.30-8
>> g++-4.3_4.3.4-5 gcc-4.3_4.3.4-5 binutils_2.19.91.20090927-1
>> libstdc++6_4.4.1-6 libstdc++6-4.3-dev_4.3.4-5
>> and
>> Toolchain package versions: libc6-dev_2.10.2-6 dpkg-dev_1.15.5.6
>> linux-libc-dev_2.6.32-9 g++-4.4_4.4.3-3 gcc-4.4_4.4.3-3
>> binutils_2.20.1-2 libstdc++6_4.4.3-3 libstdc++6-4.4-dev_4.4.3-3

Yes, 4.3 is different from 4.4, I have CC'd John David Anglin our GCC
expert to see if he is aware of any known issues.

>> Are you aware of such a problem on hppa architecture (the other
>> architectures build well, and there is no #define ...HPPA... in .cpp
>> files)?  Maybe this is linked to
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558999 ?

No, I would expect the linker to detect this problem (as it does in
the case of the bug example).

> I'm not aware of any issues myself. I've CCed the HPPA porter list to see
> if they have any ideas.

I'm not aware of any issues associated with the compiler.

Cheers,
Carlos.


Reply to: