Opened 9 years ago
Closed 8 years ago
#49148 closed defect (fixed)
libjpeg-turbo @1.4.0: cannot build x86_64 SIMD extensions with nasm @2.11.08
Reported by: | mytix.mail@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | x86_64 | Cc: | kurtjaeke@…, larryv (Lawrence Velázquez), mfeiri |
Port: | libjpeg-turbo |
Description
Attachments (2)
Change History (10)
Changed 9 years ago by mytix.mail@…
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | libjpeg-turbo fails to build on OS X 10.11 (El Capitan) → libjpeg-turbo: fatal: No section for index 2 offset 0 found |
---|
comment:2 Changed 9 years ago by kurtjaeke@…
Cc: | kurtjaeke@… added |
---|
comment:3 Changed 9 years ago by mytix.mail@…
Apparently it's a problem with NASM: https://gist.github.com/FiloSottile/7125822
comment:4 Changed 9 years ago by mytix.mail@…
Does anyone know how to upgrade to the latest version? Portfile: https://svn.macports.org/repository/macports/trunk/dports/graphics/libjpeg-turbo/Portfile Latest libjpeg-turbo version: http://sourceforge.net/projects/libjpeg-turbo/files/1.4.2/
comment:5 Changed 9 years ago by mytix.mail@…
The problem is that libjpeg-turbo is not compatible with NASM 2.11.08. It will work with older or newer versions (https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/BUILDING.md).
The solution is to downgrade NASM port to 2.11.06 (instructions: wiki:howto/InstallingOlderPort):
svn checkout -r 137573 https://svn.macports.org/repository/macports/trunk/dports/lang/nasm cd nasm/ sudo port install
And now:
sudo port install libjpeg-turbo
comment:6 Changed 9 years ago by larryv (Lawrence Velázquez)
Cc: | larryv@… mfeiri@… added |
---|---|
Keywords: | x86_64 added; elcapitan removed |
Summary: | libjpeg-turbo: fatal: No section for index 2 offset 0 found → libjpeg-turbo @1.4.0: cannot build x86_64 SIMD extensions with nasm @2.11.08 |
Stickier link to problem description:
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/1.4.2/BUILDING.txt#L21
I think the best solution would be to upgrade nasm to 2.11.09rc1. If Michael is not comfortable with that, we could just disable the x86_64 SIMD extensions until NASM 2.11.09 stable is released.
Changed 9 years ago by larryv (Lawrence Velázquez)
Attachment: | 0001-nasm-Update-to-2.11.09rc1-49148.patch added |
---|
patch to update nasm to 2.11.09rc1
comment:7 Changed 9 years ago by mfeiri
nasm 2.11.09 was never tagged/released, but version 2.12 is now available and was added to macports in r146354
comment:8 Changed 8 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
With nasm
at 2.12 and libjpeg-turbo
at 1.5.0 (r149432), this shouldn’t be a problem anymore.
Cc Me!