Opened 21 months ago
Closed 21 months ago
#66929 closed defect (fixed)
gptfdisk @1.0.9_0 Compile error mixing arm64 and x86_64 during linking
Reported by: | damoclark (Damo) | Owned by: | nano103 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | gptfdisk |
Description
Upgrading gptfdisk on macos 12.6.1 with macports 2.8.1 and during compilation, it warns:
:info:build ld: warning: ignoring file mbrpart.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
Immediately above, the following output is noted, with -arch set to x86_64
:info:build /usr/bin/clang++ -Os -stdlib=libc++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o gptcl.o sgdisk.o -L/opt/local/lib -lpopt -arch x86_64 -mmacosx-version-min=10.9 -o sgdisk
While all other files use -arch arm64, for example:
:info:build /usr/bin/clang++ -Os -stdlib=libc++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o gpttext.o gdisk.o -arch arm64 -o gdisk
I'll attach the entire main.log file.
Attachments (1)
Change History (4)
Changed 21 months ago by damoclark (Damo)
comment:1 Changed 21 months ago by jmroot (Joshua Root)
Owner: | set to nano103 |
---|---|
Priority: | High → Normal |
Status: | new → assigned |
comment:2 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:3 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
macports install log file during compilation