https://sourceware.org/bugzilla/show_bug.cgi?id=33180
--- Comment #1 from Pali Rohár <pali at kernel dot org> --- Just to note that for new gcc versions, the tentative definition needs to be explicitly marked with __attribute__((common)) or compiled by -fcommon option. So the test.c to be compiled with any gcc version, it needs the line: void (*_pei386_runtime_relocator_ptr)(void) __attribute__((common); Using this tentative definition of _pei386_runtime_relocator_ptr can be useful for mingw-w64-crt runtime as it such pattern (if fixes the reported issue) could be used to statically link the mingw-w64 _pei386_runtime_relocator code only into PE binaries which really needs them, hence allow inclusion of pseudo reloc helper functions on demand. -- You are receiving this mail because: You are on the CC list for the bug.
