package/libfuse3: fix build failure on Microblaze due to wrong symver attribute detection
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Tue, 3 Aug 2021 22:41:06 +0000 (00:41 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 4 Aug 2021 20:55:44 +0000 (22:55 +0200)
commit7122a484b248e20714a0852e341f10adba82e713
tree80748d2501f8b6f4ed6b48aa8295d1eaedc271cf
parent6ff6b065041c3c5fbe8d1bad248b8cf67930f70c
package/libfuse3: fix build failure on Microblaze due to wrong symver attribute detection

Add a patch to fix symver wrong detection. As explained into the patch
pending upstream[1] __has attribute() gives false positive when an
attribute is not supported[2] and this leads to assuming symver attribute
is present but it's not. This consequentely leads to build failure. I.e.
Microblaze doesn't really support it since it doesn't include elfos.h in
config.gcc that determines symver to be available.

[1]: https://github.com/libfuse/libfuse/pull/620
[2]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766

Fixes:
http://autobuild.buildroot.net/results/d6c/d6cfaf2aafaeda3c12d127f6a2d2e175b25e654f

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libfuse3/0001-meson.build-fix-wrong-.symver-detection.patch [new file with mode: 0644]