Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-04-18 Thread Eugen Dedu
Adam D. Barratt wrote:
 Hi,
 
 On Fri, 2010-03-19 at 09:51 +0100, Eugen Dedu wrote:
 (If you prefer, we can also wait about one week, when probably another
 ptlib and opal version are released upstream, and they will be packaged.)
 
 That was nearly a month ago, and there doesn't seem to be a new opal
 release in the archive.  (There is a newer ptlib in experimental, from a
 couple of weeks before your e-mail).
 
 Is there any news on getting a newer opal in unstable, or getting this
 bug otherwise resolved?

Yes, I have sent an e-mail upstream to commit a few patches, wait until
I test the libraries, and make a release.  Let's wait a bit...

I hope that this FTFBS will disappear by recompilation.

-- 
Eugen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-04-17 Thread Adam D. Barratt
On Fri, 2010-03-19 at 18:01 +0100, Eugen Dedu wrote:
 John David Anglin wrote:
  You misunderstood my comment.  It's necessary to know which files
  reference this symbol in order to determine whether this is just an
  error in the link command, or the linker itself.
 
 So you want that I add -lpt at the end of the following line:
 
 g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap
 -llber -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl
 -lspeexdsp   -L ../../lib* -o obj_linux_hppa/simpleopal
 
 but on a hppa architecture, is that right?

Did you have chance to look at that?

Regards,

Adam



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-04-17 Thread Adam D. Barratt
Hi,

On Fri, 2010-03-19 at 09:51 +0100, Eugen Dedu wrote:
 (If you prefer, we can also wait about one week, when probably another
 ptlib and opal version are released upstream, and they will be packaged.)

That was nearly a month ago, and there doesn't seem to be a new opal
release in the archive.  (There is a newer ptlib in experimental, from a
couple of weeks before your e-mail).

Is there any news on getting a newer opal in unstable, or getting this
bug otherwise resolved?

Regards,

Adam



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-19 Thread Eugen Dedu
John David Anglin wrote:
 John David Anglin wrote:
 Moreover, I have downloaded the package from
 http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
 extracted the lib.  IIUC, that function is there indeed (the first is on
 my amd64 machine, the second is hppa extracted file):

 snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
 0020d850 T _ZN12PVXMLSession7TriggerEv
 0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
 snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
 001abb74 T _ZN12PVXMLSession7TriggerEv
 001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
 snoopy:~$
 The latter symbol is the symbol of interest.  Would you run the link
 command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
 the name of the linked file which references the symbol.

 It may be the link order is bad.
 /home/dedu/softs/ekiga/ptlib/lib_linux_x86_64/obj/vxml.o: definition of
 non-virtual thunk to PVXMLSession::Trigger()
 
 We need to know which file references the symbol.  Does adding -lpt
 at the end of the g++ link command resolve the problem?

Well, I know the source file with the symbol.  It's src/ptclib/vxml.cxx,
see
http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/tags/v2_6_5/src/ptclib/vxml.cxx?revision=23495view=markup

(If you prefer, we can also wait about one week, when probably another
ptlib and opal version are released upstream, and they will be packaged.)

-- 
Eugen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-19 Thread John David Anglin
 John David Anglin wrote:
  John David Anglin wrote:
  Moreover, I have downloaded the package from
  http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
  extracted the lib.  IIUC, that function is there indeed (the first is on
  my amd64 machine, the second is hppa extracted file):
 
  snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
  0020d850 T _ZN12PVXMLSession7TriggerEv
  0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
  snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
  001abb74 T _ZN12PVXMLSession7TriggerEv
  001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
  snoopy:~$
  The latter symbol is the symbol of interest.  Would you run the link
  command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
  the name of the linked file which references the symbol.
 
  It may be the link order is bad.
  /home/dedu/softs/ekiga/ptlib/lib_linux_x86_64/obj/vxml.o: definition of
  non-virtual thunk to PVXMLSession::Trigger()
  
  We need to know which file references the symbol.  Does adding -lpt
  at the end of the g++ link command resolve the problem?
 
 Well, I know the source file with the symbol.  It's src/ptclib/vxml.cxx,
 see
 http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/tags/v2_6_5/src/ptclib/vxml.cxx?revision=23495view=markup

