ccan code breaks older build farm systems

Michael Adam obnox at
Mon Jul 4 14:47:53 MDT 2011

Forgot the list... resending.

Hi Rusty,

the recent addition of the ccan code has broken several builds
on the build farm:


Linking shared library bin/
../lib/ccan/tally/tally.o: In function `fls64':
../lib/ccan/tally/tally.o(.text+0x4e6): undefined reference to
collect2: ld returned 1 exit status

This is triggered by the addition of @CCAN_OBJ@ into LIB_OBJ
in source3/

There are configure checks but they don't seem to work:

configure:6867: checking whether we have __builtin_clzl
configure:6879: ccache gcc -c  -Wall  conftest.c >&5
conftest.c: In function `main':
conftest.c:50: warning: implicit declaration of function `__builtin_clzl'
configure:6879: $? = 0
configure:6885: result: yes

Could the included ccan code be converted to use libreplace?

Also, the ccan files don't have a copyright/license header
comment block.

Cheers - Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list