#68789 closed defect (fixed)

clang-11-bootstrap +universal is missing a universal libclang_rt.osx.a (at least) and so it can't build anything universal

Reported by: kencu (Ken) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: clang-11-bootstrap

Description

This is on 10.7:

$ nm -arch i386 /opt/local/libexec/clang-11-bootstrap/lib/clang/11.1.0/lib/darwin/libclang_rt.osx.a
nm: file: /opt/local/libexec/clang-11-bootstrap/lib/clang/11.1.0/lib/darwin/libclang_rt.osx.a does not contain architecture: i386

Change History (6)

comment:1 Changed 12 months ago by kencu (Ken)

Summary: clang-11-bootstrap +universal is missing a universal libclang_rt_osx.a (at least) and so it can't build anything universalclang-11-bootstrap +universal is missing a universal libclang_rt.osx.a (at least) and so it can't build anything universal

comment:2 Changed 12 months ago by catap (Kirill A. Korinsky)

Thanks, the issue can be reproduced on arm64 / x86_64 that makes things much faster to test :)

comment:3 Changed 12 months ago by catap (Kirill A. Korinsky)

comment:4 Changed 12 months ago by kencu (Ken)

very quick, thanks.

I'll take a cycle and rebuild it on 10.7 to prove it works before pushing.

comment:5 Changed 12 months ago by kencu (Ken)

some (but not all) expected i386 atomic symbols are missing…will have to see why

comment:6 Changed 11 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 2e3a138b8b78871dd2a783a062596d2652787d2b/macports-ports (master):

clang-11-bootstrap: prefer configure.build_arch over build_arch, use universal_possible

Closes: #68789

Note: See TracTickets for help on using tickets.