Open sergio1990 opened 11 years ago
The same for me in ruby-2.0.0-p451
on
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Funny thing is that it works on ruby-2.0.0-p353
Same here.
Ruby 2.1.3
perftools.rb does not support ruby 2.1. You should use https://github.com/tmm1/stackprof instead.
probably not exactly the same issue, also on MacOS.
Installing perftools.rb 2.0.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/newuser/.rvm/rubies/ruby-2.0.0-p353/bin/ruby -r ./siteconf20150905-50854-rtzwku.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/newuser/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
/Users/newuser/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- debugger/ruby_core_source (LoadError)
from /Users/newuser/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from extconf.rb:16:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /Users/newuser/.rvm/gems/ruby-2.0.0-p353/gems/perftools.rb-2.0.1 for inspection.
Results logged to /Users/newuser/.rvm/gems/ruby-2.0.0-p353/extensions/x86_64-darwin-14/2.0.0/perftools.rb-2.0.1/gem_make.out
An error occurred while installing perftools.rb (2.0.1), and Bundler cannot continue.
Make sure that `gem install perftools.rb -v '2.0.1'` succeeds before bundling.
fix:
gem install debugger-ruby_core_source
is there a dependency lacking in gemspec file?
faced similar issue 'gem install debugger-ruby_core_source' fixed it, Thanks!
I try to install perftools.rb gem but it failed
Building native extensions. This could take a while... ERROR: Error installing perftools.rb: ERROR: Failed to build gem native extension.
(I'm about to compile google-perftools.. this will definitely take a while) -- tar zpxvf gperftools-2.0.tar.gz -- patch -p1 < ../../../patches/perftools.patch -- patch -p1 < ../../../patches/perftools-notests.patch -- patch -p1 < ../../../patches/perftools-pprof.patch -- patch -p1 < ../../../patches/perftools-gc.patch -- patch -p1 < ../../../patches/perftools-debug.patch -- patch -p1 < ../../../patches/perftools-objects.patch -- patch -p1 < ../../../patches/perftools-frames.patch -- patch -p1 < ../../../patches/perftools-realtime.patch -- patch -p1 < ../../../patches/perftools-pause.patch -- sed -i -e 's,SpinLock,ISpinLock,g' src/.cc src/.h src/base/.cc src/base/.h -- ./configure --disable-heap-profiler --disable-heap-checker --disable-debugalloc --disable-shared -- make * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/sergey/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb:6:in'
from extconf.rb:77:in '
from extconf.rb:40:in '
sys': make failed, please report to https://github.com/tmm1/perfools.rb/issues/new with /Users/sergey/.rvm/gems/ruby-2.0.0-p247/gems/perftools.rb-2.0.1/ext/src/mkmf.log and /Users/sergey/.rvm/gems/ruby-2.0.0-p247/gems/perftools.rb-2.0.1/ext/src/gperftools-2.0/config.log (RuntimeError) from extconf.rb:82:in
block (2 levels) inchdir' from extconf.rb:77:in
block inchdir' from extconf.rb:40:in
Gem files will remain installed in /Users/sergey/.rvm/gems/ruby-2.0.0-p247/gems/perftools.rb-2.0.1 for inspection. Results logged to /Users/sergey/.rvm/gems/ruby-2.0.0-p247/gems/perftools.rb-2.0.1/ext/gem_make.out
Content of /Users/sergey/.rvm/gems/ruby-2.0.0-p247/gems/perftools.rb-2.0.1/ext/src/mkmf.log:
tar zpxvf gperftools-2.0.tar.gz" x gperftools-2.0/ x gperftools-2.0/doc/ x gperftools-2.0/doc/index.html x gperftools-2.0/doc/designstyle.css x gperftools-2.0/doc/pprof_remote_servers.html x gperftools-2.0/doc/tcmalloc.html x gperftools-2.0/doc/overview.gif x gperftools-2.0/doc/pageheap.gif x gperftools-2.0/doc/spanmap.gif x gperftools-2.0/doc/threadheap.gif x gperftools-2.0/doc/t-test1.times.txt x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.1024.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.128.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.131072.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.16384.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.2048.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.256.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.32768.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.4096.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.512.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.64.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.65536.bytes.png x gperftools-2.0/doc/tcmalloc-opspercpusec.vs.threads.8192.bytes.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.1.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.12.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.16.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.2.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.20.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.3.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.4.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.5.threads.png x gperftools-2.0/doc/tcmalloc-opspersec.vs.size.8.threads.png x gperftools-2.0/doc/overview.dot x gperftools-2.0/doc/pageheap.dot x gperftools-2.0/doc/spanmap.dot x gperftools-2.0/doc/threadheap.dot x gperftools-2.0/doc/heapprofile.html x gperftools-2.0/doc/heap-example1.png x gperftools-2.0/doc/heap_checker.html x gperftools-2.0/doc/cpuprofile.html x gperftools-2.0/doc/cpuprofile-fileformat.html x gperftools-2.0/doc/pprof-test-big.gif x gperftools-2.0/doc/pprof-test.gif x gperftools-2.0/doc/pprof-vsnprintf-big.gif x gperftools-2.0/doc/pprof-vsnprintf.gif x gperftools-2.0/doc/pprof.1 x gperftools-2.0/m4/ x gperftools-2.0/m4/ac_have_attribute.m4 x gperftools-2.0/m4/acx_nanosleep.m4 x gperftools-2.0/m4/acx_pthread.m4 x gperftools-2.0/m4/compiler_characteristics.m4 x gperftools-2.0/m4/install_prefix.m4 x gperftools-2.0/m4/libtool.m4 x gperftools-2.0/m4/ltoptions.m4 x gperftools-2.0/m4/ltsugar.m4 x gperftools-2.0/m4/ltversion.m4 x gperftools-2.0/m4/lt~obsolete.m4 x gperftools-2.0/m4/namespaces.m4 x gperftools-2.0/m4/pc_from_ucontext.m4 x gperftools-2.0/m4/program_invocation_name.m4 x gperftools-2.0/m4/stl_namespace.m4 x gperftools-2.0/packages/ x gperftools-2.0/packages/rpm/ x gperftools-2.0/packages/rpm/rpm.spec x gperftools-2.0/packages/rpm.sh x gperftools-2.0/packages/deb.sh x gperftools-2.0/packages/deb/ x gperftools-2.0/packages/deb/README x gperftools-2.0/packages/deb/compat x gperftools-2.0/packages/deb/control x gperftools-2.0/packages/deb/copyright x gperftools-2.0/packages/deb/docs x gperftools-2.0/packages/deb/rules x gperftools-2.0/packages/deb/changelog x gperftools-2.0/packages/deb/libgperftools-dev.dirs x gperftools-2.0/packages/deb/libgperftools-dev.install x gperftools-2.0/packages/deb/libgperftools0.dirs x gperftools-2.0/packages/deb/libgperftools0.install x gperftools-2.0/packages/deb/libgperftools0.manpages x gperftools-2.0/src/ x gperftools-2.0/src/base/ x gperftools-2.0/src/base/logging.cc x gperftools-2.0/src/base/dynamic_annotations.c x gperftools-2.0/src/base/logging.h x gperftools-2.0/src/base/commandlineflags.h x gperftools-2.0/src/base/basictypes.h x gperftools-2.0/src/base/dynamic_annotations.h x gperftools-2.0/src/base/googleinit.h x gperftools-2.0/src/base/simple_mutex.h x gperftools-2.0/src/base/sysinfo.h x gperftools-2.0/src/base/spinlock.h x gperftools-2.0/src/base/spinlock_internal.h x gperftools-2.0/src/base/atomicops.h x gperftools-2.0/src/base/atomicops-internals-macosx.h x gperftools-2.0/src/base/atomicops-internals-linuxppc.h x gperftools-2.0/src/base/atomicops-internals-windows.h x gperftools-2.0/src/base/atomicops-internals-x86.h x gperftools-2.0/src/base/spinlock_win32-inl.h x gperftools-2.0/src/base/spinlock_linux-inl.h x gperftools-2.0/src/base/spinlock_posix-inl.h x gperftools-2.0/src/base/synchronization_profiling.h x gperftools-2.0/src/base/atomicops-internals-arm-generic.h x gperftools-2.0/src/base/atomicops-internals-arm-v6plus.h x gperftools-2.0/src/base/spinlock.cc x gperftools-2.0/src/base/spinlock_internal.cc x gperftools-2.0/src/base/atomicops-internals-x86.cc x gperftools-2.0/src/base/elf_mem_image.cc x gperftools-2.0/src/base/vdso_support.cc x gperftools-2.0/src/base/elf_mem_image.h x gperftools-2.0/src/base/vdso_support.h x gperftools-2.0/src/base/sysinfo.cc x gperftools-2.0/src/base/cycleclock.h x gperftools-2.0/src/base/arm_instruction_set_select.h x gperftools-2.0/src/base/thread_annotations.h x gperftools-2.0/src/base/elfcore.h x gperftools-2.0/src/base/linux_syscall_support.h x gperftools-2.0/src/base/linuxthreads.h x gperftools-2.0/src/base/stl_allocator.h x gperftools-2.0/src/base/thread_lister.h x gperftools-2.0/src/base/thread_lister.c x gperftools-2.0/src/base/linuxthreads.cc x gperftools-2.0/src/base/low_level_alloc.cc x gperftools-2.0/src/base/low_level_alloc.h x gperftools-2.0/src/google/ x gperftools-2.0/src/google/heap-checker.h x gperftools-2.0/src/google/heap-profiler.h x gperftools-2.0/src/google/malloc_extension.h x gperftools-2.0/src/google/malloc_extension_c.h x gperftools-2.0/src/google/malloc_hook.h x gperftools-2.0/src/google/malloc_hook_c.h x gperftools-2.0/src/google/profiler.h x gperftools-2.0/src/google/stacktrace.h x gperftools-2.0/src/google/tcmalloc.h x gperftools-2.0/src/gperftools/ x gperftools-2.0/src/gperftools/stacktrace.h x gperftools-2.0/src/gperftools/malloc_hook.h x gperftools-2.0/src/gperftools/malloc_hook_c.h x gperftools-2.0/src/gperftools/malloc_extension.h x gperftools-2.0/src/gperftools/malloc_extension_c.h x gperftools-2.0/src/gperftools/heap-profiler.h x gperftools-2.0/src/gperftools/heap-checker.h x gperftools-2.0/src/gperftools/profiler.h x gperftools-2.0/src/gperftools/tcmalloc.h.in x gperftools-2.0/src/solaris/ x gperftools-2.0/src/solaris/libstdc++.la x gperftools-2.0/src/tests/ x gperftools-2.0/src/tests/addressmap_unittest.cc x gperftools-2.0/src/tests/atomicops_unittest.cc x gperftools-2.0/src/tests/current_allocated_bytes_test.cc x gperftools-2.0/src/tests/debugallocation_test.cc x gperftools-2.0/src/tests/debugallocation_test.sh x gperftools-2.0/src/tests/frag_unittest.cc x gperftools-2.0/src/tests/getpc_test.cc x gperftools-2.0/src/tests/heap-checker-death_unittest.sh x gperftools-2.0/src/tests/heap-checker_unittest.cc x gperftools-2.0/src/tests/heap-checker_unittest.sh x gperftools-2.0/src/tests/heap-profiler_unittest.cc x gperftools-2.0/src/tests/heap-profiler_unittest.sh x gperftools-2.0/src/tests/low_level_alloc_unittest.cc x gperftools-2.0/src/tests/malloc_extension_c_test.c x gperftools-2.0/src/tests/malloc_extension_test.cc x gperftools-2.0/src/tests/malloc_hook_test.cc x gperftools-2.0/src/tests/testutil.h x gperftools-2.0/src/tests/testutil.cc x gperftools-2.0/src/tests/markidle_unittest.cc x gperftools-2.0/src/tests/maybe_threads_unittest.sh x gperftools-2.0/src/tests/memalign_unittest.cc x gperftools-2.0/src/tests/packed-cache_test.cc x gperftools-2.0/src/tests/page_heap_test.cc x gperftools-2.0/src/tests/pagemap_unittest.cc x gperftools-2.0/src/tests/profile-handler_unittest.cc x gperftools-2.0/src/tests/profiledata_unittest.cc x gperftools-2.0/src/tests/profiler_unittest.cc x gperftools-2.0/src/tests/profiler_unittest.sh x gperftools-2.0/src/tests/raw_printer_test.cc x gperftools-2.0/src/tests/realloc_unittest.cc x gperftools-2.0/src/tests/sampler_test.cc x gperftools-2.0/src/tests/sampling_test.cc x gperftools-2.0/src/tests/sampling_test.sh x gperftools-2.0/src/tests/simple_compat_test.cc x gperftools-2.0/src/tests/stack_trace_table_test.cc x gperftools-2.0/src/tests/stacktrace_unittest.cc x gperftools-2.0/src/tests/system-alloc_unittest.cc x gperftools-2.0/src/tests/tcmalloc_unittest.cc x gperftools-2.0/src/tests/tcmalloc_large_unittest.cc x gperftools-2.0/src/tests/thread_dealloc_unittest.cc x gperftools-2.0/src/third_party/ x gperftools-2.0/src/third_party/valgrind.h x gperftools-2.0/src/windows/ x gperftools-2.0/src/windows/google/ x gperftools-2.0/src/windows/google/tcmalloc.h x gperftools-2.0/src/windows/gperftools/ x gperftools-2.0/src/windows/gperftools/tcmalloc.h.in x gperftools-2.0/src/windows/gperftools/tcmalloc.h x gperftools-2.0/src/windows/port.h x gperftools-2.0/src/windows/mingw.h x gperftools-2.0/src/windows/mini_disassembler.h x gperftools-2.0/src/windows/mini_disassembler_types.h x gperftools-2.0/src/windows/preamble_patcher.h x gperftools-2.0/src/windows/port.cc x gperftools-2.0/src/windows/ia32_modrm_map.cc x gperftools-2.0/src/windows/ia32_opcode_map.cc x gperftools-2.0/src/windows/mini_disassembler.cc x gperftools-2.0/src/windows/patch_functions.cc x gperftools-2.0/src/windows/preamble_patcher.cc x gperftools-2.0/src/windows/preamble_patcher_with_stub.cc x gperftools-2.0/src/windows/get_mangled_names.cc x gperftools-2.0/src/windows/override_functions.cc x gperftools-2.0/src/windows/config.h x gperftools-2.0/src/windows/preamble_patcher_test.cc x gperftools-2.0/src/windows/shortproc.asm x gperftools-2.0/src/windows/auto_testing_hook.h x gperftools-2.0/src/windows/nm-pdb.c x gperftools-2.0/src/windows/addr2line-pdb.c x gperftools-2.0/src/config.h.in x gperftools-2.0/src/profiler.cc x gperftools-2.0/src/profile-handler.cc x gperftools-2.0/src/profiledata.cc x gperftools-2.0/src/profiledata.h x gperftools-2.0/src/profile-handler.h x gperftools-2.0/src/getpc.h x gperftools-2.0/src/stacktrace.cc x gperftools-2.0/src/stacktrace_config.h x gperftools-2.0/src/stacktrace_generic-inl.h x gperftools-2.0/src/stacktrace_libunwind-inl.h x gperftools-2.0/src/stacktrace_arm-inl.h x gperftools-2.0/src/stacktrace_powerpc-inl.h x gperftools-2.0/src/stacktrace_x86-inl.h x gperftools-2.0/src/stacktrace_win32-inl.h x gperftools-2.0/src/tcmalloc.cc x gperftools-2.0/src/common.h x gperftools-2.0/src/internal_logging.h x gperftools-2.0/src/system-alloc.h x gperftools-2.0/src/packed-cache-inl.h x gperftools-2.0/src/tcmalloc_guard.h x gperftools-2.0/src/pagemap.h x gperftools-2.0/src/sampler.h x gperftools-2.0/src/central_freelist.h x gperftools-2.0/src/linked_list.h x gperftools-2.0/src/libc_override.h x gperftools-2.0/src/libc_override_gcc_and_weak.h x gperftools-2.0/src/libc_override_glibc.h x gperftools-2.0/src/libc_override_osx.h x gperftools-2.0/src/libc_override_redefine.h x gperftools-2.0/src/page_heap.h x gperftools-2.0/src/page_heap_allocator.h x gperftools-2.0/src/span.h x gperftools-2.0/src/static_vars.h x gperftools-2.0/src/symbolize.h x gperftools-2.0/src/thread_cache.h x gperftools-2.0/src/stack_trace_table.h x gperftools-2.0/src/malloc_hook-inl.h x gperftools-2.0/src/malloc_hook_mmap_linux.h x gperftools-2.0/src/malloc_hook_mmap_freebsd.h x gperftools-2.0/src/maybe_threads.h x gperftools-2.0/src/addressmap-inl.h x gperftools-2.0/src/raw_printer.h x gperftools-2.0/src/heap-profile-table.h x gperftools-2.0/src/heap-checker.cc x gperftools-2.0/src/heap-checker-bcad.cc x gperftools-2.0/src/debugallocation.cc x gperftools-2.0/src/common.cc x gperftools-2.0/src/internal_logging.cc x gperftools-2.0/src/system-alloc.cc x gperftools-2.0/src/memfs_malloc.cc x gperftools-2.0/src/central_freelist.cc x gperftools-2.0/src/page_heap.cc x gperftools-2.0/src/sampler.cc x gperftools-2.0/src/span.cc x gperftools-2.0/src/stack_trace_table.cc x gperftools-2.0/src/static_vars.cc x gperftools-2.0/src/symbolize.cc x gperftools-2.0/src/thread_cache.cc x gperftools-2.0/src/malloc_hook.cc x gperftools-2.0/src/malloc_extension.cc x gperftools-2.0/src/maybe_threads.cc x gperftools-2.0/src/heap-profile-table.cc x gperftools-2.0/src/heap-profiler.cc x gperftools-2.0/src/raw_printer.cc x gperftools-2.0/src/memory_region_map.cc x gperftools-2.0/src/config_for_unittests.h x gperftools-2.0/src/memory_region_map.h x gperftools-2.0/src/tcmalloc.h x gperftools-2.0/src/pprof x gperftools-2.0/vsprojects/ x gperftools-2.0/vsprojects/addr2line-pdb/ x gperftools-2.0/vsprojects/addr2line-pdb/addr2line-pdb.vcproj x gperftools-2.0/vsprojects/addressmap_unittest/ x gperftools-2.0/vsprojects/addressmap_unittest/addressmap_unittest.vcproj x gperftools-2.0/vsprojects/current_allocated_bytes_test/ x gperftools-2.0/vsprojects/current_allocated_bytes_test/current_allocated_bytes_test.vcproj x gperftools-2.0/vsprojects/frag_unittest/ x gperftools-2.0/vsprojects/frag_unittest/frag_unittest.vcproj x gperftools-2.0/vsprojects/libtcmalloc_minimal/ x gperftools-2.0/vsprojects/libtcmalloc_minimal/libtcmalloc_minimal.vcproj x gperftools-2.0/vsprojects/low_level_alloc_unittest/ x gperftools-2.0/vsprojects/low_level_alloc_unittest/low_level_alloc_unittest.vcproj x gperftools-2.0/vsprojects/malloc_extension_test/ x gperftools-2.0/vsprojects/malloc_extension_test/malloc_extension_test.vcproj x gperftools-2.0/vsprojects/malloc_hook_test/ x gperftools-2.0/vsprojects/malloc_hook_test/malloc_hook_test.vcproj x gperftools-2.0/vsprojects/markidle_unittest/ x gperftools-2.0/vsprojects/markidle_unittest/markidle_unittest.vcproj x gperftools-2.0/vsprojects/nm-pdb/ x gperftools-2.0/vsprojects/nm-pdb/nm-pdb.vcproj x gperftools-2.0/vsprojects/packed-cache_test/ x gperftools-2.0/vsprojects/packed-cache_test/packed-cache_test.vcproj x gperftools-2.0/vsprojects/page_heap_test/ x gperftools-2.0/vsprojects/page_heap_test/page_heap_test.vcproj x gperftools-2.0/vsprojects/pagemap_unittest/ x gperftools-2.0/vsprojects/pagemap_unittest/pagemap_unittest.vcproj x gperftools-2.0/vsprojects/preamble_patcher_test/ x gperftools-2.0/vsprojects/preamble_patcher_test/preamble_patcher_test.vcproj x gperftools-2.0/vsprojects/realloc_unittest/ x gperftools-2.0/vsprojects/realloc_unittest/realloc_unittest.vcproj x gperftools-2.0/vsprojects/sampler_test/ x gperftools-2.0/vsprojects/sampler_test/sampler_test.vcproj x gperftools-2.0/vsprojects/stack_trace_table_test/ x gperftools-2.0/vsprojects/stack_trace_table_test/stack_trace_table_test.vcproj x gperftools-2.0/vsprojects/tcmalloc_minimal_large/ x gperftools-2.0/vsprojects/tcmalloc_minimal_large/tcmalloc_minimal_large_unittest.vcproj x gperftools-2.0/vsprojects/tcmalloc_minimal_unittest/ x gperftools-2.0/vsprojects/tcmalloc_minimal_unittest/tcmalloc_minimal_unittest.vcproj x gperftools-2.0/vsprojects/thread_dealloc_unittest/ x gperftools-2.0/vsprojects/thread_dealloc_unittest/thread_dealloc_unittest.vcproj x gperftools-2.0/vsprojects/tmu-static/ x gperftools-2.0/vsprojects/tmu-static/tmu-static.vcproj x gperftools-2.0/README x gperftools-2.0/configure.ac x gperftools-2.0/aclocal.m4 x gperftools-2.0/AUTHORS x gperftools-2.0/COPYING x gperftools-2.0/ChangeLog x gperftools-2.0/INSTALL x gperftools-2.0/NEWS x gperftools-2.0/READMEwindows.txt x gperftools-2.0/TODO x gperftools-2.0/Makefile.am x gperftools-2.0/Makefile.in x gperftools-2.0/configure x gperftools-2.0/compile x gperftools-2.0/config.guess x gperftools-2.0/config.sub x gperftools-2.0/depcomp x gperftools-2.0/install-sh x gperftools-2.0/ltmain.sh x gperftools-2.0/missing x gperftools-2.0/mkinstalldirs x gperftools-2.0/libtool x gperftools-2.0/gperftools.sln "patch -p1 < ../../../patches/perftools.patch" patching file Makefile.in Hunk #1 succeeded at 1738 (offset 371 lines). patching file src/profile-handler.cc Hunk #1 succeeded at 293 with fuzz 2 (offset 29 lines). Hunk #2 succeeded at 339 (offset 29 lines). patching file src/profiledata.cc patching file src/profiledata.h patching file src/profiler.cc Hunk #1 succeeded at 68 (offset 5 lines). Hunk #2 succeeded at 272 (offset 5 lines). Hunk #3 succeeded at 288 (offset 5 lines). patching file src/stacktrace.cc Hunk #1 succeeded at 52 with fuzz 2. Hunk #2 succeeded at 109 (offset 39 lines). "patch -p1 < ../../../patches/perftools-notests.patch" patching file Makefile.in "patch -p1 < ../../../patches/perftools-pprof.patch" patching file src/pprof Hunk #1 succeeded at 581 (offset 21 lines). Hunk #2 succeeded at 611 (offset 21 lines). Hunk #3 succeeded at 2892 (offset 455 lines). Hunk #4 succeeded at 2905 (offset 455 lines). Hunk #5 succeeded at 2930 (offset 455 lines). Hunk #6 succeeded at 3862 (offset 484 lines). "patch -p1 < ../../../patches/perftools-gc.patch" patching file src/profiledata.cc patching file src/profiledata.h patching file src/profiler.cc Hunk #1 succeeded at 92 (offset 5 lines). Hunk #2 succeeded at 230 (offset 5 lines). Hunk #3 succeeded at 319 (offset 5 lines). "patch -p1 < ../../../patches/perftools-debug.patch" patching file Makefile.in Hunk #1 succeeded at 1720 (offset 353 lines). "patch -p1 < ../../../patches/perftools-objects.patch" patching file src/profile-handler.cc patching file src/profiler.cc "patch -p1 < ../../../patches/perftools-frames.patch" patching file src/profiledata.h "patch -p1 < ../../../patches/perftools-realtime.patch" patching file src/profile-handler.cc "patch -p1 < ../../../patches/perftools-pause.patch" patching file src/gperftools/profiler.h patching file src/profiler.cc patching file src/profiler.cc "sed -i -e 's,SpinLock,ISpinLock,g' src/.cc src/.h src/base/.cc src/base/_.h" "./configure --disable-heap-profiler --disable-heap-checker --disable-debugalloc --disable-shared" checking build system type... i386-apple-darwin12.4.0 checking host system type... i386-apple-darwin12.4.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... clang checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking dependency style of clang... gcc3 checking how to run the C preprocessor... clang -E checking whether clang and cc understand -c and -o together... yes checking for objcopy... no checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm checking the name lister (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm output from clang object... ok checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin12.4.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin12.4.0 dyld checking how to hardcode library paths into programs... immediate checking for inline... inline checking for attribute... yes checking for ANSI C header files... (cached) yes checking for __int64... no checking for struct mallinfo... no checking for Elf32_Versym... no checking for sbrk... yes checking for geteuid... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking sys/malloc.h usability... yes checking sys/malloc.h presence... yes checking for sys/malloc.h... yes checking malloc/malloc.h usability... yes checking malloc/malloc.h presence... yes checking for malloc/malloc.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking libunwind.h usability... yes checking libunwind.h presence... yes checking for libunwind.h... yes checking unwind.h usability... yes checking unwind.h presence... yes checking for unwind.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking conflict-signal.h usability... no checking conflict-signal.h presence... no checking for conflict-signal.h... no checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking linux/ptrace.h usability... no checking linux/ptrace.h presence... no checking for linux/ptrace.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking valgrind.h usability... no checking valgrind.h presence... no checking for valgrind.h... no checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking for features.h... (cached) no checking whether cfree is declared... no checking whether posix_memalign is declared... no checking whether memalign is declared... no checking whether valloc is declared... no checking whether pvalloc is declared... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking if int32_t is the same type as intptr_t... no checking ucontext.h usability... no checking ucontext.h presence... no checking for ucontext.h... no checking sys/ucontext.h usability... yes checking sys/ucontext.h presence... yes checking for sys/ucontext.h... yes checking cygwin/signal.h usability... no checking cygwin/signal.h presence... no checking for cygwin/signal.h... no checking how to access the program counter from a struct ucontext... uc_mcontext->ss.rip checking for backtrace in -lunwind... no checking if the compiler supports -Wno-unused-result... yes checking printf format code for printing a size_t and ssize_t... l checking for builtin_stack_pointer()... no checking for environ... no checking for thread... yes checking if malloc_hook is declared volatile... no checking if nanosleep requires any libraries... no checking whether uname is declared... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking whether to check for GCC pthread/shared inconsistencies... no checking whether what we have so far is sufficient with -nostdlib... no checking whether -lpthread saves the day... no configure: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib checking whether the compiler implements namespaces... yes checking what namespace STL code is in... std checking for program_invocation_name... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/gperftools/tcmalloc.h config.status: creating src/windows/gperftools/tcmalloc.h config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands make Makefile:2935: warning: overriding commands for target
heap-checker_debug_unittest.sh' Makefile:2932: warning: ignoring old commands for target
heap-checker_debug_unittest.sh' Makefile:2950: warning: overriding commands for targetheap-profiler_debug_unittest.sh' Makefile:2947: warning: ignoring old commands for target
heap-profiler_debug_unittest.sh' Makefile:3040: warning: overriding commands for targetsampling_debug_test.sh' Makefile:3037: warning: ignoring old commands for target
sampling_debug_test.sh' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -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 -DNO_FRAME_POINTER -g -O2 -DBUILD_FOR_RUBY -fPIC -O0 -ggdb -MT libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF .deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c -o libtcmalloc_minimal_la-tcmalloc.lotest -f 'src/tcmalloc.cc' || echo './'
src/tcmalloc.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -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 -DNO_FRAME_POINTER -g -O2 -DBUILD_FOR_RUBY -fPIC -O0 -ggdb -MT libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF .deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c src/tcmalloc.cc -o libtcmalloc_minimal_la-tcmalloc.o cc1plus: error: unrecognized command line option "-Wno-unused-result" make: *\ [libtcmalloc_minimal_la-tcmalloc.lo] Error 1