gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] building a shared object


From: Gaius Mulley
Subject: Re: [Gm2] building a shared object
Date: Thu, 22 Apr 2010 12:13:15 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

address@hidden writes:

> Hi Gaius,
>
> Thanks for the info.
>
> So the exported symbols are taken from a definition module.  Only for the
> "main" module (how is that specified?) or all modules in the project?  
> The shared object I'm trying to create has multiple modules.
>
> I tried building the project (3 modules) with
>
> gm2 -c -fiso -fshared -fPIC a.mod
> gm2 -c -fiso -fshared -fPIC b.mod
> gm2 -c -fiso -fshared -fPIC fmakelist main.mod
> gm2 -o mylib.so -fiso -fshared -fPIC -shared -fuselist main.mod
>
> which produces the following error:
>
> *** glibc detected *** free(): invalid next size (normal):
> 0x000000000052f470 ***
> Aborted
>
> I can send the files if necessary, but maybe I've made a simple mistake.
>
> Thanks,
> Scott

Hi Scott,

yes please - it is always easier to explore the bug using gdb,

thanks,
Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]