Hi David, > On Jan 5, 2020, at 03:51, David Chisnall <[email protected]> wrote: > > On 2 Jan 2020, at 20:50, Fred Kiefer <[email protected]> wrote: >> >> from now on this is a clang issue and I am no longer of any help here. Maybe >> David has an idea what is going on? It would help to know which version of >> clang used to work and on which version it is failing. The next thing would >> be to write a minimal framework and an application using this to reproduce >> the issue. > > There is a bug in BFD LD. Things that use ld -r in some situations (I have > not been able to find a minimal test case, but base additions is one) have > things stripped too early and so all of the Objective-C classes are removed.
Do you think the bug is also is in ld.gold? During build, we set LD=/usr/bin/ld.gold (for example, https://github.com/plaurent/gnustep-build/blob/master/ubuntu-19.10-clang-9.0-runtime-2.0/GNUstep-buildon-ubuntu1910.sh#L46) Or perhaps it’s possible the LD environment variable is being ignored somewhere? Patryk
