evilsong / gperftools

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

[sparc] rc/base/atomicops-internals-x86.h:79:35: error: impossible constraint in âasmâ make: *** [libtcmalloc_minimal_la-tcmalloc.lo] #498

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. tar xvfz gperftools-2.0.tar.gz  & cd gperftools-2.0
2. ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --enable-shared --enable-clocale=gnu --enable-debug CFLAGS="-O3 
-mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-O3 -mcpu=v8 -Wa,-xarch=v8plusa" 
--build=sparc-linux
3. make

What is the expected output? What do you see instead?
fes-a120d19nas:/backup/fes-a120d19nas/zarafa/gperftools-2.0# make
/bin/sh ./libtool --tag=CXX   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src  
-I./src   -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free 
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree 
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc 
-fno-builtin-pvalloc  -Wno-unused-result   -O3 -mcpu=v8 -Wa,-xarch=v8plusa -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
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./src 
-DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free 
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree 
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc 
-fno-builtin-pvalloc -Wno-unused-result -O3 -mcpu=v8 -Wa,-xarch=v8plusa -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
./src/base/atomicops-internals-x86.h: In member function âvirtual 
SysAllocator* TCMallocImplementation::GetSystemAllocator()â:
./src/base/atomicops-internals-x86.h:79:35: error: impossible constraint in 
âasmâ
make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1

What version of the product are you using? On what operating system?
http://code.google.com/p/gperftools/downloads/detail?name=gperftools-2.0.tar.gz&
can=2&q=

Configured on a Netgear ReadyNAS DUO. Infrant IT3107 Sparc Prozessor with 300 
Mhz and 256 RAM. Operating System is a modified Debian Sarge with some packages 
of lenny.

Please provide any additional information below.

Original issue reported on code.google.com by gethesol...@gmail.com on 15 Feb 2013 at 5:32

Attachments:

GoogleCodeExporter commented 9 years ago
Currently gperftools does not provide atomic operation for sparc+linux and then 
src/base/atomicops.h tries to default include the x86 file. To fix it you'll 
need to implement the sparc+linux atomics as the implementation at 
src/base/atomicops-internals-xxx.

Original comment by zatr...@gmail.com on 16 Feb 2013 at 9:36

GoogleCodeExporter commented 9 years ago
Any further progress here. We are actively patching so it would be great to 
pull a fix in here.

Original comment by chapp...@gmail.com on 10 Mar 2013 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by chapp...@gmail.com on 10 Mar 2013 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by alkondratenko on 19 Jan 2014 at 1:22