[Kde-perl] Perl-Qt 3.009b2 under RHEL4 IA64

Bernard Li bli at bcgsc.ca
Fri Jul 22 07:21:57 CEST 2005


Hi Ashley:
 
I have turned off optimization in smoke/qt/Makefile and now it works.
 
GCC version I used is:
 
gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)
 
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.
 
Thanks,
 
Bernard

________________________________

From: Ashley Winters [mailto:jahqueel at yahoo.com]
Sent: Thu 21/07/2005 7:33 PM
To: kde-perl at kde.org; Bernard Li
Subject: Re: [Kde-perl] Perl-Qt 3.009b2 under RHEL4 IA64



--- Bernard Li <bli at bcgsc.ca> wrote:

> Hi guys:
>
> I'm trying to get Perl-Qt 3.009b2 running under RHEL4 on an Itanium
> system.  It compiled fine, but when I run the code, I got the
> following
> error message:
>
> Can't load
>
'/usr/lib/perl5/site_perl/5.8.5/ia64-linux-thread-multi/auto/Qt/Qt.so'
> for module Qt: /opt/perl-Qt/lib/libsmokeqt.so.1: undefined symbol:
> .L716
> at /usr/lib/perl5/5.8.5/ia64-linux-thread-multi/XSLoader.pm line 68.
>  at /usr/lib/perl5/site_perl/5.8.5/ia64-linux-thread-multi/Qt.pm line
> 889
>
> Does anybody know how to resolve this?

What version/compiler are you using?

If I had to guess off the top of my head, I'd guess the large switch()
statements in PerlQt are causing GCC to generate bad IA64 code. Try
compiling with all optimizations turned off and see if it works.
(remove any -O options to gcc)

Also, check for any gcc/ld options you could turn on for IA64 having to
do with switch statements, local jumps, relative addressing, data size,
or something else juicy like that. I think the switch statements are
larger than IA64 can relatively address, and GCC may be pessimizing it
incorrectly (which is why a simple switch() wouldn't show any problems)

Ashley


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-perl/attachments/20050722/190ef25d/attachment.html


More information about the Kde-perl mailing list