libunwind can not compiled on dfly 3.6.2

k simon chio1990 at gmail.com
Sun May 18 06:10:43 PDT 2014


Hi,Lists,
  As I have not found libunwind packages on dport nor pkgsrc, so I
compiles it on dfly 3.6.2, but it's failed as below:
# make
Making all in src
make  all-am
depbase=`echo mi/init.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include   -I../include -I../include/tdep-x86_64 -I. -D_GNU_SOURCE
-DNDEBUG  -g -O2 -fexceptions -Wall -Wsign-compare -MT mi/init.lo -MD
-MP -MF $depbase.Tpo -c -o mi/init.lo mi/init.c && mv -f $depbase.Tpo
$depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-x86_64 -I. -D_GNU_SOURCE -DNDEBUG -g -O2 -fexceptions
-Wall -Wsign-compare -MT mi/init.lo -MD -MP -MF mi/.deps/init.Tpo -c
mi/init.c  -fPIC -DPIC -o mi/.libs/init.o
In file included from mi/init.c:26:0:
../include/libunwind_i.h:152:18: error: conflicting types for 'intrmask_t'
In file included from /usr/include/sys/types.h:56:0,
                 from ../include/libunwind_i.h:49,
                 from mi/init.c:26:
/usr/include/machine/types.h:44:20: note: previous declaration of
'intrmask_t' was here
*** Error code 1

Stop.
make: stopped in /root/kf/libunwind-1.1/src
*** Error code 1

Stop.
make: stopped in /root/kf/libunwind-1.1/src
*** Error code 1

Stop.
make: stopped in /root/kf/libunwind-1.1

  I need libunwind as somebody told me tcmalloc should compiled with
libunwind on 64 bit platforms. Is it correctly ?  I plan to test squid
with tcmalloc and swapcache+UFS recently.:)


Regards
Simon



More information about the Users mailing list