mistydemeo / tigerbrew

Experimental fork of homebrew for PPC Macs on Tiger
Other
543 stars 130 forks source link

FLAC failed to build on 10.5 Intel #335

Open alexey-lysiuk opened 9 years ago

alexey-lysiuk commented 9 years ago

https://gist.github.com/alexey-lysiuk/c3678d24c41f6ca1e65e

There are several linker errors when trying to build FLAC with brew install --with-libogg flac They are caused by nasm failure to compile assembly files. Installation on the latest version of nasm didn't help. Also, passing --enable-sse in the formula seems kinda odd. I didn't try to build for PowerPC though.

An unconditional addition of --disable-asm-optimizations configure option in the formula fixed the issue. Although, I doubt it's a correct way to resolve it.

ranma42 commented 7 years ago

This patch should fix that problem: https://git.xiph.org/?p=flac.git;a=commit;h=e58b36c8ea4d45b6e3d4fb5e5df747e5f8b6c9d2 It is part of 1.3.2, which comes with other breakage: http://lists.xiph.org/pipermail/flac-dev/2017-January/006105.html