I got some problem with wine (since wine 1.1.13) on hardened-sources ... actually using ... kernel -> 2.6.28-hardened-r7 #1 SMP Mon Apr 6 17:41:50 CEST 2009 x86_64 gcc -> x86_64-pc-linux-gnu-3.4.6-hardened Code: __bb_init_func': preloader.c:(.text+0x4f): undefined reference to `__guard' preloader.c:(.text+0x70): undefined reference to `__stack_smash_handler' preloader.o: In function `__stack_chk_fail_local': preloader.c:(.text+0x8e): undefined reference to `__guard' preloader.c:(.text+0xaf): undefined reference to `__stack_smash_handler' preloader.o: In function `__stack_chk_fail': preloader.c:(.text+0xcd): undefined reference to `__guard' preloader.c:(.text+0xee): undefined reference to `__stack_smash_handler' preloader.o: In function `wld_mmap': preloader.c:(.text+0x114): undefined reference to `__guard' preloader.c:(.text+0x180): undefined reference to `__stack_smash_handler' preloader.o: In function `wld_strcmp': preloader.c:(.text+0x1af): undefined reference to `__guard' preloader.c:(.text+0x1f8): undefined reference to `__stack_smash_handler' preloader.o: In function `wld_vsprintf': preloader.c:(.text+0x222): undefined reference to `__guard' preloader.c:(.text+0x2b0): undefined reference to `__stack_smash_handler' preloader.o: In function `wld_printf': preloader.c:(.text+0x3ca): undefined reference to `__guard' preloader.c:(.text+0x42e): undefined reference to `__stack_smash_handler' preloader.o: In function `fatal_error': preloader.c:(.text+0x463): undefined reference to `__guard' preloader.o: In function `get_auxiliary': preloader.c:(.text+0x4be): undefined reference to `__guard' preloader.c:(.text+0x4f5): undefined reference to `__stack_smash_handler' preloader.o: In function `map_so_lib': preloader.c:(.text+0x52c): undefined reference to `__guard' preloader.c:(.text+0x9fd): undefined reference to `__guard' preloader.c:(.text+0xa1a): undefined reference to `__stack_smash_handler' preloader.o: In function `is_addr_reserved': preloader.c:(.text+0xc5a): undefined reference to `__guard' preloader.c:(.text+0xcaa): undefined reference to `__stack_smash_handler' preloader.o: In function `is_in_preload_range': preloader.c:(.text+0xcd3): undefined reference to `__guard' preloader.c:(.text+0xd09): undefined reference to `__stack_smash_handler' preloader.c:(.text+0xd1e): undefined reference to `__guard' preloader.o: In function `wld_start': preloader.c:(.text+0xd3d): undefined reference to `__guard' preloader.c:(.text+0x1619): undefined reference to `__guard' preloader.c:(.text+0x1638): undefined reference to `__stack_smash_handler' collect2: ld returned 1 exit status make[1]: *** [wine-preloader] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.19/work/wine-1.1.19/loader' make: *** [loader] Error 2 if anybody can help a will be thankfull.
nurmi wrote:> I got some problem with wine (since wine 1.1.13) on hardened-sourcesUse latest Wine version, there were few bugs fixed related to this. If it still doesn't work - I guess you out of luck. Preloader is something that should not be messed with. It's not using any libraries and there should be no "extra" functions in it's source. Also using this type of "hardening" will brake number of places in Wine, including some copy-protection programs.
i already tried the latest wine sources ... nothing changed ... so it seems like wine could not be compiled on hardened profile ... which is quite sad
nurmi wrote:> i already tried the latest wine sources ... nothing changed ... so it seems like wine could not be compiled on hardened profile ... which is quite sadFile bug with your distro. You probably have broken headers/libraries/compiler.
I do that before :) hmm i switch the gcc profile to x86_64-pc-linux-gnu-3.4.6-vanilla and then wine-1.19 was able to compile ... only some font related warnings shows up seems like wine dont like hardened gcc profile