Problem with Current amd64

2018-07-18 Thread Filippo Moretti
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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [PATCH] Recent libm additions

2018-07-18 Thread Steve Kargl
This is now PR 229876.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229876


-- 
steve

On Mon, Jul 16, 2018 at 08:20:11PM -0700, Steve Kargl wrote:
> Version 2.  After applying the patch, one can
> 
> % svn delete libm/msun/src/polevll.c
> % svn commit libm/msun/src/polevll.c
> 
> * lib/msun/Makefile:
>   . Remove polevll.c
> 
> * lib/msun/ld80/e_powl.c:
>   . Copy contents of polevll.c to here.  This is the only consumer of 
> these functions.  Make functions 'static inline'.
>   . Make reducl a 'static inline' function.
>  
> * lib/msun/man/exp.3:
>   . Remove BUGS section that no longer applies.
> 
> * lib/msun/src/math_private.h:
>   . Remove prototypes of __p1evll() and __polevll()
> 
> * lib/msun/src/s_cpow.c:
> * lib/msun/src/s_cpowf.c:
> * lib/msun/src/s_cpowl.c
>   . Use the CMPLX macro from either C99 or math_private.h (depends of
> compiler support) instead of the problematic use of complex I.
> 
> Index: lib/msun/Makefile
> ===
> --- lib/msun/Makefile (revision 336360)
> +++ lib/msun/Makefile (working copy)
> @@ -17,6 +17,8 @@
>  
>  .include "${ARCH_SUBDIR}/Makefile.inc"
>  
> +CFLAGS+=-msse
> +
>  .PATH:   ${.CURDIR}/${ARCH_SUBDIR}
>  .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
>  .PATH:   ${.CURDIR}/x86
> @@ -56,7 +58,6 @@
>   imprecise.c \
>   k_cos.c k_cosf.c k_exp.c k_expf.c k_rem_pio2.c k_sin.c k_sinf.c \
>   k_tan.c k_tanf.c \
> - polevll.c \
>   s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_carg.c s_cargf.c s_cargl.c \
>   s_cbrt.c s_cbrtf.c s_ceil.c s_ceilf.c s_clog.c s_clogf.c \
>   s_copysign.c s_copysignf.c s_cos.c s_cosf.c \
> Index: lib/msun/ld80/e_powl.c
> ===
> --- lib/msun/ld80/e_powl.c(revision 336360)
> +++ lib/msun/ld80/e_powl.c(working copy)
> @@ -14,6 +14,52 @@
>   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
>   */
>  
> +#include 
> +__FBSDID("$FreeBSD$");
> +
> +#include 
> +
> +#include "math_private.h"
> +
> +/*
> + * Polynomial evaluator:
> + *  P[0] x^n  +  P[1] x^(n-1)  +  ...  +  P[n]
> + */
> +static inline long double
> +__polevll(long double x, long double *PP, int n)
> +{
> + long double y;
> + long double *P;
> +
> + P = PP;
> + y = *P++;
> + do {
> + y = y * x + *P++;
> + } while (--n);
> +
> + return (y);
> +}
> +
> +/*
> + * Polynomial evaluator:
> + *  x^n  +  P[0] x^(n-1)  +  P[1] x^(n-2)  +  ...  +  P[n]
> + */
> +static inline long double
> +__p1evll(long double x, long double *PP, int n)
> +{
> + long double y;
> + long double *P;
> +
> + P = PP;
> + n -= 1;
> + y = x + *P++;
> + do {
> + y = y * x + *P++;
> + } while (--n);
> +
> + return (y);
> +}
> +
>  /*   powl.c
>   *
>   *   Power function, long double precision
> @@ -467,7 +513,7 @@
>  
>  
>  /* Find a multiple of 1/NXT that is within 1/NXT of x. */
> -static long double
> +static inline long double
>  reducl(long double x)
>  {
>  long double t;
> Index: lib/msun/man/exp.3
> ===
> --- lib/msun/man/exp.3(revision 336360)
> +++ lib/msun/man/exp.3(working copy)
> @@ -180,16 +180,9 @@
>  then \*(Na**0 = 1 too because x**0 = 1 for all finite
>  and infinite x, i.e., independently of x.
>  .El
> -.Sh BUGS
> -To conform with newer C/C++ standards, a stub implementation for
> -.Nm powl
> -was committed to the math library, where
> -.Nm powl
> -is mapped to
> -.Nm pow .
> -Thus, the numerical accuracy is at most that of the 53-bit double
> -precision implementation.
>  .Sh SEE ALSO
> +.Xr clog 3
> +.Xr cpow 3
>  .Xr fenv 3 ,
>  .Xr ldexp 3 ,
>  .Xr log 3 ,
> Index: lib/msun/src/math_private.h
> ===
> --- lib/msun/src/math_private.h   (revision 336360)
> +++ lib/msun/src/math_private.h   (working copy)
> @@ -828,7 +828,4 @@
>  long double __kernel_cosl(long double, long double);
>  long double __kernel_tanl(long double, long double, int);
>  
> -long double __p1evll(long double, void *, int);
> -long double __polevll(long double, void *, int);
> -
>  #endif /* !_MATH_PRIVATE_H_ */
> Index: lib/msun/src/s_cpow.c
> ===
> --- lib/msun/src/s_cpow.c (revision 336360)
> +++ lib/msun/src/s_cpow.c (working copy)
> @@ -60,7 +60,7 @@
>   y = cimag (z);
>   absa = cabs (a);
>   if (absa == 0.0) {
> - return (0.0 + 0.0 * I);
> + return (CMPLX(0.0, 0.0));
>   }
>   arga = carg (a);
>   r = pow (absa, x);
> @@ -69,6 +69,6 @@
>   r = r * exp (-y * arga);
>   theta = theta + y * log (absa);
>   }
> - w = r * cos (theta) + (r * sin (theta)) * I;
> + w = CMPLX(r * 

Re: freebsd-current Digest, Vol 768, Issue 3

2018-07-18 Thread Mike Bergfors
unsubscribe

On Wed, Jul 18, 2018 at 5:01 AM  wrote:

> Send freebsd-current mailing list submissions to
> freebsd-current@freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> or, via email, send a message with subject or body 'help' to
> freebsd-current-requ...@freebsd.org
>
> You can reach the person managing the list at
> freebsd-current-ow...@freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-current digest..."
>
>
> Today's Topics:
>
>1. Re: top -n -o res shows empty output (Ali Abdallah)
>
>
> --
>
> Message: 1
> Date: Wed, 18 Jul 2018 11:34:39 +0200
> From: Ali Abdallah 
> To: freebsd-current@freebsd.org
> Subject: Re: top -n -o res shows empty output
> Message-ID:
> <
> cao3okx934ekt9p8o5ja1bocb-pwbgpmgm-k-r4tw1nfqsxu...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> I have submitted a bug report with a patch
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229842
>
> Best,
> Ali
>
> On Tue, Jul 17, 2018 at 1:41 PM Ali Abdallah  wrote:
>
> > Hello,
> >
> > From around the revision r334918, the command 'top -n -o res' shows empty
> > output.
> >
> > With best regards,
> > Ali
> >
>
>
> --
>
> Subject: Digest Footer
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
>
> --
>
> End of freebsd-current Digest, Vol 768, Issue 3
> ***
>
-- 

[image: New Context] 
Mike Bergfors
Director of Operations
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: top -n -o res shows empty output

2018-07-18 Thread Daichi GOTO
Thank you. I’ll take it.

> 2018/07/18 18:34、Ali Abdallah のメール:
> 
> I have submitted a bug report with a patch
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229842
> 
> Best,
> Ali
> 
> On Tue, Jul 17, 2018 at 1:41 PM Ali Abdallah  wrote:
> 
>> Hello,
>> 
>> From around the revision r334918, the command 'top -n -o res' shows empty
>> output.
>> 
>> With best regards,
>> Ali
>> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

--
Daichi GOTO
CEO | ONGS Inc.
81-42-316-7945 | dai...@ongs.co.jp | http://www.ongs.co.jp
LinkedIn: http://linkedin.com/in/daichigoto

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: top -n -o res shows empty output

2018-07-18 Thread Ali Abdallah
I have submitted a bug report with a patch

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229842

Best,
Ali

On Tue, Jul 17, 2018 at 1:41 PM Ali Abdallah  wrote:

> Hello,
>
> From around the revision r334918, the command 'top -n -o res' shows empty
> output.
>
> With best regards,
> Ali
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"