Re: [clang] regression: tmpfs is not mounted from fstab
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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [clang] regression: tmpfs is not mounted from fstab
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 problem has been submitted upstream, and it is fixed meanwhile, so I will import a new clang snapshot soon. For now, please build kernels with "-no-integrated-as" added to COPTFLAGS, that should fix it. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [clang] regression: tmpfs is not mounted from fstab
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 > assembler handles global symbols that are not referenced. > This problem has been submitted upstream, and it is fixed meanwhile, so > I will import a new clang snapshot soon. > 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 -- WBR, bsam ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [clang] regression: tmpfs is not mounted from fstab
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 Hm, I was wrong, COPTFLAGS is used for the kernel itself, but CFLAGS for the modules. So you had to add -no-integrated-as to both CFLAGS and COPTFLAGS for it to work... In any case, in r219077 I imported a new drop of llvm/clang that should fix the problem without adding those flags. Can you please try it with this new version? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [clang] regression: tmpfs is not mounted from fstab
В вс, 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 does not help. Full build log is here: > > ftp://ftp.bsam.ru/pub/tmp/bk.log.bz2 > > Hm, I was wrong, COPTFLAGS is used for the kernel itself, but CFLAGS for > the modules. So you had to add -no-integrated-as to both CFLAGS and > COPTFLAGS for it to work... > > In any case, in r219077 I imported a new drop of llvm/clang that should > fix the problem without adding those flags. Can you please try it with > this new version? Thanks, works fine at: - % uname -a FreeBSD h30.sp.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r219085: Sun Feb 27 20:57:30 MSK 2011 b...@h30.sp.ipt.ru:/usr/obj/usr/src/sys/BB i386 - -- WBR, bsam ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"