[superh-gnu-discuss] unaligned userspace access

Andrew Stubbs ams at codesourcery.com
Wed Jun 1 12:53:29 UTC 2011


On 01/06/11 10:56, Andrea Baldini wrote:
> It seems that the problem related to the "unaligned userspace access" error
> occurs when i compile the sources using dynamic libraries.
> Going back to your question about how did i install the libraries, i put the
> contents of the toolchain libc directory in the target standard paths (/lib
> and /usr).
> Am i supposed to specify the rpath and dynamic-linker options?
> Should i use other special compiler or linker flags?

No, that all sounds right to me. Do other dynamically linked programs 
work? Say, simple ones like hello world?

Andrew



More information about the superh-gnu-discuss mailing list