Package Details: lib32-gperftools 2.9.1-1

Git Clone URL: (read-only, click to copy)
Package Base: lib32-gperftools
Description: Fast, multi-threaded malloc and nifty performance analysis tools (32-bit)
Upstream URL:
Licenses: BSD
Submitter: shad0w73
Maintainer: AstroProfundis
Last Packager: AstroProfundis
Votes: 21
Popularity: 0.000052
First Submitted: 2013-07-13 12:12
Last Updated: 2021-03-15 10:17

Latest Comments

1 2 Next › Last »

darkprof commented on 2020-08-07 06:04

version 2.8 released

darkprof commented on 2019-08-07 13:24

cmake first finding libraries in /lib64, but not finding in /lib32, respectively, links with a 64 bit library. If you make symlinks for /usr/lib32/libtcmalloc* then the problem can be solved.

AstroProfundis commented on 2017-03-22 02:53

@Hi-Angel Thank you for the info! Glad to know you have fixed the issue. By doing a quick search & reading, it seems to me that, as you said, it may only breaks when there's an actual job need it. Might be some specific libary or even hardware related part.

By testing again on my building machine (an old Linode server), I still failed to reproduce the same error, and as the related params are passed in from makepkg.conf (at least on my system), I believe it's not necessary to modify PKGBUILD.

Hi-Angel commented on 2017-03-18 05:12

@AstroProfundis sorry, I didn't get reply-notifications, for some reason I have to explicitly enable them.

Anyway, I got here again from a search-engine with the same problem, though for different package.

After some debugging I found the reason: it's the option "-Wl,--as-needed" causing it. Perhaps it doesn't work well with "-flto", though before it worked for me (except the case with lib32-gperftools). Perhaps it breaks when there is an actual job for the option.

Acc. to one post, the way to fix it should be "-Wl,--as-needed,--no-undefined", but for some reason it didn't work for me either, I had to remove the "--as-needed" completely to pass linking.

AstroProfundis commented on 2017-02-20 07:06

@hakayova Please refer the older comments, gcc-multlib is necessary to build this package, gcc does not support the '-m32' param.

hakayova commented on 2017-02-20 06:34

gcc-multilib conflicts with gcc and the installation asks to remove gcc, which I don't want to allow. Is there a way around?

AstroProfundis commented on 2017-02-11 01:48

@Hi-Angel I can't reproduce the error, I've tried following params and all seems fine on my side:

libtool: link: g++ -m32 -pthread -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 -mmmx -fno-omit-frame-pointer -Wno-unused-result -fsized-deallocation -march=native -mtune=generic -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -pthread -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o .libs/page_heap_test src/tests/page_heap_test-page_heap_test.o ./.libs/ -lpthread -pthread

Any more hints?

Hi-Angel commented on 2017-01-29 11:55

For me build fails with last lines:

libtool: link: g++ -m32 -pthread -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 -mmmx -fno-omit-frame-pointer -Wno-unused-result -fsized-deallocation -flto=2 -march=native -O3 -pipe -fno-stack-protector -fweb -fno-semantic-interposition -fmerge-all-constants -pthread -flto=2 -O3 -march=native -fweb -fno-semantic-interposition -fmerge-all-constants -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o .libs/page_heap_test src/tests/page_heap_test-page_heap_test.o ./.libs/ -lpthread -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib32/ undefined reference to `pthread_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib32/ undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make: *** [Makefile:3880: memalign_unittest] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().

AstroProfundis commented on 2015-10-05 15:23

@Binero gcc-multilib is necessary to build the package, if you somehow not able to install one, you can build it on another machine and copy the package to your target machine to install with pacman -U

If you intend to use it on a 32bit system, the gperftools in [Extra] has i686 arch.

Binero commented on 2015-10-05 15:17

Is there a way to get this to install without gcc-multilib?