buffer8848 / gperftools

Automatically exported from code.google.com/p/gperftools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fail in Snow Leopard

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. ./configure
2. make
3. #fail

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

In file included from src/stacktrace.cc:60:
src/stacktrace_libunwind-inl.h: At global scope:
src/stacktrace_libunwind-inl.h:53: error: thread-local storage not supported 
for this target
make: *** [stacktrace.lo] Error 1


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

Snow Leopard 10.6.1
latest perftools in svn trunk.

Please provide any additional information below.

None.

Original issue reported on code.google.com by stv...@gmail.com on 28 Oct 2009 at 2:58

The perftool version is revision 77.

Original comment by stv...@gmail.com on 28 Oct 2009 at 2:59

No surprise everything at SVN-head isn't working properly; thanks for the 
report.

I think you'll have to build with './configure --enable-frame-pointers' until 
this is
fixed (or use the latest release, which doesn't have this problem).  It may 
better
that way; libunwind still isn't that reliable in perftools, unfortunately.

Original comment by csilv...@gmail.com on 28 Oct 2009 at 3:42

  • Changed state: Accepted
Apparently you have libunwind.h on your system. Where did this header come 
from, is
there are working libunwind library, and if what is its origin?

Original comment by ppluzhni...@gmail.com on 28 Oct 2009 at 4:33

Yes, there is a libunwind.h located in:
-rw-r--r--  1 root  wheel   9.3K May 19 06:59 /usr/include/libunwind.h

I have never installed libunwind, so maybe apple shipped it with snow leopard?

Original comment by stv...@gmail.com on 28 Oct 2009 at 4:52

Thanks for the report.  We're trying to get our hands on a snow leopard machine 
so we
can figure out what it's doing with libunwind, and what the best fix is.

Original comment by csilv...@gmail.com on 3 Nov 2009 at 3:20

  • Added labels: Priority-Medium, Type-Defect
OK, I got a snow leopard machine, but it's 32-bit.  I think your system is 
64-bit? 
(That's where we try to use libunwind.)  Everything works properly for me.

I'll try to get a 64-bit snow leopard machine, but that may be harder for me.

Original comment by csilv...@gmail.com on 16 Nov 2009 at 9:58

This may no longer be relevant. I'm running 64-bit Snow Leopard 10.6.7

It builds without any errors.

Original comment by pravinp on 10 May 2011 at 11:56

Great! I'll close CannotReproduce.  (Anyone) feel free to reopen if you're 
seeing this again.

Original comment by csilv...@gmail.com on 10 May 2011 at 7:19

  • Changed state: CannotReproduce