On Tue, Jan 16, 2024 at 2:53 PM ASSI via Cygwin-apps <cygwin-apps@cygwin.com> wrote: > > 徐持恒 Xu Chiheng via Cygwin-apps writes: > > Without process_install_dir_bin_symlinks, you can't get an installable > > package *.xz. > > You have not explained what exactly the issue is you're trying to solve. > If you get links to outside DESTDIR then the install targets are broken > and you need to fix the Makefiles. If something else, please explain. > Again, there already is a pass in cygport that's supposed to fix up > symlinks, if that's not working we need to figure out why and how to fix > it if necessary. >
The symlink DESTDIR/usr/clang++ was wrongly processed by cygport, the resulting bin/clang++ can't be executed, but /bin/clang is ok. This caused clang can't bootstrap. I don't know why, it is clearly a cgyport bug, I just remove the symlink, and copy it.