Re: problem running a demo

Ralf Juengling <[email protected]> Sat, 2 Jan 2010 10:52:43 -0800 (PST)
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
Hi Osman,

Thanks for reporting.

Can anyone else reproduce this? After fixing a few unrelated
issues, the complete GSL interface ("gsl/gsl") compiles just
fine over here on a 64 bit Ubuntu 8.10 box with gcc 4.3.3.

Ralf


On Thu, 24 Dec 2009, osman wrote:

> Hello,
> I just downloaded from sf and installed lush on /usr/local on my 64 bit
> AMD ubuntu 9.10. I tried creating a file spline.lisp with the listing
> from the web site. I am getting :
>
> ...
> ...
> Generating C for var_gsl_qrng_sobol ...
> gcc -DHAVE_CONFIG_H   -std=c99 -DNO_DEBUG -Wall -O3 -march=nocona
> -pthread -I/usr/local/share/lush2/include
> -c /home/osman/.lush2/packages/gsl/C/aux_globalvar.c
> -o /home/osman/.lush2/packages/gsl/C/x86_64-unknown-linux-gnu/aux_globalvar.o
> dldbfd: x86_64 relocation overflow (gsl_rng_default_seed)
>  This happens when accessing data variables
>  located in a shared object loaded via dlopen
>  Instead of
>     extern int remotevar;
>     if (remotevar = 15) ....
>  You can do:
>     extern int remotevar;
>     static int* volatile premotevar = &remotevar
>     if (*premotevar = 15) ....
>
> *** module-load : dld/bfd error
> *** Overflow during relocation :
> "/home/osman/.lush2/packages/gsl/C/x86_64-unknown-linux-gnu/au ...
> Debug toplevel [y/N] ?n
>
> Anything I can do?
> Thanks in advance
> Osman
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Lush-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lush-devel
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev