[Bug 192295] New: net/dante fails to build with Clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 31 19:06:19 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192295

            Bug ID: 192295
           Summary: net/dante fails to build with Clang
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: cjpugmed at gmail.com

dante port gets stuck while is building with Clang and it forces me to abort
the compilation. 

At this point it stop:

<snip>
checking for sched.h... (cached) yes
checking for getpassphrase... no
checking for sched_setaffinity... no
checking for ifaddrs.h... (cached) yes
checking for daemon... (cached) yes
checking for difftime... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for hstrerror... yes
checking for inet_pton... yes
checking for issetugid... (cached) yes
checking for memmove... (cached) yes
checking for seteuid... (cached) yes
checking for setegid... (cached) yes
checking for setproctitle... (cached) yes
checking for sockatmark... yes
checking for strvis... yes
checking for vsyslog... yes
checking for bzero... (cached) yes
checking for strlcpy... (cached) yes
checking for backtrace... no
checking for incorrect inet_ntoa behaviour... no
checking for working pselect()... yes
checking for working sockatmark... yes
checking for __libc_enable_secure... no
checking read-side pipe system...

Also it spits out the following console message:

[zone: mbuf_cluster] kern.ipc.nmbclusters limit reached

Some useful outputs:

% uname -a
FreeBSD box.underbuild.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r268969: Tue
Jul 22 12:50:29 CEST 2014    
charly at box.underbuild.com:/usr/obj/usr/src/sys/PROD  i386

% sysctl kern.ipc.nmbclusters
kern.ipc.nmbclusters: 26368

% sysctl kern.ipc.nmbufs
kern.ipc.nmbufs: 168765

% vmstat -z
ITEM                   SIZE  LIMIT     USED     FREE      REQ FAIL SLEEP

UMA Kegs:               256,      0,     109,      11,     109,   0,   0
UMA Zones:              408,      0,     109,       8,     109,   0,   0
UMA Slabs:               56,      0,     852,      12,    2157,   0,   0
UMA RCntSlabs:           64,      0,     146,      43,     146,   0,   0
UMA Hash:               128,      0,       5,      26,       6,   0,   0
4 Bucket:                16,      0,      23,     481,    1853,   0,   0
6 Bucket:                24,      0,       1,     335,     136,   0,   0
8 Bucket:                32,      0,       3,     375,     153,   0,   0
12 Bucket:               48,      0,       0,       0,       0,   0,   0
16 Bucket:               64,      0,      11,     304,    4577,   8,   0
32 Bucket:              128,      0,      16,     139,     263,   0,   0
64 Bucket:              256,      0,      30,      45,     295,   0,   0
128 Bucket:             512,      0,      21,      11,     206,   0,   0
256 Bucket:            1024,      0,      32,       0,     297,8928,   0
vmem btag:               28,      0,    4939,     389,    5351,  36,   0
VM OBJECT:              156,      0,    6862,     288,   42878,   0,   0
RADIX NODE:              44, 503776,   24217,    1627,  111405,   0,   0
MAP:                    144,      0,       3,      81,       3,   0,   0
KMAP ENTRY:              76,      0,       5,     154,       5,   0,   0
MAP ENTRY:               76,      0,    7097,     429,   74764,   0,   0
VMSPACE:                240,      0,      84,      44,    1313,   0,   0
fakepg:                  68,      0,       0,     177,      18,   0,   0
mt_zone:               2060,      0,     407,       1,     407,   0,   0
16:                      16,      0,    3433,     347,  220372,   0,   0
32:                      32,      0,    3253,     653,   52015,   0,   0
64:                      64,      0,    5255,     352,  683234,   0,   0
128:                    128,      0,    2881,     250,   50324,   0,   0
256:                    256,      0,    1363,     167,    9137,   0,   0
512:                    512,      0,     333,     163,   15168,   0,   0
1024:                  1024,      0,     224,      12,    9222,   0,   0
2048:                  2048,      0,     495,       5,   17298,   0,   0
4096:                  4096,      0,     219,       4,    2213,   0,   0
64 pcpu:                  8,      0,    1643,     149,    1647,   0,   0
ptr pcpu:                 4,      0,       0,       0,       0,   0,   0
SLEEPQUEUE:              44,      0,     291,     276,     291,   0,   0
Files:                   56,      0,    1143,     153,   26909,   0,   0
rl_entry:                28,      0,     119,     169,     119,   0,   0
TURNSTILE:               72,      0,     291,     112,     291,   0,   0
umtx pi:                 52,      0,       0,       0,       0,   0,   0
MAC labels:              20,      0,       0,       0,       0,   0,   0
PROC:                   748,      0,     101,       4,    1330,   0,   0
THREAD:                 772,      0,     273,      17,     366,   0,   0
cpuset:                  40,      0,      58,     245,      59,   0,   0
audit_record:          1112,      0,       0,       0,       0,   0,   0
sendfile_sync:           76,      0,       0,       0,       0,   0,   0
mbuf_packet:            256, 168765,       0,     253,   10013,   0,   0
mbuf:                   256, 168765,       1,     511,   65954,   0,   0
mbuf_cluster:          2048,  26368,     253,       3,     253,   0,   0
mbuf_jumbo_page:       4096,  13184,       0,      18,   14838,   0,   0
mbuf_jumbo_9k:         9216,   3906,       0,       0,       0,   0,   0
mbuf_jumbo_16k:       16384,   2197,       0,       0,       0,   0,   0
mbuf_ext_refcnt:          4,      0,       0,       0,       0,   0,   0
g_bio:                  152,      0,       0,     494,   25675,   0,   0
ttyinq:                 152,      0,     165,      43,     480,   0,   0
ttyoutq:                256,      0,      88,      47,     256,   0,   0
ata_request:            220,      0,       0,      72,   13230,   0,   0
vtnet_tx_hdr:            16,      0,       0,       0,       0,   0,   0
VNODE:                  284,      0,    4005,      27,    4421,   0,   0
VNODEPOLL:               60,      0,     227,      41,     228,   0,   0
BUF TRIE:                44,      0,     463,    5361,    3405,   0,   0
S VFS Cache:             72,      0,    3795,     125,   13366,   0,   0
STS VFS Cache:           92,      0,       0,       0,       0,   0,   0
L VFS Cache:            292,      0,     155,      53,     213,   0,   0
LTS VFS Cache:          312,      0,       0,       0,       0,   0,   0
NAMEI:                 1024,      0,       0,      16,   81986,   0,   0
NCLNODE:                360,      0,       0,       0,       0,   0,   0
fuse_ticket:            132,      0,       0,      90,       1,   0,   0
DIRHASH:               1024, vmstat -z
ITEM                   SIZE  LIMIT     USED     FREE      REQ FAIL SLEEP

