#68420 closed defect (fixed)

scrcpy @2.1.1: build fails on OS X 10.10

Reported by: aprovera Owned by: aprovera <64255236+aprovera@…>
Priority: Low Milestone:
Component: ports Version: 2.8.1
Keywords: yosemite Cc: MarcelBochtler (Marcel Bochtler)
Port: scrcpy

Description

I've recently submitted a PR which successfully added support for old OS X versions (10.6 x86_64, 10.7, 10.8, 10.9, 10.11).

However the build still fails on 10.10 (which uses compiler clang 700.1.81), with the following error:

use of unknown builtin '__builtin_mul_overflow' [-Wimplicit-function-declaration]

Through a quick search on the GitHub repository, I've found out this exact issue was addressed in port ld64, as follows:

# clang 700.1.81 (10.10) fails with error: use of undeclared identifier '__builtin_mul_overflow'
compiler.blacklist-append *gcc* {clang < 701}

This could therefore almost certainly be fixed in scrcpy by changing the current blacklist of 700 to 701.

I've marked it as low priority, as there's a good chance the number of affected users at this time is close to zero, so it can probably wait until the next version update to be fixed.

Change History (1)

comment:1 Changed 12 months ago by aprovera <64255236+aprovera@…>

Owner: set to aprovera <64255236+aprovera@…>
Resolution: fixed
Status: newclosed

In 7eefe11038c6fecc6ee8426035f54231d77167b0/macports-ports (master):

scrcpy: update to version 2.2, fix build on 10.10

  • update to version 2.2
  • change clang blacklist from 700 to 701 to support 10.10

Closes: #68420

Note: See TracTickets for help on using tickets.