Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#65036 closed defect (fixed)

python310 @3.10.4_0+lto+universal: Undefined symbols

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: mountainlion Cc: eborisch (Eric A. Borisch), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: python310

Description

Saw this problem when installing python310 @3.10.4_0+lto+universal on the mountainlion buildbot worker. python39 @3.9.12_0+universal built fine.

It doesn't seem like things should need to be universal on the buildbot workers. I certainly haven't requested that. But a great many things are getting installed universal on the lion and mountainlion buildbot workers only. It may be happening because libomp defaults to universal and libomp is a dependency of many clang compilers and many clang compilers do get installed as a necessity for building other ports. Presumably I could disable libomp's universal variant to avoid this.

Attachments (1)

main.log (187.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 3 years ago by jmroot (Joshua Root)

I wonder if the toolchain can't handle universal and LTO at the same time. Any difference if you build with -lto?

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 817a7cbd421950d774663bfe358dbc7b309d6248/macports-ports (master):

python310: don't add +lto to +universal on < 10.11

Fixes: #65036

comment:3 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added
Note: See TracTickets for help on using tickets.