Can't build Pike 8.0 in Distmaker [bug 7827]
Imported from https://youtrack.roxen.com/issue/PIKE-2
Reported by @grubba
From Bugzilla [bug #7827 (closed)]:
Getting this on RHEL7_x86_64:
Linking VCDiff vcdiff_wrapper.o: In function `__static_initialization_and_destruction_0': /usr/include/c++/4.8.2/iostream:74: undefined reference to `__dso_handle' /usr/bin/ld: vcdiff_wrapper.o: relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status Linking failed:
I think Pike/8.0: c65cf769 could be the cause. It claims to improve FreeBSD linking, but also adds "-nostartfiles" to Linux builds (and possibly other OSes). Is that the idea?