Page MenuHomeFreeBSD

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

Authored by pkubaj on Thu, Nov 7, 12:45 PM.

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 Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 27387
Build 25634: arc lint + arc unit

Event Timeline

pkubaj created this revision.Thu, Nov 7, 12:45 PM
mikael.urankar_gmail.com added inline comments.
graphics/mesa-dri/Makefile.common
91

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

pkubaj added inline comments.Fri, Nov 8, 4:05 PM
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.

pkubaj added a comment.Sat, Nov 9, 1:04 PM

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

tcberner accepted this revision.Sat, Nov 9, 6:38 PM

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

This revision is now accepted and ready to land.Sat, Nov 9, 6:38 PM