Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69183

Summary: wine-20041019 does not build with -fstack-protector
Product: Gentoo Linux Reporter: Anders Hellgren <kallamej>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anders Hellgren gentoo-dev 2004-10-27 13:41:27 UTC
As said in bug 61357 comment 1, wine does not build with -fstack-protector as it breaks the preloader compilation. Please filter -fstack-protector.


Reproducible: Always
Steps to Reproduce:
1.CFLAGS="-fstack-protector"
2.emerge =app-emulation/wine-20041019

Actual Results:  
Compilation fails:

gcc -o wine-preloader -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x78000000
preloader.o -L../libs/port -lwine_port
preloader.o(.text+0x2c): In function `wld_mmap':
/var/tmp/portage/wine-20041019/work/wine-20041019/loader/preloader.c:223:
undefined reference to `__guard'
preloader.o(.text+0x71):/var/tmp/portage/wine-20041019/work/wine-20041019/loader/preloader.c:245:
undefined reference to `__guard'
preloader.o(.text+0x86):/var/tmp/portage/wine-20041019/work/wine-20041019/loader/preloader.c:245:
undefined reference to `__stack_smash_handler'
[snip]
Comment 1 SpanKY gentoo-dev 2004-10-27 18:24:52 UTC

*** This bug has been marked as a duplicate of 66002 ***