UMA Kegs:               256,      0,     109,      11,     109,   0,   0
UMA Zones:              408,      0,     109,       8,     109,   0,   0
UMA Slabs:               56,      0,     852,      12,    2157,   0,   0
UMA RCntSlabs:           64,      0,     146,      43,     146,   0,   0
UMA Hash:               128,      0,       5,      26,       6,   0,   0
4 Bucket:                16,      0,      23,     481,    1853,   0,   0
6 Bucket:                24,      0,       1,     335,     136,   0,   0
8 Bucket:                32,      0,       3,     375,     153,   0,   0
12 Bucket:               48,      0,       0,       0,       0,   0,   0
16 Bucket:               64,      0,      11,     304,    4577,   8,   0
32 Bucket:              128,      0,      16,     139,     263,   0,   0
64 Bucket:              256,      0,      30,      45,     295,   0,   0
128 Bucket:             512,      0,      21,      11,     206,   0,   0
256 Bucket:            1024,      0,      32,       0,     297,8928,   0
vmem btag:               28,      0,    4939,     389,    5351,  36,   0
VM OBJECT:              156,      0,    6862,     288,   42878,   0,   0
RADIX NODE:              44, 503776,   24217,    1627,  111405,   0,   0
MAP:                    144,      0,       3,      81,       3,   0,   0
KMAP ENTRY:              76,      0,       5,     154,       5,   0,   0
MAP ENTRY:               76,      0,    7097,     429,   74764,   0,   0
VMSPACE:                240,      0,      84,      44,    1313,   0,   0
fakepg:                  68,      0,       0,     177,      18,   0,   0
mt_zone:               2060,      0,     407,       1,     407,   0,   0
16:                      16,      0,    3433,     347,  220372,   0,   0
32:                      32,      0,    3253,     653,   52015,   0,   0
64:                      64,      0,    5255,     352,  683234,   0,   0
128:                    128,      0,    2881,     250,   50324,   0,   0
256:                    256,      0,    1363,     167,    9137,   0,   0
512:                    512,      0,     333,     163,   15168,   0,   0
1024:                  1024,      0,     224,      12,    9222,   0,   0
2048:                  2048,      0,     495,       5,   17298,   0,   0
4096:                  4096,      0,     219,       4,    2213,   0,   0
64 pcpu:                  8,      0,    1643,     149,    1647,   0,   0
ptr pcpu:                 4,      0,       0,       0,       0,   0,   0
SLEEPQUEUE:              44,      0,     291,     276,     291,   0,   0
Files:                   56,      0,    1143,     153,   26909,   0,   0
rl_entry:                28,      0,     119,     169,     119,   0,   0
TURNSTILE:               72,      0,     291,     112,     291,   0,   0
umtx pi:                 52,      0,       0,       0,       0,   0,   0
MAC labels:              20,      0,       0,       0,       0,   0,   0
PROC:                   748,      0,     101,       4,    1330,   0,   0
THREAD:                 772,      0,     273,      17,     366,   0,   0
cpuset:                  40,      0,      58,     245,      59,   0,   0
audit_record:          1112,      0,       0,       0,       0,   0,   0
sendfile_sync:           76,      0,       0,       0,       0,   0,   0
mbuf_packet:            256, 168765,       0,     253,   10013,   0,   0
mbuf:                   256, 168765,       1,     511,   65954,   0,   0
mbuf_cluster:          2048,  26368,     253,       3,     253,   0,   0
mbuf_jumbo_page:       4096,  13184,       0,      18,   14838,   0,   0
mbuf_jumbo_9k:         9216,   3906,       0,       0,       0,   0,   0
mbuf_jumbo_16k:       16384,   2197,       0,       0,       0,   0,   0
mbuf_ext_refcnt:          4,      0,       0,       0,       0,   0,   0
g_bio:                  152,      0,       0,     494,   25675,   0,   0
ttyinq:                 152,      0,     165,      43,     480,   0,   0
ttyoutq:                256,      0,      88,      47,     256,   0,   0
ata_request:            220,      0,       0,      72,   13230,   0,   0
vtnet_tx_hdr:            16,      0,       0,       0,       0,   0,   0
VNODE:                  284,      0,    4005,      27,    4421,   0,   0
VNODEPOLL:               60,      0,     227,      41,     228,   0,   0
BUF TRIE:                44,      0,     463,    5361,    3405,   0,   0
S VFS Cache:             72,      0,    3795,     125,   13366,   0,   0
STS VFS Cache:           92,      0,       0,       0,       0,   0,   0
L VFS Cache:            292,      0,     155,      53,     213,   0,   0
LTS VFS Cache:          312,      0,       0,       0,       0,   0,   0
NAMEI:                 1024,      0,       0,      16,   81986,   0,   0
NCLNODE:                360,      0,       0,       0,       0,   0,   0
fuse_ticket:            132,      0,       0,      90,       1,   0,   0
DIRHASH:               1024,      0,     456,      12,     456,   0,   0
procdesc:                76,      0,       0,       0,       0,   0,   0
pipe:                   408,      0,     173,      34,    1417,   0,   0
Mountpoints:            672,      0,       6,      12,       7,   0,   0
ksiginfo:                80,      0,      95,     955,    3348,   0,   0
itimer:                 232,      0,       0,       0,       0,   0,   0
KNOTE:                   72,      0,     318,      74,   43059,   0,   0
socket:                 424,  64755,     322,      29,    3382,   0,   0
unpcb:                  172,  64768,     291,      31,    2802,   0,   0
ipq:                     32,    882,       0,       0,       0,   0,   0
udp_inpcb:              252,  64768,       5,      59,     506,   0,   0
udpcb:                   12,  64764,       5,     499,     506,   0,   0
tcp_inpcb:              252,  64768,      24,      40,      62,   0,   0
tcpcb:                  752,  64755,      22,      18,      62,   0,   0
tcptw:                   56,  12960,       2,     286,      12,   0,   0
syncache:               124,  15360,       0,       0,       0,   0,   0
hostcache:               76,  15370,       6,     153,       6,   0,   0
sackhole:                20,      0,       0,       0,       0,   0,   0
sctp_ep:                976,  64756,       0,       0,       0,   0,   0
sctp_asoc:             1592,  40000,       0,       0,       0,   0,   0
sctp_laddr:              24,  80136,       0,     336,       3,   0,   0
sctp_raddr:             532,  80003,       0,       0,       0,   0,   0
sctp_chunk:              96, 400008,       0,       0,       0,   0,   0
sctp_readq:              76, 400044,       0,       0,       0,   0,   0
sctp_stream_msg_out:     68, 400020,       0,       0,       0,   0,   0
sctp_asconf:             24, 400008,       0,       0,       0,   0,   0
sctp_asconf_ack:         24, 400008,       0,       0,       0,   0,   0
udplite_inpcb:          252,  64768,       0,       0,       0,   0,   0
ripcb:                  252,  64768,       1,      63,       1,   0,   0
rtentry:                108,      0,      13,     135,      14,   0,   0
selfd:                   28,      0,     510,     354,  830662,   0,   0
SWAPMETA:               276, 131082,       0,       0,       0,   0,   0
FFS inode:              116,      0,    3723,      51,    4050,   0,   0
FFS1 dinode:            128,      0,       0,       0,       0,   0,   0
FFS2 dinode:            256,      0,    3723,      72,    4050,   0,   0
pf mtags:                28,      0,       0,       0,       0,   0,   0
pf states:              208,  10013,      30,      46,      87,   0,   0
pf state keys:           64,      0,      30,     285,      87,   0,   0
pf source nodes:        116,  10030,       0,       0,       0,   0,   0
pf table entries:        92, 200036,       0,       0,       0,   0,   0
pf table counters:       64,      0,       0,       0,       0,   0,   0
pf frags:                48,      0,       0,       0,       0,   0,   0
pf frag entries:         16,   5040,       0,       0,       0,   0,   0
pf state scrubs:         28,      0,       0,       0,       0,   0,   0
     0,     456,      12,     456,   0,   0
