1. * Package: dev-libs/dmalloc-5.5.2-r4
  2. * Repository: gentoo
  3. * Maintainer: jer@gentoo.org
  4. * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU
  5. * FEATURES: sandbox test userpriv usersandbox
  6. >>> Unpacking source...
  7. >>> Unpacking dmalloc-5.5.2.tgz to /tmp/portage/dev-libs/dmalloc-5.5.2-r4/work
  8. >>> Source unpacked in /tmp/portage/dev-libs/dmalloc-5.5.2-r4/work
  9. >>> Preparing source in /tmp/portage/dev-libs/dmalloc-5.5.2-r4/work/dmalloc-5.5.2 ...
  10. * Applying dmalloc-5.5.2-Makefile.in.patch ...
  11. [ ok ]
  12. * Applying dmalloc-5.5.2-cxx.patch ...
  13. [ ok ]
  14. * Running autoconf ...
  15. [ ok ]
  16. >>> Source prepared.
  17. >>> Configuring source in /tmp/portage/dev-libs/dmalloc-5.5.2-r4/work/dmalloc-5.5.2 ...
  18. ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-cxx --enable-shlib --disable-threads
  19. configure: loading site script /usr/share/config.site
  20. configure: loading site script /usr/share/crossdev/include/site/linux
  21. configure: loading site script /usr/share/crossdev/include/site/linux-gnu
  22. configure: loading site script /usr/share/crossdev/include/site/x86_64-linux-gnu
  23. configure: configurations for the dmalloc library
  24. configure: build utilities
  25. checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  26. checking whether the C compiler works... yes
  27. checking for C compiler default output file name... a.out
  28. checking for suffix of executables...
  29. checking whether we are cross compiling... no
  30. checking for suffix of object files... o
  31. checking whether we are using the GNU C compiler... yes
  32. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  33. checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
  34. checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
  35. checking whether we are using the GNU C++ compiler... yes
  36. checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
  37. checking for a BSD-compatible install... /usr/bin/install -c
  38. checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
  39. checking for an ANSI C-conforming const... yes
  40. checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
  41. checking for grep that handles long lines and -e... /bin/grep
  42. checking for egrep... /bin/grep -E
  43. checking for ANSI C header files... yes
  44. checking for sys/types.h... yes
  45. checking for sys/stat.h... yes
  46. checking for stdlib.h... yes
  47. checking for string.h... yes
  48. checking for memory.h... yes
  49. checking for strings.h... yes
  50. checking for inttypes.h... yes
  51. checking for stdint.h... yes
  52. checking for unistd.h... yes
  53. checking stdarg.h usability... yes
  54. checking stdarg.h presence... yes
  55. checking for stdarg.h... yes
  56. checking for stdlib.h... (cached) yes
  57. checking for string.h... (cached) yes
  58. checking for unistd.h... (cached) yes
  59. checking for sys/types.h... (cached) yes
  60. checking sys/mman.h usability... yes
  61. checking sys/mman.h presence... yes
  62. checking for sys/mman.h... yes
  63. checking shared library link args... ld -shared --whole-archive -soname $@ -o $@.t
  64. checking shared library extension... so
  65. checking C++ support... enabled
  66. checking thread support... disabled
  67. checking shlib support... enabled
  68. checking for size_t... yes
  69. checking dmalloc size unsigned... yes
  70. checking strdup macro... yes
  71. checking for mprotect... yes
  72. checking mprotect works... yes
  73. configure: important functionality
  74. checking for mmap... yes
  75. checking for sbrk... yes
  76. checking mmap usage... no
  77. checking for getpagesize... yes
  78. checking basic-block size... 12
  79. checking size of long... 8
  80. checking data-alignment size... 8
  81. checking for abort... yes
  82. checking abort safe... yes
  83. checking return type of signal handlers... void
  84. checking signal works... checking signal.h usability... yes
  85. checking signal.h presence... yes
  86. checking for signal.h... yes
  87. yes
  88. checking for getenv... yes
  89. checking getenv safe... yes
  90. checking sys/cygwin.h usability... no
  91. checking sys/cygwin.h presence... no
  92. checking for sys/cygwin.h... no
  93. checking w32api/windef.h usability... no
  94. checking w32api/windef.h presence... no
  95. checking for w32api/windef.h... no
  96. checking for w32api/winbase.h... no
  97. checking for GetEnvironmentVariableA... no
  98. checking constructor attribute... yes
  99. checking destructor attribute... yes
  100. checking return.h macros work... yes
  101. checking if ident works... yes
  102. configure: pthread particulars
  103. checking for library containing pthread_mutex_init... none required
  104. checking pthread.h usability... yes
  105. checking pthread.h presence... yes
  106. checking for pthread.h... yes
  107. checking pthreads.h usability... no
  108. checking pthreads.h presence... no
  109. checking for pthreads.h... no
  110. checking for pthread_mutex_init... yes
  111. checking for pthread_mutex_lock... yes
  112. checking for pthread_mutex_unlock... yes
  113. checking pthread mutex type... pthread_mutex_t
  114. checking pthread attribute initialization... 0
  115. configure: functions
  116. checking for atexit... yes
  117. checking for on_exit... yes
  118. checking for fork... yes
  119. checking for gethostname... yes
  120. checking for getpid... yes
  121. checking for getuid... yes
  122. checking for time... yes
  123. checking for ctime... yes
  124. checking for vprintf... yes
  125. checking for snprintf... yes
  126. checking for vsnprintf... yes
  127. checking for recalloc... no
  128. checking for memalign... yes
  129. checking for valloc... yes
  130. checking for memcmp... yes
  131. checking for memcpy... yes
  132. checking for memmove... yes
  133. checking for memset... yes
  134. checking for strchr... yes
  135. checking for strrchr... yes
  136. checking for strlen... yes
  137. checking for strcmp... yes
  138. checking for strcpy... yes
  139. checking for strsep... yes
  140. configure: various functions for argv files
  141. checking for atoi... yes
  142. checking for atol... yes
  143. checking for getenv... (cached) yes
  144. checking for strchr... (cached) yes
  145. checking for strcmp... (cached) yes
  146. checking for strcpy... (cached) yes
  147. checking for strlen... (cached) yes
  148. checking for strncmp... yes
  149. checking for strncpy... yes
  150. checking for strsep... (cached) yes
  151. configure: various functions for argument checking
  152. checking for atoi... (cached) yes
  153. checking for atol... (cached) yes
  154. checking for bcmp... yes
  155. checking for bcopy... yes
  156. checking for bzero... yes
  157. checking for index... yes
  158. checking for memccpy... yes
  159. checking for memchr... yes
  160. checking for memcmp... (cached) yes
  161. checking for memcpy... (cached) yes
  162. checking for memmove... (cached) yes
  163. checking for memset... (cached) yes
  164. checking for rindex... yes
  165. checking for strcasecmp... yes
  166. checking for strcat... yes
  167. checking for strchr... (cached) yes
  168. checking for strcmp... (cached) yes
  169. checking for strcpy... (cached) yes
  170. checking for strcspn... yes
  171. checking for strlen... (cached) yes
  172. checking for strncasecmp... yes
  173. checking for strncat... yes
  174. checking for strncmp... (cached) yes
  175. checking for strncpy... (cached) yes
  176. checking for strpbrk... yes
  177. checking for strrchr... (cached) yes
  178. checking for strspn... yes
  179. checking for strstr... yes
  180. checking for strtok... yes
  181. configure: creating ./config.status
  182. config.status: creating Makefile
  183. config.status: creating conf.h
  184. config.status: executing dmalloc.h.2 commands
  185. config.status: executing settings.h commands
  186. configure:
  187. configure: Please check-out Makefile and conf.h to make sure that
  188. configure: sane configuration values were a result.
  189. configure:
  190. configure: You may want to change values in settings.h before
  191. configure: running 'make'.
  192. configure:
  193. configure: To run the basic library tests, you can execute:
  194. configure: make light
  195. configure: or
  196. configure: make heavy
  197. configure:
  198. >>> Source configured.
  199. >>> Compiling source in /tmp/portage/dev-libs/dmalloc-5.5.2-r4/work/dmalloc-5.5.2 ...
  200. make -j24
  201. rm -f dmalloc.h dmalloc.h.t
  202. rm -f dmalloc_rand.o
  203. cat ./dmalloc.h.1 dmalloc.h.2 ./dmalloc.h.3 > dmalloc.h.t
  204. rm -f dmalloc_argv.o
  205. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_rand.c -o ./dmalloc_rand.o
  206. rm -f dmallocc.o
  207. rm -f dmalloc_rand_sl.o
  208. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_argv.c -o ./dmalloc_argv.o
  209. rm -f dmallocc_sl.o
  210. x86_64-pc-linux-gnu-g++ -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c ./dmallocc.cc \
  211. -o ./dmallocc.o
  212. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_rand.c -o ./dmalloc_rand_sl.o
  213. x86_64-pc-linux-gnu-g++ -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c ./dmallocc.cc \
  214. -o ./dmallocc_sl.o
  215. mv dmalloc.h.t dmalloc.h
  216. rm -f arg_check.o
  217. rm -f compat.o
  218. rm -f dmalloc_tab.o
  219. rm -f env.o
  220. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c arg_check.c -o ./arg_check.o
  221. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c compat.c -o ./compat.o
  222. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_tab.c -o ./dmalloc_tab.o
  223. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c env.c -o ./env.o
  224. rm -f heap.o
  225. rm -f chunk.o
  226. rm -f error.o
  227. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c heap.c -o ./heap.o
  228. rm -f malloc.o
  229. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c chunk.c -o ./chunk.o
  230. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c error.c -o ./error.o
  231. rm -f dmalloc.o
  232. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c malloc.c -o ./malloc.o
  233. rm -f arg_check_sl.o
  234. rm -f compat_sl.o
  235. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc.c -o ./dmalloc.o
  236. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c arg_check.c -o ./arg_check_sl.o
  237. rm -f dmalloc_tab_sl.o
  238. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c compat.c -o ./compat_sl.o
  239. rm -f env_sl.o
  240. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_tab.c -o ./dmalloc_tab_sl.o
  241. rm -f heap_sl.o
  242. rm -f chunk_sl.o
  243. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c env.c -o ./env_sl.o
  244. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c heap.c -o ./heap_sl.o
  245. rm -f error_sl.o
  246. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c chunk.c -o ./chunk_sl.o
  247. rm -f malloc_sl.o
  248. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c error.c -o ./error_sl.o
  249. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c malloc.c -o ./malloc_sl.o
  250. heap.c: In function 'heap_extend':
  251. heap.c:120:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  252. heap.c: In function 'heap_extend':
  253. heap.c:120:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  254. error.c: In function '_dmalloc_die':
  255. error.c:637:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  256. error.c:642:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  257. error.c: In function '_dmalloc_vmessage':
  258. error.c:596:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  259. error.c:601:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  260. error.c: In function '_dmalloc_open_log':
  261. error.c:280:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  262. error.c: In function 'build_logfile_path':
  263. error.c:238:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  264. error.c: In function '_dmalloc_die':
  265. error.c:637:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  266. error.c:642:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  267. error.c: In function '_dmalloc_vmessage':
  268. error.c:596:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  269. error.c:601:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  270. error.c: In function '_dmalloc_open_log':
  271. error.c:280:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  272. error.c: In function 'build_logfile_path':
  273. error.c:238:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  274. malloc.c: In function 'dmalloc_realloc':
  275. malloc.c:928:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  276. malloc.c: In function 'dmalloc_malloc':
  277. malloc.c:821:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  278. malloc.c: In function 'dmalloc_realloc':
  279. malloc.c:928:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  280. malloc.c: In function 'dmalloc_malloc':
  281. malloc.c:821:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  282. ar cr libdmalloc.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o
  283. ar cr libdmalloccxx.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o dmallocc.o
  284. x86_64-pc-linux-gnu-ranlib libdmalloc.a
  285. x86_64-pc-linux-gnu-ranlib libdmalloccxx.a
  286. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libdmalloccxx.so.5 -o libdmalloccxx.so.5.5.2 arg_check_sl.o compat_sl.o dmalloc_rand_sl.o dmalloc_tab_sl.o env_sl.o heap_sl.o chunk_sl.o error_sl.o malloc_sl.o dmallocc_sl.o
  287. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libdmalloc.so.5 -o libdmalloc.so.5.5.2 arg_check_sl.o compat_sl.o dmalloc_rand_sl.o dmalloc_tab_sl.o env_sl.o heap_sl.o chunk_sl.o error_sl.o malloc_sl.o
  288. rm -f dmalloc
  289. x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o aout dmalloc.o dmalloc_argv.o compat.o env.o \
  290. -L.
  291. mv aout dmalloc
  292. To make the thread version of the library type 'make threads'
  293. >>> Source compiled.
  294. make -j24 heavy
  295. rm -f dmalloc_t.o
  296. rm -f dmalloc_fc_t.o
  297. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_t.c -o ./dmalloc_t.o
  298. x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_fc_t.c -o ./dmalloc_fc_t.o
  299. dmalloc_t.c: In function 'free_slot':
  300. dmalloc_t.c:188:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat]
  301. dmalloc_t.c: In function 'do_random':
  302. dmalloc_t.c:296:8: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat]
  303. dmalloc_t.c:331:8: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat]
  304. dmalloc_t.c:343:8: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat]
  305. dmalloc_t.c:383:8: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat]
  306. dmalloc_t.c:415:8: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat]
  307. dmalloc_t.c:449:8: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat]
  308. dmalloc_t.c: In function 'check_special':
  309. dmalloc_t.c:3281:8: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  310. dmalloc_t.c: In function 'track_alloc_trxn':
  311. dmalloc_t.c:3930:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  312. dmalloc_t.c:3934:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  313. dmalloc_t.c:3938:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  314. dmalloc_t.c:3942:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  315. dmalloc_t.c:3946:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  316. dmalloc_t.c:3946:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
  317. dmalloc_t.c:3950:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  318. dmalloc_t.c:3950:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
  319. dmalloc_t.c:3954:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  320. dmalloc_t.c:3961:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  321. dmalloc_t.c:3965:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  322. dmalloc_t.c:3977:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat]
  323. dmalloc_t.c:3977:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
  324. rm -f dmalloc_fc_t
  325. x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o aout dmalloc_fc_t.o dmalloc_argv.o libdmalloc.a
  326. mv aout dmalloc_fc_t
  327. rm -f dmalloc_t
  328. x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o aout dmalloc_t.o dmalloc_argv.o libdmalloc.a
  329. mv aout dmalloc_t
  330. ./dmalloc_fc_t -s
  331. make: *** [light] Segmentation fault
  332. * ERROR: dev-libs/dmalloc-5.5.2-r4 failed (test phase):
  333. * emake failed
  334. *
  335. * If you need support, post the output of `emerge --info '=dev-libs/dmalloc-5.5.2-r4'`,
  336. * the complete build log and the output of `emerge -pqv '=dev-libs/dmalloc-5.5.2-r4'`.
  337. * The complete build log is located at '/var/log/portage/dev-libs:dmalloc-5.5.2-r4:20120714-093318.log'.
  338. * For convenience, a symlink to the build log is located at '/tmp/portage/dev-libs/dmalloc-5.5.2-r4/temp/build.log'.
  339. * The ebuild environment file is located at '/tmp/portage/dev-libs/dmalloc-5.5.2-r4/temp/environment'.
  340. * Working directory: '/tmp/portage/dev-libs/dmalloc-5.5.2-r4/work/dmalloc-5.5.2'
  341. * S: '/tmp/portage/dev-libs/dmalloc-5.5.2-r4/work/dmalloc-5.5.2'
  342. >>> Install dmalloc-5.5.2-r4 into /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/ category dev-libs
  343. make -j24 DESTDIR=/tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/ install
  344. ./mkinstalldirs /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/include
  345. ./mkinstalldirs /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  346. ./mkinstalldirs /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  347. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr
  348. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr
  349. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr
  350. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr/include
  351. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr/lib64
  352. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr/lib64
  353. /usr/bin/install -c -m 644 dmalloc.h /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/include
  354. /usr/bin/install -c libdmalloccxx.so.5.5.2 /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  355. /usr/bin/install -c libdmalloc.so.5.5.2 /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  356. ./mkinstalldirs /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  357. Enter 'make installthsl' to install thread shared-library
  358. /usr/bin/install -c libdmalloccxx.a /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  359. Enter 'make installthcxx' to install the threaded C++ library
  360. ./mkinstalldirs /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  361. /usr/bin/install -c libdmalloc.a /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64
  362. x86_64-pc-linux-gnu-ranlib /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/lib64/libdmalloc.a
  363. Enter 'make installth' to install thread library
  364. ./mkinstalldirs /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/bin
  365. mkdir /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/usr/bin
  366. /usr/bin/install -c dmalloc /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image//usr/bin
  367. Enter 'make installdocs' to install dmalloc.html dmalloc.texi dmalloc.pdf in /usr/share/doc/dmalloc
  368. >>> Completed installing dmalloc-5.5.2-r4 into /tmp/portage/dev-libs/dmalloc-5.5.2-r4/image/
  369. strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line
  370. usr/bin/dmalloc
  371. usr/lib64/libdmalloccxx.so.5.5.2
  372. usr/lib64/libdmalloc.so.5.5.2
  373. ecompressdir: bzip2 -9 /usr/share/info
  374. ecompressdir: bzip2 -9 /usr/share/doc