Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526784 - cross-i686-w32-mingw32/gcc-4.8.3 - .../work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:52:3: error: 'ptrdiff_t' was not declared in this scope
Summary: cross-i686-w32-mingw32/gcc-4.8.3 - .../work/gcc-4.8.3/libsanitizer/intercepti...
Status: RESOLVED DUPLICATE of bug 525910
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-25 18:22 UTC by Dennis Schridde
Modified: 2015-01-17 19:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,92.04 KB, application/x-xz)
2014-10-25 18:22 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2014-10-25 18:22:31 UTC
Created attachment 387348 [details]
build.log.xz

/var/tmp/portage/cross-i686-w32-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc: In function 'void __interception::WriteJumpInstruction(char*, char*)':
/var/tmp/portage/cross-i686-w32-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:52:3: error: 'ptrdiff_t' was not declared in this scope
   ptrdiff_t offset = to - jmp_from - 5;
   ^
/var/tmp/portage/cross-i686-w32-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:52:13: error: expected ';' before 'offset'
   ptrdiff_t offset = to - jmp_from - 5;
             ^
/var/tmp/portage/cross-i686-w32-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:54:15: error: expected primary-expression before ')' token
   *(ptrdiff_t*)(jmp_from + 1) = offset;
               ^
/var/tmp/portage/cross-i686-w32-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:54:33: error: 'offset' was not declared in this scope
   *(ptrdiff_t*)(jmp_from + 1) = offset;
                                 ^
Comment 1 Dennis Schridde 2014-10-25 18:22:56 UTC
Same goes for cross-x86_64-w64-mingw32/gcc-4.8.3
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-25 18:30:57 UTC

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