[MacPorts] #59658: babl @ 0.1.72: fails to configure on Leopard (Intel): ERROR: Problem encountered: Linker doesn't support --version-script or -exported_symbols_list
MacPorts
noreply at macports.org
Sat Dec 28 16:55:53 UTC 2019
#59658: babl @ 0.1.72: fails to configure on Leopard (Intel): ERROR: Problem
encountered: Linker doesn't support --version-script or
-exported_symbols_list
---------------------+----------------------
Reporter: kencu | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: babl |
---------------------+----------------------
Comment (by rmottola):
@kencu, @ryandesign - I followed the instruction points 8 & 9 on
SnowLeopard 10.6 universal. I hope that linker will not have other
fallout!
Configuration then starts, but compilation still fails with this:
{{{
[22/184] Compiling C object 'babl/4170c83@@babl-0.1 at sha/babl-
cpuaccel.c.o'.
FAILED: babl/4170c83@@babl-0.1 at sha/babl-cpuaccel.c.o
/opt/local/bin/clang-mp-9.0 -Ibabl/4170c83@@babl-0.1 at sha -Ibabl
-I../babl-0.1.72/babl -I. -I../babl-0.1.72/ -Ibabl/base
-I../babl-0.1.72/babl/base -I/opt/local/include -Xclang -fcolor-
diagnostics -pipe -Wall -Winvalid-pch -g -Ofast -Wdeclaration-after-
statement -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-
style-definition -Wpointer-arith -mmmx -msse -mfpmath=sse -Os -arch x86_64
-msse2 '-DLIBDIR="/opt/local/lib"' -MD -MQ 'babl/4170c83@@babl-0.1 at sha
/babl-cpuaccel.c.o' -MF 'babl/4170c83@@babl-0.1 at sha/babl-cpuaccel.c.o.d'
-o 'babl/4170c83@@babl-0.1 at sha/babl-cpuaccel.c.o' -c ../babl-0.1.72/babl
/babl-cpuaccel.c
../babl-0.1.72/babl/babl-cpuaccel.c:161:12: error: instruction requires:
Not 64-bit mode
__asm__ ("pushfl\n\t"
^
<inline asm>:1:2: note: instantiated into assembly here
pushfl
^
../babl-0.1.72/babl/babl-cpuaccel.c:161:21: error: instruction requires:
Not 64-bit mode
__asm__ ("pushfl\n\t"
^
<inline asm>:2:2: note: instantiated into assembly here
pushfl
^
../babl-0.1.72/babl/babl-cpuaccel.c:162:21: error: instruction requires:
Not 64-bit mode
"pushfl\n\t"
^
<inline asm>:3:2: note: instantiated into assembly here
popl %eax
^
../babl-0.1.72/babl/babl-cpuaccel.c:165:32: error: instruction requires:
Not 64-bit mode
"xorl $0x200000,%0\n\t"
^
<inline asm>:6:2: note: instantiated into assembly here
pushl %eax
^
../babl-0.1.72/babl/babl-cpuaccel.c:166:23: error: instruction requires:
Not 64-bit mode
"pushl %0\n\t"
^
<inline asm>:7:2: note: instantiated into assembly here
popfl
^
../babl-0.1.72/babl/babl-cpuaccel.c:167:20: error: instruction requires:
Not 64-bit mode
"popfl\n\t"
^
<inline asm>:8:2: note: instantiated into assembly here
pushfl
^
../babl-0.1.72/babl/babl-cpuaccel.c:168:21: error: instruction requires:
Not 64-bit mode
"pushfl\n\t"
^
<inline asm>:9:2: note: instantiated into assembly here
popl %eax
^
../babl-0.1.72/babl/babl-cpuaccel.c:169:22: error: instruction requires:
Not 64-bit mode
"popl %0\n\t"
^
<inline asm>:10:2: note: instantiated into assembly here
popfl
^
8 errors generated.
[23/184] Compiling C object 'babl/4170c83@@babl-0.1 at sha/babl-fish-
path.c.o'.
ninja: build stopped: subcommand failed.
}}}
As you see, compiler automatically selected is clang 9. Clang 5 & 3.7 fail
the same. GCC is not usable, it is refused!
What does clang use or the inline asm ?
--
Ticket URL: <https://trac.macports.org/ticket/59658#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list