Skip to content

Inadvertent dependency on libc __stat_time64 #13

Description

@AndrewFasano

After #11, building libnvram for arm with newer compilers (i.e., arm-linux-musleabi-gcc (GCC) 11.2.1 20211120) adds a runtime dependency on the libc-provided __stat_time64 symbol:

nm  -D libnvram/libnvram.so.armel  | grep 'U '
...
U __stat_time64

This will break the library if it's used in older firmware where this symbol isn't provided by the firmware's libc; in this case an error will be raised when the library is loaded:

can't resolve symbol '__stat_time64'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions