Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659314 - dev-util/google-perftools-2.6.3 fails to build on arm64
Summary: dev-util/google-perftools-2.6.3 fails to build on arm64
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-26 22:20 UTC by Michael Lawrence
Modified: 2018-10-21 10:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build-log (build-.arm64.log,58.54 KB, text/plain)
2018-06-26 22:29 UTC, Michael Lawrence
Details
logs (config.log,104.20 KB, text/plain)
2018-06-26 23:36 UTC, Michael Lawrence
Details
logs (git-build-gperftools.log,167.64 KB, text/plain)
2018-06-26 23:38 UTC, Michael Lawrence
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lawrence 2018-06-26 22:20:46 UTC
fails to build 

distcc[12823] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from /usr/include/libunwind.h:7:0,
                 from src/stacktrace_libunwind-inl.h:47,
                 from src/stacktrace_impl_setup-inl.h:51,
                 from src/stacktrace.cc:108:
src/stacktrace_libunwind-inl.h: In function ‘int GetStackTrace_libunwind(void**, int, int)’:
src/stacktrace_libunwind-inl.h:112:3: error: ‘mcontext_t {aka struct sigcontext}’ has no member named ‘regs’; did you mean ‘gs’?
   unw_getcontext(&uc);
   ^
src/stacktrace_libunwind-inl.h: In function ‘int GetStackFrames_libunwind(void**, int*, int, int)’:
src/stacktrace_libunwind-inl.h:112:3: error: ‘mcontext_t {aka struct sigcontext}’ has no member named ‘regs’; did you mean ‘gs’?
   unw_getcontext(&uc);
   ^
src/stacktrace_libunwind-inl.h: In function ‘int GetStackTraceWithContext_libunwind(void**, int, int, const void*)’:
src/stacktrace_libunwind-inl.h:112:3: error: ‘mcontext_t {aka struct sigcontext}’ has no member named ‘regs’; did you mean ‘gs’?
   unw_getcontext(&uc);
   ^
src/stacktrace_libunwind-inl.h: In function ‘int GetStackFramesWithContext_libunwind(void**, int*, int, int, const void*)’:
src/stacktrace_libunwind-inl.h:112:3: error: ‘mcontext_t {aka struct sigcontext}’ has no member named ‘regs’; did you mean ‘gs’?
   unw_getcontext(&uc);
   ^
/bin/sh ./libtool  --tag=CXX   --mode=compile aarch64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -DTCMALLOC_SMALL_BUT_SLOW -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 -fsized-deallocation -faligned-new     -O2 -fno-strict-aliasing -fno-omit-frame-pointer -c -o src/libtcmalloc_internal_la-raw_printer.lo `test -f 'src/raw_printer.cc' || echo './'`src/raw_printer.cc
distcc[12732] ERROR: compile src/stacktrace.cc on localhost failed
make: *** [Makefile:4533: src/stacktrace.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile:  aarch64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -DTCMALLOC_SMALL_BUT_SLOW -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 -fsized-deallocation -faligned-new -O2 -fno-strict-aliasing -fno-omit-frame-pointer -c src/raw_printer.cc  -fPIC -DPIC -o src/.libs/libtcmalloc_internal_la-raw_printer.o
distcc[12907] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
 * ERROR: dev-util/google-perftools-2.6.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-util/google-perftools-2.6.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/google-perftools-2.6.3::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-util:google-perftools-2.6.3:20180626-214245.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/google-perftools-2.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/google-perftools-2.6.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/google-perftools-2.6.3/work/gperftools-2.6.3-.arm64'
 * S: '/var/tmp/portage/dev-util/google-perftools-2.6.3/work/gperftools-2.6.3'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (dev-util/google-perftools-2.6.3:0/4::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/dev-util:google-perftools-2.6.3:20180626-214245.log'
 *
Comment 1 Michael Lawrence 2018-06-26 22:29:56 UTC
Created attachment 537366 [details]
Build-log
Comment 2 Michael Lawrence 2018-06-26 23:36:13 UTC
Created attachment 537368 [details]
logs
Comment 3 Michael Lawrence 2018-06-26 23:38:04 UTC
Created attachment 537370 [details]
logs

https://github.com/gperftools/gperftools/releases/tag/gperftools-2.7

git clone done 

and it builds as well... arm64 multi abi wrapper ... semas to fuggle it.. 


make -j9 

make install..
Comment 4 Pacho Ramos gentoo-dev 2018-10-14 09:43:45 UTC
please recheck with 2.7
Comment 5 Michael Lawrence 2018-10-21 10:41:47 UTC
will do just moved apartments. 

can do shortly for rock64 or via rented chroot on scaleway.