This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

When using Omax to compile and link, L6654 error occurs (compiler 6.17)

Under the latest 6.17 compiler Omax, the link error: L6654: Rejected Local symbol *** referred to from non group member lto-llvm-***.o(.text.***). This error message is consistent with Inline static variables are defined in the class, for example:
class A {
public:
inline static uint32_t s_Var{};
}

Parents
  • Hello
    I was about to ask if you had enabled link time optimization in the link step (--lto), as the above object is a result of the implied -flto of -Omax. However your follow up comment may suggest that is not the issue.

    We would likely need an example that illustrates this problem to properly investigate. If you are not able to share in public forum, please raise an official support request via the support menu above.

    Regards, Ronan

Reply
  • Hello
    I was about to ask if you had enabled link time optimization in the link step (--lto), as the above object is a result of the implied -flto of -Omax. However your follow up comment may suggest that is not the issue.

    We would likely need an example that illustrates this problem to properly investigate. If you are not able to share in public forum, please raise an official support request via the support menu above.

    Regards, Ronan

Children