It is impossible to make a crossreference to an Endnote. It works (and always has) in Open Office Writer.
Please provide a reproduction scenario in the usual "steps to reproduce/expected behaviour/actual behaviour format" or use the Bug Submission Agent at https://www.libreoffice.org/get-help/bug/ which helps you with that.
*** This bug has been marked as a duplicate of bug 76794 ***