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

Ashley Winters jahqueel at yahoo.com
Fri Jul 22 04:33:41 CEST 2005


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


More information about the Kde-perl mailing list