You misunderstood my comment.  It's necessary to know which files
reference this symbol in order to determine whether this is just an
error in the link command, or the linker itself.

 (If you prefer, we can also wait about one week, when probably another
 ptlib and opal version are released upstream, and they will be packaged.)

Dave
-- 
J. David Anglin  dave.ang...@nrc-cnrc.gc.ca
National Research Council of Canada  (613) 990-0752 (FAX: 952-6602)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-19 Thread Eugen Dedu
John David Anglin wrote:
 John David Anglin wrote:
 John David Anglin wrote:
 Moreover, I have downloaded the package from
 http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
 extracted the lib.  IIUC, that function is there indeed (the first is on
 my amd64 machine, the second is hppa extracted file):

 snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
 0020d850 T _ZN12PVXMLSession7TriggerEv
 0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
 snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
 001abb74 T _ZN12PVXMLSession7TriggerEv
 001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
 snoopy:~$
 The latter symbol is the symbol of interest.  Would you run the link
 command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
 the name of the linked file which references the symbol.

 It may be the link order is bad.
 /home/dedu/softs/ekiga/ptlib/lib_linux_x86_64/obj/vxml.o: definition of
 non-virtual thunk to PVXMLSession::Trigger()
 We need to know which file references the symbol.  Does adding -lpt
 at the end of the g++ link command resolve the problem?
 Well, I know the source file with the symbol.  It's src/ptclib/vxml.cxx,
 see
 http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/tags/v2_6_5/src/ptclib/vxml.cxx?revision=23495view=markup
 
 You misunderstood my comment.  It's necessary to know which files
 reference this symbol in order to determine whether this is just an
 error in the link command, or the linker itself.

So you want that I add -lpt at the end of the following line:

g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap
-llber -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl
-lspeexdsp   -L ../../lib* -o obj_linux_hppa/simpleopal

but on a hppa architecture, is that right?

-- 
Eugen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-19 Thread John David Anglin
 John David Anglin wrote:
  John David Anglin wrote:
  John David Anglin wrote:
  Moreover, I have downloaded the package from
  http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
  extracted the lib.  IIUC, that function is there indeed (the first is 
  on
  my amd64 machine, the second is hppa extracted file):
 
  snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
  0020d850 T _ZN12PVXMLSession7TriggerEv
  0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
  snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
  001abb74 T _ZN12PVXMLSession7TriggerEv
  001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
  snoopy:~$
  The latter symbol is the symbol of interest.  Would you run the link
  command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
  the name of the linked file which references the symbol.
 
  It may be the link order is bad.
  /home/dedu/softs/ekiga/ptlib/lib_linux_x86_64/obj/vxml.o: definition of
  non-virtual thunk to PVXMLSession::Trigger()
  We need to know which file references the symbol.  Does adding -lpt
  at the end of the g++ link command resolve the problem?
  Well, I know the source file with the symbol.  It's src/ptclib/vxml.cxx,
  see
  http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/tags/v2_6_5/src/ptclib/vxml.cxx?revision=23495view=markup
  
  You misunderstood my comment.  It's necessary to know which files
  reference this symbol in order to determine whether this is just an
  error in the link command, or the linker itself.
 
 So you want that I add -lpt at the end of the following line:
 
 g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap
 -llber -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl
 -lspeexdsp   -L ../../lib* -o obj_linux_hppa/simpleopal
 
 but on a hppa architecture, is that right?

Can't hurt.

