Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect symver attribute support #32

Closed
wants to merge 1 commit into from

Commits on Feb 8, 2023

  1. Detect symver attribute support

    On Microblaze, builds will fail when trying to add symver information
    because  __attribute__((symver ..)) is not supported even though
    __has_attribute(__symver__) returns true.
    
    Support for symver needs to be detected via a compile test since
    __has_attribute can report false positives [0].
    
    Add a configure compile check for __attribute__((symver ..)) to ensure
    it is supported and define a variable to advertise support.
    
    [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766#c1
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
    Signed-off-by: Vincent Fazio <vfazio@gmail.com>
    vfazio committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    cb45891 View commit details
    Browse the repository at this point in the history