From owner-freebsd-current@freebsd.org Thu Jul 19 08:18:13 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DCFA105025B for ; Thu, 19 Jul 2018 08:18:13 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2987684189 for ; Thu, 19 Jul 2018 08:18:13 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fg48Z-0002WC-Er; Thu, 19 Jul 2018 10:18:11 +0200 To: "FreeBSD Current" , "Filippo Moretti" Subject: Re: Problem with Current amd64 References: <1280450387.6502118.1531979379575.ref@mail.yahoo.com> <1280450387.6502118.1531979379575@mail.yahoo.com> <969514184.6520653.1531986976828@mail.yahoo.com> Date: Thu, 19 Jul 2018 10:18:13 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <969514184.6520653.1531986976828@mail.yahoo.com> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50, HTML_MESSAGE autolearn=disabled version=3.4.0 X-Scan-Signature: ac7e290c1021e6491e133d15cfe88b06 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 08:18:13 -0000 On Thu, 19 Jul 2018 09:56:16 +0200, Filippo Moretti wrote: > I reinstalled src and ports via svnlite and it seems to work.I will post > the files required once I have the pkgs installed > thank you > Filippo Please keep the mailinglist in your reply addresses. Other people know much more than I do. ;-) Ronald. > > > > On Thursday, July 19, 2018, 9:44:28 AM GMT+2, Ronald Klop > wrote: > > On Thu, 19 Jul 2018 07:49:39 +0200, Filippo Moretti > wrote: > >> I installed from the latest snapshot,made buildworld with custom >> kernel,installed bash and mc from ports.It was the first time I used >> zfs on 1 Tb sata III disk.When I rebooted the system I got a nasty >> surprise:my home directory,ports and src are no longer there.This never >> happened to me.Should I reinstall or any other suggestion really >> appreciated >> Sincerely >> Filippo > > > Reinstall sounds unlikely. > > Sounds like a mistake in the order of mounting. Something which worked > when doing manual steps, but not after boot. > Please mail your /etc/fstab and the output of zpool list, zpool status > and zfs list. > And /etc/rc.conf can be interesting too. > > Regards, > > Ronald. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > " From owner-freebsd-current@freebsd.org Fri Jul 20 11:36:30 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC34F104114A for ; Fri, 20 Jul 2018 11:36:30 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 57B6C78509 for ; Fri, 20 Jul 2018 11:36:30 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (124-169-199-167.dyn.iinet.net.au [124.169.199.167]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w6KBWskB052209 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 20 Jul 2018 04:32:56 -0700 (PDT) (envelope-from julian@freebsd.org) To: freebsd-current From: Julian Elischer Subject: gcc/clang interoperability problem with a custom "samba" build in recent -current. Message-ID: Date: Fri, 20 Jul 2018 19:32:48 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2018 11:36:31 -0000 compiling our samba with gcc 4.2.1 in 12 gave us some off behaviour when lld became the linker I think.. 1/ linking needed some directories added to some of the build scripts because previously apparently it looked in $SYSROOT/usr/lib by default and now it doesn't. 2/ compiling our samba produces a libtdb.so that has various symbols in it, (according to nm(1) ), but when we try link against it we get complaints about those symbols not being defined. 3/ an attempt to switch to using clang to compile everything leads to: "--aes-accel=intelaesni selected and compiler rejects -Wp,-E,-lang-asm. One wonders whether there is a clang equivalent of "-Wp,-E,-lang-asm" The AES acceleration is a configure option for the samba package. Apparently turning it on requires -Wp,-E,-lang-asm. which apparently gcc 4.2.1 has, but clang doesn't have. FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin anyone know if there is a clang equivalent of -Wp, -E,-lang-asm? possible work arrounds include: 1/ Get gcc/lld to produce a library from which lld can find the symbols 2/ find a way to compile this with clang but everything else with gcc? 3/ find a way to allow clang to use -Wp,-E,-lang-asm whatever that means Thoughts from any tools people? Julian