[MacPorts] #66084: icoutils @0.32.3_1: build failure on Ventura. archive member 'libgnu.a' with length 49080 is not mach-o or llvm bitcode file
MacPorts
noreply at macports.org
Thu Oct 27 15:44:16 UTC 2022
#66084: icoutils @0.32.3_1: build failure on Ventura. archive member 'libgnu.a'
with length 49080 is not mach-o or llvm bitcode file
-----------------------+---------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: ventura
Port: icoutils |
-----------------------+---------------------
Comment (by kencu):
trying with clang-14 fails too. Here's a more detailed look at what
happens with this failing link:
{{{
% /opt/local/bin/clang-mp-14 -fno-common -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch
x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
-arch x86_64 -o icotool create.o extract.o main.o palette.o win32-endian.o
-lpng -lz -lm ../common/libcommon.a ../lib/libgnu.a -lintl -Wl,-framework
-Wl,CoreFoundation -Wl,-v -v
clang version 14.0.6
Target: x86_64-apple-darwin22.1.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-14/bin
"/opt/local/libexec/llvm-14/bin/ld" -demangle -lto_library
/opt/local/libexec/llvm-14/lib/libLTO.dylib -dynamic -arch x86_64
-platform_version macos 13.0.0 13.0 -syslibroot
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -o icotool
-L/opt/local/lib -headerpad_max_install_names -syslibroot
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk create.o extract.o
main.o palette.o win32-endian.o -lpng -lz -lm ../common/libcommon.a
../lib/libgnu.a -lintl -framework CoreFoundation -v -lSystem
/opt/local/libexec/llvm-14/lib/clang/14.0.6/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-820.1
BUILD 18:42:34 Sep 11 2022
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386
x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/opt/local/lib
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib
Framework search paths:
/Library/Frameworks/
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/
ld: in ../common/libcommon.a(libgnu.a), archive member 'libgnu.a' with
length 49168 is not mach-o or llvm bitcode file '../common/libcommon.a'
for architecture x86_64
}}}
some kind of LTO error?
--
Ticket URL: <https://trac.macports.org/ticket/66084#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list