Re: [RFC] Un-staticise the toolchain

2012-04-27 Thread David O'Brien
On Thu, Apr 26, 2012 at 07:52:01AM -0400, John Baldwin wrote: > You could use /rescue/sh as your single-user shell. Of course, that would > perhaps let you still be able to recompile things if you had a static > toolchain. :) Having the toolchain static has saved me in exactly this way. -- -

Re: [RFC] Un-staticise the toolchain

2012-04-27 Thread David O'Brien
On Thu, Apr 26, 2012 at 12:38:03PM +0100, Bob Bishop wrote: > > Apparently, current dependencies are much more spread, e.g. /bin/sh > > is dynamically linked [etc] > > That seems like a bad mistake, because it would prevent even booting > single-user if rtld/libraries are broken. When one enters

Re: [workaroud/fix for] buildworld fails on FreeBSD 7.x for HEAD from 19.04.2012

2012-04-27 Thread David O'Brien
On Fri, Apr 27, 2012 at 02:05:37PM +0200, Jan Sieka wrote: > --- a/lib/libmagic/Makefile > +++ b/lib/libmagic/Makefile > @@ -10,9 +10,16 @@ DPADD= ${LIBZ} > LDADD= -lz > MAN= libmagic.3 magic.5 > > +HOSTOSRELDATE!= echo ${VERSION} | cut -d " " -f 4 $ cd lib/libmagic $ ma

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-27 Thread Erich Dollansky
Hi, sorry, I just have sent this out before finishing it. On Saturday 28 April 2012 08:59:15 David Wolfskill wrote: > On Sat, Apr 28, 2012 at 08:50:47AM +0700, Erich Dollansky wrote: > > ... > > I use the following commands to do the compilation: > > > > cd /usr/src > > /usr/bin/nice -n 20 make

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-27 Thread Erich Dollansky
Hi, On Saturday 28 April 2012 08:59:15 David Wolfskill wrote: > On Sat, Apr 28, 2012 at 08:50:47AM +0700, Erich Dollansky wrote: > > ... > > I use the following commands to do the compilation: > > > > cd /usr/src > > /usr/bin/nice -n 20 make buildworld > > OK. That should build the userland OK.

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-27 Thread David Wolfskill
On Sat, Apr 28, 2012 at 08:50:47AM +0700, Erich Dollansky wrote: > ... > I use the following commands to do the compilation: > > cd /usr/src > /usr/bin/nice -n 20 make buildworld OK. That should build the userland OK. > > Have you reviewed /usr/src/UPDATING? Near the end of that file, there >

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-27 Thread Erich Dollansky
Hi, On Saturday 28 April 2012 08:31:55 David Wolfskill wrote: > On Sat, Apr 28, 2012 at 08:25:37AM +0700, Erich Dollansky wrote: > > ... > > FreeBSD 10.0 gives me this error message: > > > > ===> kerberos5/tools (obj,depend,all) > > ===> kerberos5/tools/make-print-version (obj) > > cd: /usr/src/k

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-27 Thread David Wolfskill
On Sat, Apr 28, 2012 at 08:25:37AM +0700, Erich Dollansky wrote: > ... > FreeBSD 10.0 gives me this error message: > > ===> kerberos5/tools (obj,depend,all) > ===> kerberos5/tools/make-print-version (obj) > cd: /usr/src/kerberos5/tools/make-print-version: No such file or directory > *** [obj] Erro

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-27 Thread Erich Dollansky
Hi, I moved this back to current. See the reason below. I was a bit confused as I tried to install 9.0 and 10.0 but posted the 9.0 question to the 10.0 list. Here is the 10.0 question. On Saturday 28 April 2012 06:07:28 David Wolfskill wrote: > On Fri, Apr 27, 2012 at 11:08:22PM +0700, Erich Do

Mounting removable devices

2012-04-27 Thread Mehmet Erol Sanliturk
Dear All , To mount removable devices , a user ( NOT root ) requires the following parameter vfs.usermount=1 in /etc/sysctl.conf . A warning is specified in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html about its security vulnerabilities . Instead of using vf

compiling world fails in ===> usr.sbin/dnssec-revoke (all) with 9.0 from today

2012-04-27 Thread Erich Dollansky
Hi, I just downloaded the sources for 9.0 stable and got this error while compiling world: ===> usr.sbin/dnssec-revoke (all) cc -O2 -pipe -DVERSION='"9.8.1-P1"' -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/named

Re: updating from r231158 to 234465: mounting from ufs:/dev/ad4s1a failed with error 19

2012-04-27 Thread John Baldwin
On Thursday, April 26, 2012 6:42:15 pm Anton Shterenlikht wrote: > I was updating from r231158 to 234465 > (amd64 laptop Compaq 6715s), > and I think I must've messed someting > up in the kernel config. Now I get > build error, panic of a loader error, > depending on which kernel I build. > >

Re: [workaroud/fix for] buildworld fails on FreeBSD 7.x for HEAD from 19.04.2012

2012-04-27 Thread Jan Sieka
On 2012.04.22 21:07, Garrett Cooper wrote: On Apr 22, 2012, at 10:34 AM, Dimitry Andric wrote: Well, I wouldn't want to run autoconf during build, firstly because it is horribly slow, and second because the results will be less predictable. Maybe during the bootstrap stage, it would be accepta

Re: [RFC] Un-staticise the toolchain

2012-04-27 Thread Konstantin Belousov
On Fri, Apr 27, 2012 at 02:58:06PM +0400, Ruslan Ermilov wrote: > Regarding your patch... > > By placing SHARED_TOOLCHAIN to __DEFAULT_NO_OPTIONS list in > bsd.own.mk, you already had MK_SHARED_TOOLCHAIN set to "no" by > default, which preserves the current status quo of building > toolchain stati

Re: [RFC] Un-staticise the toolchain

2012-04-27 Thread Ruslan Ermilov
On Fri, Apr 27, 2012 at 11:58:59AM +0300, Konstantin Belousov wrote: > On Thu, Apr 26, 2012 at 05:41:40PM +0400, Ruslan Ermilov wrote: > > On Thu, Apr 26, 2012 at 12:35:48PM +0300, Konstantin Belousov wrote: [...] > > > Patch below makes the dynamically linked toolchain a default, adding an > > > W

Re: [RFC] Un-staticise the toolchain

2012-04-27 Thread Konstantin Belousov
On Thu, Apr 26, 2012 at 05:41:40PM +0400, Ruslan Ermilov wrote: > On Thu, Apr 26, 2012 at 12:35:48PM +0300, Konstantin Belousov wrote: > > I think it is time to stop building the toolchain static. I was told that > > original reasoning for static linking was the fear of loosing the ability > > to r