[MacPorts] #66176: lzma +universal fails to build: Undefined symbols for architecture i386: "_main", referenced from:
MacPorts
noreply at macports.org
Sun Nov 6 20:04:20 UTC 2022
#66176: lzma +universal fails to build: Undefined symbols for architecture i386:
"_main", referenced from:
--------------------------+------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: | Port: lzma
--------------------------+------------------------
Fails on 10.8.5:
{{{
ld: warning: ignoring file _o/LzmaAlone.o, file was built for unsupported
file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00
0x01 0x00 0x00 0x00 ) which is not the architecture being linked (i386):
_o/LzmaAlone.old: warning: ignoring file _o/ConsoleClose.o, file was built
for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03
0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the architecture being
linked (i386): _o/ConsoleClose.o
ignoring file _o/Bench.o, file was built for unsupported file format (
0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00 0x01 0x00 0x00
0x00 ) which is not the architecture being linked (i386): _o/Bench.o
Undefined symbols for architecture i386:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
gnumake: *** [_o/lzma] Error 1
}}}
Similar failure on Rosetta:
{{{
ld: warning: in _o/LzmaAlone.o, file was built for unsupported file format
which is not the architecture being linked (ppc)
ld: warning: in _o/Bench.o, file was built for unsupported file format
which is not the architecture being linked (ppc)
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake: *** [_o/lzma] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66176>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list