I just noticed the `../../lib*' in the link command.  It could
be a problem.

Dave
-- 
J. David Anglin  dave.ang...@nrc-cnrc.gc.ca
National Research Council of Canada  (613) 990-0752 (FAX: 952-6602)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2010-03-18 Thread Eugen Dedu
Adam D. Barratt wrote:
 Package: src:opal
 Version: 3.6.6~dfsg-4
 Severity: serious
 
 Hi,
 
 opal_3.6.6~dfsg-4 fails to build on hppa (tried four times).
 
From the end of the build log:
 
 /usr/bin/make PTLIBDIR=/usr 
 OPALDIR=/build/buildd-opal_3.6.6~dfsg-4-hppa-Sy4thE/opal-3.6.6~dfsg -C 
 samples/simple
 make[1]: Entering directory 
 `/build/buildd-opal_3.6.6~dfsg-4-hppa-Sy4thE/opal-3.6.6~dfsg/samples/simple'
 g++ -g -O2 -g -Wall -O2 -O3 -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 
 -fno-exceptions -I/usr/include/opal -I/usr/include/SDL   -I../../include -c 
 main.cxx -o obj_linux_hppa/main.o
 g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap -llber 
 -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl -lspeexdsp   -L 
 ../../lib* -o obj_linux_hppa/simpleopal
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
 PVXMLSession::Trigger()'
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
 PVXMLSession::OnEndRecording(PString const)'
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
 PVXMLSession::RecordEnd()'
 collect2: ld returned 1 exit status
 make[1]: *** [obj_linux_hppa/simpleopal] Error 1
 make[1]: Leaving directory 
 `/build/buildd-opal_3.6.6~dfsg-4-hppa-Sy4thE/opal-3.6.6~dfsg/samples/simple'
 make: *** [build/simpleopal] Error 2
 dpkg-buildpackage: error: debian/rules build gave error exit status 2
 
 The full log is available at 
 https://buildd.debian.org/fetch.cgi?pkg=opalver=3.6.6%7Edfsg-4arch=hppastamp=1266684365file=log

This is very strange.

According to http://packages.debian.org/search?keywords=libopal3.6.6,
hppa has 3.6.6~dfsg-3 but does not have the latest 3.6.6~dfsg-4.


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) ...


On the other hand, the changes between the two versions of opal package
are really non-intrusive, I attach to this e-mail the diff between
http://ftp.de.debian.org/debian/pool/main/o/opal/opal_3.6.6~dfsg-3.diff.gz
and
http://ftp.de.debian.org/debian/pool/main/o/opal/opal_3.6.6~dfsg-4.diff.gz


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

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 ?

-- 
Eugen
540,541c540,541
 + libtheora-dev, libgsm1-dev, libspeex-dev, libspeexdsp-dev, libcelt-dev,
 + libcapi20-dev, libavcodec-dev
---
 + libtheora-dev, libgsm1-dev, libspeex-dev, libspeexdsp-dev,
 + libcapi20-dev
543c543
 + libx264-dev
---
 + libx264-dev, libcelt-dev
553,554c553,554
 +Conflicts: libopal-2.2-ptrace, libopal-2.2-develop, libopal-2.2.0, libopal-snapshot, libopal3.3-beta1
 +Replaces: libopal-snapshot, libopal3.3-beta1
---
 +Conflicts: libopal-2.2-ptrace, libopal-2.2-develop, libopal-2.2.0, libopal3.3-beta1
 +Replaces: libopal3.3-beta1
599,600c599,600
 +Replaces: libopal-snapshot-dbg, libopal3.3-beta1-dbg
 +Conflicts: libopal-snapshot-dbg, libopal3.3-beta1-dbg
---
 +Replaces: libopal3.3-beta1-dbg
 +Conflicts: libopal3.3-beta1-dbg
647c647,661
 @@ -0,0 +1,301 @@
---
 @@ -0,0 +1,315 @@
 +opal (3.6.6~dfsg-4) unstable; urgency=low
 +
 +  [ Eugen Dedu ]
 +  * Disable celt codec, since celt is changing its API and upstream
 +source does not compile with the new 0.7.0 celt release (Closes: #556832)
 +  * Remove some conflicts with non-official snapshot packages.
 +  * Remove unuseful libavcodec-dev from Build-Depends (it does not bring
 +any new encoder and hurts non-official packages).
 +
 +  [ Mark Purcell ]
 +  * Build-Conflicts: libcelt-dev
 +
 + -- Mark Purcell m...@debian.org  Mon, 01 Feb 2010 17:30:21 +0100
 +
971c985
 @@ -0,0 +1,67 @@
---
 @@ -0,0 +1,70 @@
990a1005,1007
 +
 +# celt changes its API too fast, so upstream does not keep track with them
 +DEB_CONFIGURE_EXTRA_FLAGS := --disable-celt


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

2010-03-18 Thread Adam D. Barratt
[debian-hppa readers, please Cc me and the bug on replies; thanks]

On Thu, March 18, 2010 11:32, Eugen Dedu wrote:
 Adam D. Barratt wrote:
 opal_3.6.6~dfsg-4 fails to build on hppa (tried four times).

From the end of the build log:
[...]
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual
 thunk to PVXMLSession::Trigger()'
[...]
 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) ...


 On the other hand, the changes between the two versions of opal package
 are really non-intrusive, I attach to this e-mail the diff between
 http://ftp.de.debian.org/debian/pool/main/o/opal/opal_3.6.6~dfsg-3.diff.gz
 and
 http://ftp.de.debian.org/debian/pool/main/o/opal/opal_3.6.6~dfsg-4.diff.gz


 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

 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 ?

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

Regards,

Adam




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2010-03-18 Thread Carlos O'Donell
On Thu, Mar 18, 2010 at 7:47 AM, Adam D. Barratt
a...@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.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2010-03-18 Thread John David Anglin
On Thu, 18 Mar 2010, Carlos O'Donell wrote:

 On Thu, Mar 18, 2010 at 7:47 AM, Adam D. Barratt
 a...@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 symbol was not found by ld.  I see in the bug report log:

g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap -llber 
-lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl -lspeexdsp   -L 
../../lib* -o obj_linux_hppa/simpleopal
../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
PVXMLSession::Trigger()'
../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
PVXMLSession::OnEndRecording(PString const)'
../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
PVXMLSession::RecordEnd()'
collect2: ld returned 1 exit status
make[1]: *** [obj_linux_hppa/simpleopal] Error 1

Check that that the library that is supposed to provide these symbols (libpt?)
provides them.

You can see more info about link by adding -Wl,-v -Wl,-debug to the above g++
command.

Regarding the tool change differences between 4.3 and 4.4, there is no
difference in the handling of thunks in the hppa backend.  So, any
differences that you see are due to changes to the main GCC code, etc.
It may be the references are not present in the 4.3 compiled code.

Dave
-- 
J. David Anglin  dave.ang...@nrc-cnrc.gc.ca
National Research Council of Canada  (613) 990-0752 (FAX: 952-6602)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2010-03-18 Thread Eugen Dedu
John David Anglin wrote:
 On Thu, 18 Mar 2010, Carlos O'Donell wrote:
 
 On Thu, Mar 18, 2010 at 7:47 AM, Adam D. Barratt
 a...@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 symbol was not found by ld.  I see in the bug report log:
 
 g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap -llber 
 -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl -lspeexdsp   -L 
 ../../lib* -o obj_linux_hppa/simpleopal
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
 PVXMLSession::Trigger()'
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
 PVXMLSession::OnEndRecording(PString const)'
 ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
 PVXMLSession::RecordEnd()'
 collect2: ld returned 1 exit status
 make[1]: *** [obj_linux_hppa/simpleopal] Error 1
 
 Check that that the library that is supposed to provide these symbols (libpt?)
 provides them.

Well, the library providing these symbols, libpt, is the same
(libpt2.6.5_2.6.5-1_hppa.deb) for opal-3 package, which built
successfully, and opal-4 package, which fails, as written in the
previous e-mail.

Moreover, I have downloaded the package from
http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
extracted the lib.  IIUC, that function is there indeed (the first is on
my amd64 machine, the second is hppa extracted file):

snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
0020d850 T _ZN12PVXMLSession7TriggerEv
0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
001abb74 T _ZN12PVXMLSession7TriggerEv
001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
snoopy:~$

 You can see more info about link by adding -Wl,-v -Wl,-debug to the above g++
 command.
 
 Regarding the tool change differences between 4.3 and 4.4, there is no
 difference in the handling of thunks in the hppa backend.  So, any
 differences that you see are due to changes to the main GCC code, etc.
 It may be the references are not present in the 4.3 compiled code.

That would have lead to failure for opal-3 package too.

Cheers,
-- 
Eugen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-18 Thread John David Anglin
 Moreover, I have downloaded the package from
 http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
 extracted the lib.  IIUC, that function is there indeed (the first is on
 my amd64 machine, the second is hppa extracted file):
 
 snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
 0020d850 T _ZN12PVXMLSession7TriggerEv
 0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
 snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
 001abb74 T _ZN12PVXMLSession7TriggerEv
 001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
 snoopy:~$

The latter symbol is the symbol of interest.  Would you run the link
command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
the name of the linked file which references the symbol.

It may be the link order is bad.

Dave
-- 
J. David Anglin  dave.ang...@nrc-cnrc.gc.ca
National Research Council of Canada  (613) 990-0752 (FAX: 952-6602)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-18 Thread Eugen Dedu
John David Anglin wrote:
 Moreover, I have downloaded the package from
 http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
 extracted the lib.  IIUC, that function is there indeed (the first is on
 my amd64 machine, the second is hppa extracted file):

 snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
 0020d850 T _ZN12PVXMLSession7TriggerEv
 0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
 snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
 001abb74 T _ZN12PVXMLSession7TriggerEv
 001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
 snoopy:~$
 
 The latter symbol is the symbol of interest.  Would you run the link
 command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
 the name of the linked file which references the symbol.
 
 It may be the link order is bad.

/home/dedu/softs/ekiga/ptlib/lib_linux_x86_64/obj/vxml.o: definition of
non-virtual thunk to PVXMLSession::Trigger()

-- 
Eugen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference

2010-03-18 Thread John David Anglin
 John David Anglin wrote:
  Moreover, I have downloaded the package from
  http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
  extracted the lib.  IIUC, that function is there indeed (the first is on
  my amd64 machine, the second is hppa extracted file):
 
  snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
  0020d850 T _ZN12PVXMLSession7TriggerEv
  0020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
  snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
  001abb74 T _ZN12PVXMLSession7TriggerEv
  001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
  snoopy:~$
  
  The latter symbol is the symbol of interest.  Would you run the link
  command with --trace-symbol=_ZThn1152_N12PVXMLSession7TriggerEv to find
  the name of the linked file which references the symbol.
  
  It may be the link order is bad.
 
 /home/dedu/softs/ekiga/ptlib/lib_linux_x86_64/obj/vxml.o: definition of
 non-virtual thunk to PVXMLSession::Trigger()

We need to know which file references the symbol.  Does adding -lpt
at the end of the g++ link command resolve the problem?

Dave
-- 
J. David Anglin  dave.ang...@nrc-cnrc.gc.ca
National Research Council of Canada  (613) 990-0752 (FAX: 952-6602)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2010-03-03 Thread Adam D. Barratt
Package: src:opal
Version: 3.6.6~dfsg-4
Severity: serious

Hi,

opal_3.6.6~dfsg-4 fails to build on hppa (tried four times).

From the end of the build log:

/usr/bin/make PTLIBDIR=/usr 
OPALDIR=/build/buildd-opal_3.6.6~dfsg-4-hppa-Sy4thE/opal-3.6.6~dfsg -C 
samples/simple
make[1]: Entering directory 
`/build/buildd-opal_3.6.6~dfsg-4-hppa-Sy4thE/opal-3.6.6~dfsg/samples/simple'
g++ -g -O2 -g -Wall -O2 -O3 -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 
-fno-exceptions -I/usr/include/opal -I/usr/include/SDL   -I../../include -c 
main.cxx -o obj_linux_hppa/main.o
g++ obj_linux_hppa/main.o  -lopal -lpt -lpthread -lrt -lsasl2 -lldap -llber 
-lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl -lspeexdsp   -L 
../../lib* -o obj_linux_hppa/simpleopal
../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
PVXMLSession::Trigger()'
../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
PVXMLSession::OnEndRecording(PString const)'
../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to 
PVXMLSession::RecordEnd()'
collect2: ld returned 1 exit status
make[1]: *** [obj_linux_hppa/simpleopal] Error 1
make[1]: Leaving directory 
`/build/buildd-opal_3.6.6~dfsg-4-hppa-Sy4thE/opal-3.6.6~dfsg/samples/simple'
make: *** [build/simpleopal] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The full log is available at 
https://buildd.debian.org/fetch.cgi?pkg=opalver=3.6.6%7Edfsg-4arch=hppastamp=1266684365file=log

Regards,

Adam



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org