[parsec-users] compiling parsec for simics

Manu Awasthi manu.awasthi at cse05.itbhu.org
Sun Mar 23 10:12:11 EDT 2008


Hi Chris,
Somehow the "-static" flag was not being passed to the compiler when
the final linking took place. When I manually provided it, everything
was linked statically and works fine.

Thanks,
Manu

On Thu, Mar 20, 2008 at 1:11 PM, Christian Bienia
<cbienia at cs.princeton.edu> wrote:
> Hi Manu,
>
>  It looks like the linker can't find two libraries (libc and libstdc++) in the
>  versions which are required. You should check whether your system has these
>  libraries available as static libraries. It is also possible that your
>  library path gets messed up and the linker is not looking at the location
>  where those libraries are. It seems you are using a non-standard installation
>  of gcc, but the linker tries to link the system libraries. This might be
>  wrong in the case of libstdc++.
>
>  You should try to get some more information. The GNU linker will tell you what
>  files it is considering if you use the --trace argument. You can inspect the
>  contents of libraries with the tool nm.
>
>  If everything else fails you should try to build the latest version of gcc
>  yourself if you haven't done that yet. I've seen gcc installations that were
>  messed up on various Linux distributions. Simply building your own gcc from
>  scratch might fix your problems.
>
>  - Chris


More information about the parsec-users mailing list