myzhan / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gperftools could not be compiled with mingw due to multiple errors #653

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gperftools could not be compiled with mingw due to multiple errors.
2.
3.

What is the expected output? What do you see instead?

Expected to build successfully with:
./configure --prefix=/home/gperftools-build --disable-shared CXXFLAGS=-g

Instead, after multiple errors the following statement - make: Target `all' not 
remade because of errors.

What version of the product are you using? On what operating system?
$ gcc --version
gcc.exe (GCC) 4.8.1
mingw/msys on Windows 7

Please provide any additional information below.
./configure and make reports attached

Original issue reported on code.google.com by ars4...@gmail.com on 4 Oct 2014 at 9:04

Attachments:

GoogleCodeExporter commented 9 years ago
Hint from Issue 633 was used to resolve the issue.
Compiles fine if “MemoryBarrier” is changed to “MemoryBarier2” in 
atomicops-internals-x86.h and malloc_hook.cc

Original comment by ars4...@gmail.com on 7 Oct 2014 at 3:09

GoogleCodeExporter commented 9 years ago

Original comment by alkondratenko on 29 Nov 2014 at 10:48