Re: [Gambas-user] JIT bug 4

2012-07-09 Thread Emil Lenngren
>From gdb I disassemble the jit function to this: ... 0x77e3f05c: movabs $0x0,%rax 0x77e3f066: callq *%rax ... You can see that llvm replaced the llvm.powi.f64 to a null function :/ 2012/7/9 Emil Lenngren > Public Sub Button1_Click() > test(19) > End > > > Fast Privat

Re: [Gambas-user] JIT bug 4

2012-07-09 Thread Emil Lenngren
Public Sub Button1_Click() test(19) End Fast Private Sub test(x As Integer) Print 0.6 ^ x End Does this crash for you as well? I think there is a bug in llvm or something. It doesn't seem to like that I call llvm.powi.f64. I shall see what I can do about it ... /Emil 2012/7/9 Jussi Lahti

Re: [Gambas-user] JIT bug 4

2012-07-09 Thread Jussi Lahtinen
In fact the function can be further reduced to: c = CInt((0.6 ^ iEta) / sngCached[iEta]) Jussi On 9 July 2012 21:02, Jussi Lahtinen wrote: > Finally, here it is isolated. See attachment. > I don't know why I didn't get it in first try, and yet, I'm not sure what > is going on... > > Gambas 3

[Gambas-user] JIT bug 4

2012-07-09 Thread Jussi Lahtinen
Finally, here it is isolated. See attachment. I don't know why I didn't get it in first try, and yet, I'm not sure what is going on... Gambas 3 rev 4921 @ Xubuntu 12.04 64bit Jussi JITbug4-0.0.1.tar.gz Description: GNU Zip compressed data

Re: [Gambas-user] rev 4920 doesn't compile

2012-07-09 Thread Laurent Carlier
Le lundi 9 juillet 2012 15:38:20 Jussi Lahtinen a écrit : > make[3]: Entering directory `/home/jussiemmi/trunk/gb.gsl' > Making all in @GSL_DIR@ > /bin/bash: line 17: cd: @GSL_DIR@: No such file or directory > > > @ Xubuntu 12.04 64bit > > Jussi Oups, my mistake! fixed in rev4921 ++ signatu

[Gambas-user] #!/usr/bin/gbs2 doesn't want on older system

2012-07-09 Thread Rolf-Werner Eilert
Hi, Just tried to start a script using gbs2. On a new system (Suse 12.1) I tried this yesterday, no problem. On my old server (about 4 years old), when I get to PRINT "hello" it says "unknown command". What's going wrong here? I also tried #!/usr/bin/env gbs2 which is running well... Strange

Re: [Gambas-user] Building gb.gsl on Arch Linux

2012-07-09 Thread Laurent Carlier
Le lundi 9 juillet 2012 02:36:29 Adrien Prokopowicz a écrit : > Le lundi 9 juillet 2012 01:56:45 Emil Lenngren a écrit : > > I have the same problem on Gentoo. > > > > || Unable to met pkg-config requirement: libgsl > > || Unable to met pkg-config requirement: libgslcblas > > > > However, I could

Re: [Gambas-user] Building gb.gsl on Arch Linux

2012-07-09 Thread Laurent Carlier
Le lundi 9 juillet 2012 02:36:29 Adrien Prokopowicz a écrit : > Le lundi 9 juillet 2012 01:56:45 Emil Lenngren a écrit : > > I have the same problem on Gentoo. > > > > || Unable to met pkg-config requirement: libgsl > > || Unable to met pkg-config requirement: libgslcblas > > > > However, I could