[clang] regression: tmpfs is not mounted from fstab

2011-02-25 Thread Boris Samorodov
Hi! I can't mount tmpfs from fstab if world/kernel are build by clang, however just making world with gcc works fine. The last revision I've tested: - % uname -a FreeBSD h30.sp.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r219024: Fri Feb 25 13:17:07 MSK 2011 b...@h30.sp.ipt.ru:/usr/obj/usr/

Re: [clang] regression: tmpfs is not mounted from fstab

2011-02-25 Thread Boris Samorodov
On Fri, 25 Feb 2011 15:36:46 +0300 Boris Samorodov wrote: > I can't mount tmpfs from fstab if world/kernel are build by clang, Sorry, should have mentioned earlier, tmpfs module is loaded. The diagnostic message is: - mount: tmpfs: Operation not supported by device - -- WBR, bsam __

Re: [clang] regression: tmpfs is not mounted from fstab

2011-02-25 Thread Dimitry Andric
On 2011-02-25 13:36, Boris Samorodov wrote: I can't mount tmpfs from fstab if world/kernel are build by clang, however just making world with gcc works fine. The cause of this issue is a problem with the way clang's integrated assembler handles global symbols that are not referenced. This prob

Re: [clang] regression: tmpfs is not mounted from fstab

2011-02-25 Thread Boris Samorodov
On Fri, 25 Feb 2011 14:33:38 +0100 Dimitry Andric wrote: > On 2011-02-25 13:36, Boris Samorodov wrote: > > I can't mount tmpfs from fstab if world/kernel are build by clang, > > however just making world with gcc works fine. > The cause of this issue is a problem with the way clang's integrated >

Re: [clang] regression: tmpfs is not mounted from fstab

2011-02-26 Thread Dimitry Andric
On 2011-02-25 16:58, Boris Samorodov wrote: On Fri, 25 Feb 2011 14:33:38 +0100 Dimitry Andric wrote: For now, please build kernels with "-no-integrated-as" added to COPTFLAGS, that should fix it. FYI unfortunately this does not help. Full build log is here: ftp://ftp.bsam.ru/pub/tmp/bk.log.bz2

Re: [clang] regression: tmpfs is not mounted from fstab

2011-02-27 Thread Boris Samorodov
В вс, 27/02/2011 в 02:43 +0100, Dimitry Andric пишет: > On 2011-02-25 16:58, Boris Samorodov wrote: > > On Fri, 25 Feb 2011 14:33:38 +0100 Dimitry Andric wrote: > >> For now, please build kernels with "-no-integrated-as" added to > >> COPTFLAGS, that should fix it. > > > > FYI unfortunately this do