Page MenuHomeFreeBSD

graphics/mesa-dri: fix build on powerpc64 elfv2
ClosedPublic

Authored by pkubaj on Nov 7 2019, 12:45 PM.
Tags
None
Referenced Files
F81590202: D22274.diff
Thu, Apr 18, 2:47 PM
Unknown Object (File)
Wed, Apr 10, 1:59 AM
Unknown Object (File)
Fri, Apr 5, 2:52 PM
Unknown Object (File)
Sun, Mar 31, 6:41 AM
Unknown Object (File)
Mar 7 2024, 2:17 AM
Unknown Object (File)
Mar 7 2024, 2:17 AM
Unknown Object (File)
Mar 7 2024, 2:17 AM
Unknown Object (File)
Mar 7 2024, 1:40 AM
Subscribers

Details

Summary

Base LLVM9 fails to build this port with clang crash (reported on https://bugs.llvm.org/show_bug.cgi?id=43862). The port builds when using LLVM8. Since we depend on LLVM8 anyway, use it also for compilation on elfv2.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 27387
Build 25634: arc lint + arc unit

Event Timeline

mikael added inline comments.
graphics/mesa-dri/Makefile.common
91

Why do you need to specify the abi? it should be the default on elfv2.

graphics/mesa-dri/Makefile.common
91

It's not default for LLVM8 from ports.

This builds on ppcports.

OTOH do you think I should try a build of all depenent ports before we proceed? I am not sure.

This shouldn't be needed. Mesa built with base LLVM8 before.

Looks good to me. But please don't commit until you get approval by @zeising .

This revision is now accepted and ready to land.Nov 9 2019, 6:38 PM
This revision was automatically updated to reflect the committed changes.