pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

heads-up for macOS users re new ld(1) implementation



Hi,

With the latest macOS 14 Xcode update comes a Command Line Tools update.
This brings a new implementation of ld(1) which unfortunately
has bugs that break some packages (ffmpeg5, gcc, ...)

If you have installed this update and encounter strange linker breakage,
sometimes it helps to locally put this line into the package's Makefile:

LDFLAGS.Darwin+=	-Wl,-ld_classic

Please don't commit such fixes yet though since it might break
packages for old CLT versions. People have reported bugs to Apple,
hopefully they will release a bugfix update soon.

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index