0 Replies Latest reply: Aug 12, 2009 8:37 AM by 807567 RSS

    Undefined '__align_cpy_8' symbol on driver.

    807567
      Hello,

      I'm compiling a driver for the sparc v9 platform (-xarch=v9).
      When compiling the driver without optimization, the compiler generates code that needs an implementation of '__align_cpy_8'.

      From what I've found, this is part of the 64 bits sparc ABI, and is available in /usr/lib/sparcv9/libc.so, but it doesn't make sense to use the libc implementation from the driver.

      I haven't been able to find compiler switches that prevent the compiler from relying on the external implementation or kernel modules that provide an implementation.

      What's the proper way to compile/link drivers in these circumstances?

      Thanks!

      Martin