Opened 5 years ago

Closed 5 years ago

#58636 closed defect (fixed)

gnutls fails to build on Catalina Public Beta 1

Reported by: ecbrown (Eric Brown) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: catalina Cc: mps@…
Port: gnutls

Description (last modified by Schamschula (Marius Schamschula))

I am trying to install gnutls on MacOS Catalina Public Beta 1, and I encounter an error:

:info:build ld: warning: cannot export hidden symbol __gnutls_x86_cpuid_s from accelerated/.libs/libaccelerated.a(x86-common.o)
:info:build ld: weak import of symbol '____chkstk_darwin' not supported because of option: -no_weak_imports for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

The full main.log is attached.

Attachments (1)

main.log (1.6 MB) - added by ecbrown (Eric Brown) 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by ecbrown (Eric Brown)

Attachment: main.log added

comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Status: newassigned

I think Xcode 11.0 beta is under NDA.

Did you install the CLI tools?

comment:2 Changed 5 years ago by Schamschula (Marius Schamschula)

Keywords: catalina added
Port: gnutls added

comment:3 Changed 5 years ago by OceanS2000 (Ocean Shen)

I'm experiencing same issue. With Xcode CLI tools installed I get the same linker error as shown in the attached log.

comment:4 Changed 5 years ago by Schamschula (Marius Schamschula)

Description: modified (diff)

comment:5 Changed 5 years ago by Schamschula (Marius Schamschula)

comment:6 Changed 5 years ago by vdoublie

Does not fail under Mojave and Xcode 11. Issue may be the fact that darwin 19 or macosx 10.15 is recognised as a weak link and is not supported. So not really an OS issue or Xcode one... more like directly in the configure should allow 10.15 to be a strong import.

comment:7 Changed 5 years ago by ecbrown (Eric Brown)

gnutls now builds and installs under current beta.

comment:8 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Closing as per comment:7.

Note: See TracTickets for help on using tickets.