Skip to content

i386: clone() asm clobbers too many registers w/-fsanitize=address #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
I've been compiling google breakpad with -fsanitize=address option for a while 
now but since I've updated my toolchain from gcc 4.8.3 to 4.9.1, it does not 
compile anymore with the AdressSanitizer flag.

The following error occurs :
./src/third_party/lss/linux_syscall_support.h: In member function 'bool 
google_breakpad::ExceptionHandler::GenerateDump(google_breakpad::ExceptionHandle
r::CrashContext*)':
./src/third_party/lss/linux_syscall_support.h:1828:74: error: 'asm' operand has 
impossible constraints
                            : "esp", "memory", "ecx", "edx", "esi", "edi");

I'm currently cross-compiling from windows using gcc 4.9.1 provided by 
SourceryCodebench toolchain

GoogleBreakpad is currently using r31, I've tried to update to r34 but the same 
error still occurs


Original issue reported on code.google.com by david.ga...@gmail.com on 9 Mar 2015 at 10:01

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions