ddio / gperftools

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

make error under solaris #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make
2.
3.

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

Compile successfully for Solaris

What version of the product are you using? On what operating system?

tahiti > uname -X
System = SunOS
Node = tahiti
Release = 5.8
KernelID = Generic_117350-59
Machine = sun4us

Please provide any additional information below.

tahiti > make
if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I./src  -I./src   -DNO_TCMALLOC_SAMPLES -D_REENTRANT -pthreads -DNDEBUG
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare   -g -O2 -MT
libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF
".deps/libtcmalloc_minimal_la-tcmalloc.Tpo" -c -o
libtcmalloc_minimal_la-tcmalloc.lo `test -f 'src/tcmalloc.cc' || echo
'./'`src/tcmalloc.cc; \
then mv -f ".deps/libtcmalloc_minimal_la-tcmalloc.Tpo"
".deps/libtcmalloc_minimal_la-tcmalloc.Plo"; else rm -f
".deps/libtcmalloc_minimal_la-tcmalloc.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES
-D_REENTRANT -pthreads -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -g -O2 -MT libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF
.deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c src/tcmalloc.cc  -fPIC -DPIC
-o .libs/libtcmalloc_minimal_la-tcmalloc.o
In file included from src/tcmalloc.cc:121:
src/google/malloc_extension.h:50:20: stdint.h: No such file or directory
src/base/atomicops-internals-x86.h: In function `void
   ExtractStats(TCMallocStats*, uint64_t*)':
src/base/atomicops-internals-x86.h:76: error: impossible constraint in `asm'
src/base/atomicops-internals-x86.h:76: error: impossible constraint in `asm'
src/base/atomicops-internals-x86.h:75: warning: `Atomic32 prev' might be used
   uninitialized in this function
src/base/atomicops-internals-x86.h:75: warning: `Atomic32 prev' might be used
   uninitialized in this function
make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1

Original issue reported on code.google.com by mine...@gmail.com on 8 Mar 2010 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by `` on 18 Jan 2012 at 9:48

GoogleCodeExporter commented 9 years ago
The problem isn't it's running on solaris, the problem is that your machine is
running (as far as I can tell) a SPARC processor.  Right now, perftools is only
ported to run on i386, x86_64, powerpc, and a few other architectures.  If you 
want
to to help port some of these basic libraries to sparc, we'd be happy to look 
at any
patches!  I'll keep the bug open, but at low priority; we don't have sparc 
expertise
or machines to develop such a thing ourselves, so we're depending on interested
parties for patches.

Original comment by csilv...@gmail.com on 8 Mar 2010 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by csilv...@gmail.com on 8 Mar 2010 at 4:32