Re: webcamd-0.1.26: does not build with clang

2011-05-01 Thread Roman Divacky
This is a bug in llvm integrated assembler. I filed a bug for it http://llvm.org/bugs/show_bug.cgi?id=9822 webcamd compiles/links just fine with clang + gnu as. On Sat, Apr 30, 2011 at 11:53:30AM +0200, Hans Petter Selasky wrote: > On Saturday 30 April 2011 11:46:28 Hans Petter S

Re: webcamd-0.1.26: does not build with clang

2011-04-30 Thread Roman Divacky
I just tested with new llvm/clang and it compiles ok. I hope there's going to be a new llvm/clang import in a few days so please try again after the import.. The port does not link though, because of some problems with linux_init_mod/linux_exit_mod. I didnt analyze it but I suspect this may be a b

Re: webcamd-0.1.26: does not build with clang

2011-04-30 Thread Hans Petter Selasky
On Saturday 30 April 2011 11:46:28 Hans Petter Selasky wrote: > linux_init_mod/linux_exit_mod. These two symbols are so-called sections. At least the GCC will resolve these, I.E. when there is an __attribute__((__section__("linux_init_mod"))), then also extern linux_init_mod resolves. --HPS ___

Re: webcamd-0.1.26: does not build with clang

2011-04-30 Thread Hans Petter Selasky
On Saturday 30 April 2011 11:46:16 Roman Divacky wrote: > I just tested with new llvm/clang and it compiles ok. I hope there's > going to be a new llvm/clang import in a few days so please try again > after the import.. > > The port does not link though, because of some problems with > linux_init_

Re: webcamd-0.1.26: does not build with clang

2011-04-30 Thread Hans Petter Selasky
On Friday 29 April 2011 13:04:52 Boris Samorodov wrote: > Hi! > > The port builds with the system compiler but not with clang: > ftp://ftp.bsam.ru/pub/tmp/webcamd.log.txt Hi, Edit the webcamd's port Makefile so that only one file is compiled at a time. MAKE_JOBS_SAFE= yes The following error c