https://bugs.winehq.org/show_bug.cgi?id=53392
--- Comment #7 from malic malicorne@chez.com --- the -mimpure-text is not enough :
[...] gcc -o tools/winegcc/winegcc tools/winegcc/utils.o tools/winegcc/winegcc.o -lsocket -lnsl tools/winegcc/winegcc -o dlls/acledit/acledit.dll.so --wine-objdir . -fno-PIC -mimpure-text -fasynchronous-unwind-tables \ -shared dlls/acledit/acledit.spec -Wb,--prefer-native -mno-cygwin dlls/acledit/main.o \ dlls/winecrt0/libwinecrt0.a dlls/ucrtbase/libucrtbase.a dlls/kernel32/libkernel32.a \ dlls/ntdll/libntdll.a Text relocation remains referenced against symbol offset in file .rodata (section) 0x11010 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11017 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11030 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11037 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11050 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11057 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11070 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11077 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11090 acledit.dll-62dfa53a.spec.o .rodata (section) 0x11097 acledit.dll-62dfa53a.spec.o .rodata (section) 0x110b0 acledit.dll-62dfa53a.spec.o .rodata (section) 0x110b7 acledit.dll-62dfa53a.spec.o .data (section) 0x110d5 acledit.dll-62dfa53a.spec.o .data (section) 0x110f1 acledit.dll-62dfa53a.spec.o .data (section) 0x11102 acledit.dll-62dfa53a.spec.o .data (section) 0x1110a acledit.dll-62dfa53a.spec.o .data (section) 0x11112 acledit.dll-62dfa53a.spec.o .data (section) 0x1111a acledit.dll-62dfa53a.spec.o .data (section) 0x11122 acledit.dll-62dfa53a.spec.o .rodata (section) 0xc dlls/acledit/main.o .data (section) 0x11 dlls/acledit/main.o .rodata.str1.1 (merged string section) 0x36 dlls/acledit/main.o .data (section) 0x73 dlls/acledit/main.o .rodata.str1.1 (merged string section) 0x8c dlls/acledit/main.o .rodata (section) 0x91 dlls/acledit/main.o .data (section) 0x96 dlls/acledit/main.o ld: fatal: relocations remain against allocatable but non-writable sections collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc failed make: *** [Makefile:1380: dlls/acledit/acledit.dll.so] Error 2 Error on line 759