ccan code breaks older build farm systems
Michael Adam
obnox at samba.org
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:
e.g.:
http://build.samba.org/build.cgi/build/fce639c8f71c197957cdaaded0c7c692753e123d
...
Linking shared library bin/libnetapi.so.0
../lib/ccan/tally/tally.o: In function `fls64':
../lib/ccan/tally/tally.o(.text+0x4e6): undefined reference to
`__builtin_clzl'
collect2: ld returned 1 exit status
...
This is triggered by the addition of @CCAN_OBJ@ into LIB_OBJ
in source3/Makefile.in.
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: <http://lists.samba.org/pipermail/samba-technical/attachments/20110704/a98f0f7c/attachment.pgp>
More information about the samba-technical
mailing list