procdesc:                76,      0,       0,       0,       0,   0,   0
pipe:                   408,      0,     173,      34,    1417,   0,   0
Mountpoints:            672,      0,       6,      12,       7,   0,   0
ksiginfo:                80,      0,      95,     955,    3348,   0,   0
itimer:                 232,      0,       0,       0,       0,   0,   0
KNOTE:                   72,      0,     318,      74,   43059,   0,   0
socket:                 424,  64755,     322,      29,    3382,   0,   0
unpcb:                  172,  64768,     291,      31,    2802,   0,   0
ipq:                     32,    882,       0,       0,       0,   0,   0
udp_inpcb:              252,  64768,       5,      59,     506,   0,   0
udpcb:                   12,  64764,       5,     499,     506,   0,   0
tcp_inpcb:              252,  64768,      24,      40,      62,   0,   0
tcpcb:                  752,  64755,      22,      18,      62,   0,   0
tcptw:                   56,  12960,       2,     286,      12,   0,   0
syncache:               124,  15360,       0,       0,       0,   0,   0
hostcache:               76,  15370,       6,     153,       6,   0,   0
sackhole:                20,      0,       0,       0,       0,   0,   0
sctp_ep:                976,  64756,       0,       0,       0,   0,   0
sctp_asoc:             1592,  40000,       0,       0,       0,   0,   0
sctp_laddr:              24,  80136,       0,     336,       3,   0,   0
sctp_raddr:             532,  80003,       0,       0,       0,   0,   0
sctp_chunk:              96, 400008,       0,       0,       0,   0,   0
sctp_readq:              76, 400044,       0,       0,       0,   0,   0
sctp_stream_msg_out:     68, 400020,       0,       0,       0,   0,   0
sctp_asconf:             24, 400008,       0,       0,       0,   0,   0
sctp_asconf_ack:         24, 400008,       0,       0,       0,   0,   0
udplite_inpcb:          252,  64768,       0,       0,       0,   0,   0
ripcb:                  252,  64768,       1,      63,       1,   0,   0
rtentry:                108,      0,      13,     135,      14,   0,   0
selfd:                   28,      0,     510,     354,  830662,   0,   0
SWAPMETA:               276, 131082,       0,       0,       0,   0,   0
FFS inode:              116,      0,    3723,      51,    4050,   0,   0
FFS1 dinode:            128,      0,       0,       0,       0,   0,   0
FFS2 dinode:            256,      0,    3723,      72,    4050,   0,   0
pf mtags:                28,      0,       0,       0,       0,   0,   0
pf states:              208,  10013,      30,      46,      87,   0,   0
pf state keys:           64,      0,      30,     285,      87,   0,   0
pf source nodes:        116,  10030,       0,       0,       0,   0,   0
pf table entries:        92, 200036,       0,       0,       0,   0,   0
pf table counters:       64,      0,       0,       0,       0,   0,   0
pf frags:                48,      0,       0,       0,       0,   0,   0
pf frag entries:         16,   5040,       0,       0,       0,   0,   0
pf state scrubs:         28,      0,       0,       0,       0,   0,   0


Build log:

http://pastebin.com/gt3z1v2P

I only noticed this behaviour on 11-CURRENT/i386.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list