<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Re: [Kde-perl] Perl-Qt 3.009b2 under RHEL4 IA64</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText80221 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Hi Ashley:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>I have turned off
optimization in smoke/qt/Makefile and now it works.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>GCC version I used
is:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>gcc version 3.4.3 20050227
(Red Hat 3.4.3-22.1)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>I don't know if it is
possible to fix this, but I can help with testing if you have a patch for this
in the future.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Thanks,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Bernard</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ashley Winters
[mailto:jahqueel@yahoo.com]<BR><B>Sent:</B> Thu 21/07/2005 7:33 PM<BR><B>To:</B>
kde-perl@kde.org; Bernard Li<BR><B>Subject:</B> Re: [Kde-perl] Perl-Qt 3.009b2
under RHEL4 IA64<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>--- Bernard Li <bli@bcgsc.ca> wrote:<BR><BR>> Hi
guys:<BR>><BR>> I'm trying to get Perl-Qt 3.009b2 running under RHEL4 on
an Itanium<BR>> system. It compiled fine, but when I run the code, I
got the<BR>> following<BR>> error message:<BR>><BR>> Can't
load<BR>><BR>'/usr/lib/perl5/site_perl/5.8.5/ia64-linux-thread-multi/auto/Qt/Qt.so'<BR>>
for module Qt: /opt/perl-Qt/lib/libsmokeqt.so.1: undefined symbol:<BR>>
.L716<BR>> at /usr/lib/perl5/5.8.5/ia64-linux-thread-multi/XSLoader.pm line
68.<BR>> at
/usr/lib/perl5/site_perl/5.8.5/ia64-linux-thread-multi/Qt.pm line<BR>>
889<BR>><BR>> Does anybody know how to resolve this?<BR><BR>What
version/compiler are you using?<BR><BR>If I had to guess off the top of my head,
I'd guess the large switch()<BR>statements in PerlQt are causing GCC to generate
bad IA64 code. Try<BR>compiling with all optimizations turned off and see if it
works.<BR>(remove any -O options to gcc)<BR><BR>Also, check for any gcc/ld
options you could turn on for IA64 having to<BR>do with switch statements, local
jumps, relative addressing, data size,<BR>or something else juicy like that. I
think the switch statements are<BR>larger than IA64 can relatively address, and
GCC may be pessimizing it<BR>incorrectly (which is why a simple switch()
wouldn't show any
problems)<BR><BR>Ashley<BR><BR><BR>__________________________________________________<BR>Do
You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection
around<BR><A
href="http://mail.yahoo.com">http://mail.yahoo.com</A><BR></FONT></P></DIV>
</BODY>
</HTML>