[Bug 6035] New: Wine-preloader segfaults when compiled with GCC 4.1 unless using -fno-stack-protector

Wine Bugs wine-bugs at winehq.org
Wed Aug 23 02:28:08 CDT 2006


           Summary: Wine-preloader segfaults when compiled with GCC 4.1
                    unless using -fno-stack-protector
           Product: Wine
           Version: 0.9.19.
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: scott at open-vote.org


Found on the Ubuntu bug reports:

"The problem seems to be that the %gs register that holds the thread local stack
is not setup correctly since the normal _start function is not use in
wine-preloader. The stack protector uses the %gs register and the stack
protector is enabled by -fstack-protector.

If you compile the wine-preloader with -fno-stack-protector it will thus not
cause segmentation fault."

"The real fix is to correct the wine-preloader to follow proper
convention, I assume. For now turn off the stack protector as a
work-around and file a bug with the wine devs."

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list