Re: Fix for r281680 -- broke i386 world

2015-04-18 Thread David Wolfskill
On Sat, Apr 18, 2015 at 11:36:05PM +0800, Marcelo Araujo wrote:
 Hi,
 
 Saw your patch, why %ju and not %llx as the output shows?

%llx fails amd64, as the object is 64 bits, and therefore merely long,
not long long in amd64.

I will test kib@'s recommendation (casting)  report.

...

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpj7jH78wB2_.pgp
Description: PGP signature


Re: Fix for r281680 -- broke i386 world

2015-04-18 Thread Konstantin Belousov
On Sat, Apr 18, 2015 at 08:17:02AM -0700, David Wolfskill wrote:
 Head/amd64 @ r281689 built OK, but my i386 build failed:
 
 ...
 --- usr.sbin.all__D ---
 --- all_subdir_bluetooth ---
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:4: error: format specifies 
 type 'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned 
 long long') [-Werror,-Wformat]
 rp.le_features);
 ^~
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:49: error: format specifies 
 type 'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned 
 long long') [-Werror,-Wformat]
 printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
  ~~~   ^~~~
  %llx
 2 errors generated.
 
 
 
 The attached patch allows i386 to build, and I then tested to verify
 that amd64 still built.  (I don't have Bluetooth devices, so I
 cannot test its operation.)
 
 Peace,
 david
 -- 
 David H. Wolfskillda...@catwhisker.org
 Those who murder in the name of God or prophet are blasphemous cowards.
 
 See http://www.catwhisker.org/~david/publickey.gpg for my public key.

 Index: usr.sbin/bluetooth/hccontrol/le.c
 ===
 --- usr.sbin/bluetooth/hccontrol/le.c (revision 281689)
 +++ usr.sbin/bluetooth/hccontrol/le.c (working copy)
 @@ -232,7 +232,7 @@
   NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), 
   (void *)rp, n);
  
 - printf(LOCAL SUPPORTED: %d %d %lu\n, e, rp.status,
 + printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
   rp.le_features);
  
   return 0;
 @@ -250,7 +250,7 @@
   NG_HCI_OCF_LE_READ_SUPPORTED_STATUS),
   (void *)rp, n);
  
 - printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
 + printf(LE_STATUS: %d %d %jx\n, e, rp.status, rp.le_status);
  
   return 0;
  }

The j modificator specifies that the type of the argument is (u)intmax_t.
It is only a coincidense that uint64_t is max integer type, the arg should
be casted to uintmax_t.

Could you, please, update and test ?


___
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


Jenkins build is back to normal : FreeBSD_HEAD #2660

2015-04-18 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD/2660/changes

___
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


Fix for r281680 -- broke i386 world

2015-04-18 Thread David Wolfskill
Head/amd64 @ r281689 built OK, but my i386 build failed:

...
--- usr.sbin.all__D ---
--- all_subdir_bluetooth ---
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:4: error: format specifies type 
'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned long 
long') [-Werror,-Wformat]
rp.le_features);
^~
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:49: error: format specifies type 
'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned long 
long') [-Werror,-Wformat]
printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
 ~~~   ^~~~
 %llx
2 errors generated.



The attached patch allows i386 to build, and I then tested to verify
that amd64 still built.  (I don't have Bluetooth devices, so I
cannot test its operation.)

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Index: usr.sbin/bluetooth/hccontrol/le.c
===
--- usr.sbin/bluetooth/hccontrol/le.c	(revision 281689)
+++ usr.sbin/bluetooth/hccontrol/le.c	(working copy)
@@ -232,7 +232,7 @@
 			NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), 
 			(void *)rp, n);
 
-	printf(LOCAL SUPPORTED: %d %d %lu\n, e, rp.status,
+	printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
 			rp.le_features);
 
 	return 0;
@@ -250,7 +250,7 @@
 	NG_HCI_OCF_LE_READ_SUPPORTED_STATUS),
 			   		(void *)rp, n);
 
-	printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
+	printf(LE_STATUS: %d %d %jx\n, e, rp.status, rp.le_status);
 
 	return 0;
 }


pgpX67JRiy9Zl.pgp
Description: PGP signature


Re: Fix for r281680 -- broke i386 world

2015-04-18 Thread Marcelo Araujo
Hi,

Saw your patch, why %ju and not %llx as the output shows?

Best,
Head/amd64 @ r281689 built OK, but my i386 build failed:

...
--- usr.sbin.all__D ---
--- all_subdir_bluetooth ---
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:4: error: format specifies
type 'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned
long long') [-Werror,-Wformat]
rp.le_features);
^~
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:49: error: format specifies
type 'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned
long long') [-Werror,-Wformat]
printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
 ~~~   ^~~~
 %llx
2 errors generated.



The attached patch allows i386 to build, and I then tested to verify
that amd64 still built.  (I don't have Bluetooth devices, so I
cannot test its operation.)

Peace,
david
--
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
___
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


Jenkins build is back to stable : FreeBSD_HEAD-tests2 #944

2015-04-18 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/944/

___
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: Fix for r281680 -- broke i386 world

2015-04-18 Thread Marcelo Araujo
I didn't catch it. But please unbroken the I386 build.
On Apr 18, 2015 11:17 PM, David Wolfskill da...@catwhisker.org wrote:

 Head/amd64 @ r281689 built OK, but my i386 build failed:

 ...
 --- usr.sbin.all__D ---
 --- all_subdir_bluetooth ---
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:4: error: format specifies
 type 'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned
 long long') [-Werror,-Wformat]
 rp.le_features);
 ^~
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:49: error: format specifies
 type 'unsigned long' but the argument has type 'u_int64_t' (aka 'unsigned
 long long') [-Werror,-Wformat]
 printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
  ~~~   ^~~~
  %llx
 2 errors generated.
 


 The attached patch allows i386 to build, and I then tested to verify
 that amd64 still built.  (I don't have Bluetooth devices, so I
 cannot test its operation.)

 Peace,
 david
 --
 David H. Wolfskill  da...@catwhisker.org
 Those who murder in the name of God or prophet are blasphemous cowards.

 See http://www.catwhisker.org/~david/publickey.gpg for my public key.

___
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: Fix for r281680 -- broke i386 world

2015-04-18 Thread Steven Hartland



On 18/04/2015 17:30, David Wolfskill wrote:

On Sat, Apr 18, 2015 at 06:34:59PM +0300, Konstantin Belousov wrote:

...

-   printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
+   printf(LE_STATUS: %d %d %jx\n, e, rp.status, rp.le_status);
  
  	return 0;

  }

The j modificator specifies that the type of the argument is (u)intmax_t.
It is only a coincidense that uint64_t is max integer type, the arg should
be casted to uintmax_t.

Could you, please, update and test ?


Thank you for the correction; the attached patch survives both i386 
amd64 make buildworld ... and comes a bit closer to the above
specification.  (I had tried (uintmax_t)rp.le_features at first; that
failed (at least on amd64), with:

--- usr.sbin.all__D ---
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:15: error: expected ')'
 (uintmax_t)rp.le_features);
^
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:235:8: note: to match this '('
 printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
   ^
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:60: error: expected ')'
 printf(LE_STATUS: %d %d %jx\n, e, rp.status, 
(uintmax_t)rp.le_status);
   ^
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:8: note: to match this '('
 printf(LE_STATUS: %d %d %jx\n, e, rp.status, 
(uintmax_t)rp.le_status);
   ^
2 errors generated.

So I took a bit of evasive action.)

The errors not very good, but I'm guessing your missing #include 
stdint.h for uintmax_t where as u_int64_t is from sys/types.h iirc.


Regards
Steve
___
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: Fix for r281680 -- broke i386 world

2015-04-18 Thread David Wolfskill
On Sat, Apr 18, 2015 at 06:34:59PM +0300, Konstantin Belousov wrote:
 ...
  -   printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
  +   printf(LE_STATUS: %d %d %jx\n, e, rp.status, rp.le_status);
   
  return 0;
   }
 
 The j modificator specifies that the type of the argument is (u)intmax_t.
 It is only a coincidense that uint64_t is max integer type, the arg should
 be casted to uintmax_t.
 
 Could you, please, update and test ?
 

Thank you for the correction; the attached patch survives both i386 
amd64 make buildworld ... and comes a bit closer to the above
specification.  (I had tried (uintmax_t)rp.le_features at first; that
failed (at least on amd64), with:

--- usr.sbin.all__D ---
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:15: error: expected ')'
(uintmax_t)rp.le_features);
   ^
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:235:8: note: to match this '('
printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
  ^
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:60: error: expected ')'
printf(LE_STATUS: %d %d %jx\n, e, rp.status, (uintmax_t)rp.le_status);
  ^
/usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:8: note: to match this '('
printf(LE_STATUS: %d %d %jx\n, e, rp.status, (uintmax_t)rp.le_status);
  ^
2 errors generated.

So I took a bit of evasive action.)

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Index: usr.sbin/bluetooth/hccontrol/le.c
===
--- usr.sbin/bluetooth/hccontrol/le.c	(revision 281689)
+++ usr.sbin/bluetooth/hccontrol/le.c	(working copy)
@@ -232,8 +232,8 @@
 			NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), 
 			(void *)rp, n);
 
-	printf(LOCAL SUPPORTED: %d %d %lu\n, e, rp.status,
-			rp.le_features);
+	printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
+			(u_int64_t)rp.le_features);
 
 	return 0;
 }
@@ -250,7 +250,7 @@
 	NG_HCI_OCF_LE_READ_SUPPORTED_STATUS),
 			   		(void *)rp, n);
 
-	printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
+	printf(LE_STATUS: %d %d %jx\n, e, rp.status, (u_int64_t)rp.le_status);
 
 	return 0;
 }


pgpuZQrp5e92p.pgp
Description: PGP signature


[Request for Help] Reducing gcc 4.9 compilation warnings

2015-04-18 Thread Craig Rodrigues
Hi,

After the latest commits by members of freebsd-toolchain@ ,
I have managed to compile latest CURRENT world and GENERIC
kernel on amd64 with an gcc 4.9 external toolchain by doing:

   pkg install devel/amd64-xtoolchain-gcc
   cd /usr/src
   sed -i  -e 's/boot2//' sys/boot/i386/Makefile
   make buildworld CROSS_TOOLCHAIN=amd64-gcc NO_WERROR=yes WERROR=
   make buildkernel CROSS_TOOLCHAIN=amd64-gcc NO_WERROR=yes WERROR=


It was necessary to skip boot2 from building because of errors
reported here:
https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-April/001658.html

The boot2 compilation errors still need to be worked on.

However, most other things compile with warnings.  If folks are
interested in looking at the warnings, you can see them here:

https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/warnings17

Please look at these warnings, and if you see places to
patch the code to eliminate the warnings, please submit patches
and commit them if you can.

clang is still going to be the default compiler in the base system,
but it is nice to have FreeBSD compilable by multiple compilers.
--
Craig
___
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: Fix for r281680 -- broke i386 world

2015-04-18 Thread Konstantin Belousov
On Sat, Apr 18, 2015 at 09:30:57AM -0700, David Wolfskill wrote:
 On Sat, Apr 18, 2015 at 06:34:59PM +0300, Konstantin Belousov wrote:
  ...
   - printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
   + printf(LE_STATUS: %d %d %jx\n, e, rp.status, rp.le_status);

 return 0;
}
  
  The j modificator specifies that the type of the argument is (u)intmax_t.
  It is only a coincidense that uint64_t is max integer type, the arg should
  be casted to uintmax_t.
  
  Could you, please, update and test ?
  
 
 Thank you for the correction; the attached patch survives both i386 
 amd64 make buildworld ... and comes a bit closer to the above
 specification.  (I had tried (uintmax_t)rp.le_features at first; that
 failed (at least on amd64), with:
 
 --- usr.sbin.all__D ---
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:236:15: error: expected ')'
 (uintmax_t)rp.le_features);
^
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:235:8: note: to match this '('
 printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
   ^
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:60: error: expected ')'
 printf(LE_STATUS: %d %d %jx\n, e, rp.status, 
 (uintmax_t)rp.le_status);
   ^
 /usr/src/usr.sbin/bluetooth/hccontrol/le.c:253:8: note: to match this '('
 printf(LE_STATUS: %d %d %jx\n, e, rp.status, 
 (uintmax_t)rp.le_status);
   ^
 2 errors generated.
 
 So I took a bit of evasive action.)
 
 Peace,
 david
 -- 
 David H. Wolfskillda...@catwhisker.org
 Those who murder in the name of God or prophet are blasphemous cowards.
 
 See http://www.catwhisker.org/~david/publickey.gpg for my public key.

 Index: usr.sbin/bluetooth/hccontrol/le.c
 ===
 --- usr.sbin/bluetooth/hccontrol/le.c (revision 281689)
 +++ usr.sbin/bluetooth/hccontrol/le.c (working copy)
 @@ -232,8 +232,8 @@
   NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), 
   (void *)rp, n);
  
 - printf(LOCAL SUPPORTED: %d %d %lu\n, e, rp.status,
 - rp.le_features);
 + printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
 + (u_int64_t)rp.le_features);
  
   return 0;
  }
 @@ -250,7 +250,7 @@
   NG_HCI_OCF_LE_READ_SUPPORTED_STATUS),
   (void *)rp, n);
  
 - printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
 + printf(LE_STATUS: %d %d %jx\n, e, rp.status, (u_int64_t)rp.le_status);
  
   return 0;
  }

No, this is equally wrong.  If the problem is due to uintmax_t not brought
in to the scope by other dependencies, explicit
#include stdint.h
should be added at the prologue.

I am struggling for two days trying to pass my pending patches through
make tinderbox.  I added the uintmax_t version into the mix right now
for the next try.
___
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: Fix for r281680 -- broke i386 world

2015-04-18 Thread David Wolfskill
On Sat, Apr 18, 2015 at 07:46:40PM +0300, Konstantin Belousov wrote:
 ...
 No, this is equally wrong.  If the problem is due to uintmax_t not brought
 in to the scope by other dependencies, explicit
 #include stdint.h
 should be added at the prologue.
 
 I am struggling for two days trying to pass my pending patches through
 make tinderbox.  I added the uintmax_t version into the mix right now
 for the next try.

OK; attached survived buildworld for both amd64  i386, and I think it's
what's intended.

On Sat, Apr 18, 2015 at 06:03:42PM +0100, Steven Hartland wrote:
 ... 
  So I took a bit of evasive action.)
 
 The errors not very good, but I'm guessing your missing #include 
 stdint.h for uintmax_t where as u_int64_t is from sys/types.h iirc.
 ...

Quite so; thanks.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Index: usr.sbin/bluetooth/hccontrol/le.c
===
--- usr.sbin/bluetooth/hccontrol/le.c	(revision 281689)
+++ usr.sbin/bluetooth/hccontrol/le.c	(working copy)
@@ -39,6 +39,7 @@
 #include errno.h
 #include netgraph/ng_message.h
 #include errno.h
+#include stdint.h
 #include stdio.h
 #include stdlib.h
 #include string.h
@@ -232,8 +233,8 @@
 			NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), 
 			(void *)rp, n);
 
-	printf(LOCAL SUPPORTED: %d %d %lu\n, e, rp.status,
-			rp.le_features);
+	printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
+			(uintmax_t)rp.le_features);
 
 	return 0;
 }
@@ -250,7 +251,7 @@
 	NG_HCI_OCF_LE_READ_SUPPORTED_STATUS),
 			   		(void *)rp, n);
 
-	printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
+	printf(LE_STATUS: %d %d %jx\n, e, rp.status, (uintmax_t)rp.le_status);
 
 	return 0;
 }


pgpYpfhdVV_jE.pgp
Description: PGP signature


Re: Fix for r281680 -- broke i386 world

2015-04-18 Thread Konstantin Belousov
On Sat, Apr 18, 2015 at 10:53:10AM -0700, David Wolfskill wrote:
 On Sat, Apr 18, 2015 at 07:46:40PM +0300, Konstantin Belousov wrote:
  ...
  No, this is equally wrong.  If the problem is due to uintmax_t not brought
  in to the scope by other dependencies, explicit
  #include stdint.h
  should be added at the prologue.
  
  I am struggling for two days trying to pass my pending patches through
  make tinderbox.  I added the uintmax_t version into the mix right now
  for the next try.
 
 OK; attached survived buildworld for both amd64  i386, and I think it's
 what's intended.
 
 On Sat, Apr 18, 2015 at 06:03:42PM +0100, Steven Hartland wrote:
  ... 
   So I took a bit of evasive action.)
  
  The errors not very good, but I'm guessing your missing #include 
  stdint.h for uintmax_t where as u_int64_t is from sys/types.h iirc.
  ...
 
 Quite so; thanks.
 
 Peace,
 david
 -- 
 David H. Wolfskillda...@catwhisker.org
 Those who murder in the name of God or prophet are blasphemous cowards.
 
 See http://www.catwhisker.org/~david/publickey.gpg for my public key.

 Index: usr.sbin/bluetooth/hccontrol/le.c
 ===
 --- usr.sbin/bluetooth/hccontrol/le.c (revision 281689)
 +++ usr.sbin/bluetooth/hccontrol/le.c (working copy)
 @@ -39,6 +39,7 @@
  #include errno.h
  #include netgraph/ng_message.h
  #include errno.h
 +#include stdint.h
  #include stdio.h
  #include stdlib.h
  #include string.h
 @@ -232,8 +233,8 @@
   NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), 
   (void *)rp, n);
  
 - printf(LOCAL SUPPORTED: %d %d %lu\n, e, rp.status,
 - rp.le_features);
 + printf(LOCAL SUPPORTED: %d %d %ju\n, e, rp.status,
 + (uintmax_t)rp.le_features);
  
   return 0;
  }
 @@ -250,7 +251,7 @@
   NG_HCI_OCF_LE_READ_SUPPORTED_STATUS),
   (void *)rp, n);
  
 - printf(LE_STATUS: %d %d %lx\n, e, rp.status, rp.le_status);
 + printf(LE_STATUS: %d %d %jx\n, e, rp.status, (uintmax_t)rp.le_status);
  
   return 0;
  }


Yes, thank you.  This is exactly what I run with make universe right now.
It seems the patch was landed in r281697.
___
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


Build failed in Jenkins: FreeBSD_HEAD #2663

2015-04-18 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD/2663/changes

Changes:

[kib] Regen.

[kib] Regen.

[kib] The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and
pwrite(2) syscalls are wrapped to provide compatibility with pre-7.x
kernels which required padding before the off_t parameter.  The
fcntl(2) contains compatibility code to handle kernels before the
struct flock was changed during the 8.x CURRENT development.  The
shims were reasonable to allow easier revert to the older kernel at
that time.

Now, two or three major releases later, shims do not serve any
purpose.  Such old kernels cannot handle current libc, so revert the
compatibility code.

Make padded syscalls support conditional under the COMPAT6 config
option.  For COMPAT32, the syscalls were under COMPAT6 already.

Remove WITHOUT_SYSCALL_COMPAT build option, which only purpose was to
(partially) disable the removed shims.

Reviewed by:jhb, imp (previous versions)
Discussed with: peter
Sponsored by:   The FreeBSD Foundation
MFC after:  1 week

[jhibbits] Implement hwpmc(4) for Freescale e500 core.

This supports e500v1, e500v2, and e500mc. Tested only on e500v2, but the
performance counters are identical across all, with e500mc having some
additional events.

Relnotes:   Yes

[kib] Make wait6(2), waitid(3) and ppoll(2) cancellation points.  The
waitid() function is required to be cancellable by the standard.  The
wait6() and ppoll() follow the other syscalls in their groups.

Reviewed by:jhb, jilles (previous versions)
Sponsored by:   The FreeBSD Foundation
MFC after:  1 week

[kib] Revert unrelated chunk from the r281707.

MFC after:  2 weeks

[kib] Remove lazy pmap switch code from i386.  Naive benchmark with md(4)
shows no difference with the code removed.

On both amd64 and i386, assert that a released pmap is not active.

Proposed and reviewed by:   alc
Discussed with: Svatopluk Kraus onw...@gmail.com, peter
Sponsored by:   The FreeBSD Foundation
MFC after:  2 weeks

[markj] Add manual pages for the io, ip, proc, sched, tcp and udp DTrace 
providers.
The format of these pages is somewhat experimental, so they may be subject
to further tweaking.

Differential Revision:  https://reviews.freebsd.org/D2170
Reviewed by:bcr, rpaulo
MFC after:  2 weeks

[rpaulo] Synaptics: don't report the middle button when clickPad is used.

On trackpads that had support for both, we were sending two button
events when the trackpad was pressed.

Tested by:  Jakob Alvermark jakob at alvermark.net
MFC after:  1 week

[kib] Complete r281670, unlist removed files.

Sponsored by:   The FreeBSD Foundation

[markj] Remove unimplemented sched provider probes.

They were added for compatibility with the sched provider in Solaris and
illumos, but our sched provider is already incompatible since it uses native
types, so there isn't much point in keeping them around.

Differential Revision:  https://reviews.freebsd.org/D2167
Reviewed by:rpaulo

[markj] SDT(9): add a section on SDT providers, mentioning the sdt provider.
Add examples demonstrating how one can list available providers and the
DTrace probes provided by a provider.

Differential Revision:  https://reviews.freebsd.org/D2166
Reviewed by:rpaulo
MFC after:  2 weeks

[mav] Workaround bhyve virtual disks operation on top of GEOM providers.

GEOM does not support scatter/gather lists in its I/Os.  Such requests
are cut in pieces by physio(), that may be problematic, if those pieces
are not multiple of provider's sector size.  If such case is detected,
move the data through temporary sequential buffer.

MFC after:  2 weeks

[sjg] No need to delete export from filesystems which are not exported.

[mav] Do not report stripe size if it is equal to sector size.

MFC after:  1 week

--
[...truncated 103791 lines...]
--- all_subdir_libmilter ---
--- strl.o ---
cc   -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/src
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/include
 -I. -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_THREAD_SAFE -DSM_CONF_POLL 
-DNETINET6  -std=gnu99 -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare 
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/libsm/strl.c
 -o strl.o
--- all_subdir_libdwarf ---
--- dwarf_pro_types.o ---
cc   -O2 -pipe   -I. 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/libdwarf
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/common
 

Re: Build failed in Jenkins: FreeBSD_HEAD #2663

2015-04-18 Thread Garrett Cooper

 On Apr 18, 2015, at 15:56, jenkins-ad...@freebsd.org wrote:


 === lib/libpmc (all)
 --- libpmc.So ---
 cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector -Wsystem-headers 
 -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
 -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations 
 -Wthread-safety -Wno-empty-body -Wno-string-plus-int 
 -Wno-unused-const-variable -Qunused-arguments -c 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c -o 
 libpmc.So
 --- pmclog.So ---
 cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector -Wsystem-headers 
 -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
 -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations 
 -Wthread-safety -Wno-empty-body -Wno-string-plus-int 
 -Wno-unused-const-variable -Qunused-arguments -c 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/pmclog.c -o 
 pmclog.So
 --- libpmc.So ---
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:302:1: 
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean 
 'PMC_CLASS_P5'?
 PMC_MDEP_TABLE(e500, E500, PMC_CLASS_SOFT, PMC_CLASS_E500, PMC_CLASS_TSC);
 ^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:273:3: 
 note: expanded from macro 'PMC_MDEP_TABLE'
PMC_CLASS_##C, __VA_ARGS__  \
^
 scratch space:64:1: note: expanded from here
 PMC_CLASS_E500
 ^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
  note: 'PMC_CLASS_P5' declared here
__PMC_CLASSES()
^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
  note: expanded from macro '__PMC_CLASSES'
__PMC_CLASS(P5) /* Intel Pentium counters */\
^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
  note: expanded from macro '__PMC_CLASS'
 #define __PMC_CLASS(N)  PMC_CLASS_##N ,
^
 scratch space:46:1: note: expanded from here
 PMC_CLASS_P5
 ^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:302:44: 
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean 
 'PMC_CLASS_P5'?
 PMC_MDEP_TABLE(e500, E500, PMC_CLASS_SOFT, PMC_CLASS_E500, PMC_CLASS_TSC);
   ^~
   PMC_CLASS_P5
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:273:18: 
 note: expanded from macro 'PMC_MDEP_TABLE'
PMC_CLASS_##C, __VA_ARGS__  \
   ^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
  note: 'PMC_CLASS_P5' declared here
__PMC_CLASSES()
^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
  note: expanded from macro '__PMC_CLASSES'
__PMC_CLASS(P5) /* Intel Pentium counters */\
^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
  note: expanded from macro '__PMC_CLASS'
 #define __PMC_CLASS(N)  PMC_CLASS_##N ,
^
 scratch space:46:1: note: expanded from here
 PMC_CLASS_P5
 ^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:2961:7: 
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean 
 'PMC_CLASS_P5'?
case PMC_CLASS_E500:
 ^~
 PMC_CLASS_P5
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
  note: 'PMC_CLASS_P5' declared here
__PMC_CLASSES()
^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
  note: expanded from macro '__PMC_CLASSES'
__PMC_CLASS(P5) /* Intel Pentium counters */\
^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
  note: expanded from macro '__PMC_CLASS'
 #define __PMC_CLASS(N)  PMC_CLASS_##N ,
^
 scratch space:46:1: note: expanded from here
 PMC_CLASS_P5
 ^
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:2961:7: 
 error: duplicate case value 'PMC_CLASS_P5'
case PMC_CLASS_E500:
 ^
 

Re: Build failed in Jenkins: FreeBSD_HEAD #2663

2015-04-18 Thread Justin Hibbits
Crap, sorry. I wonder how that compiled fine for me. I'll fix it in a
couple hours when I get home.

-Justin
On Apr 18, 2015 4:49 PM, Garrett Cooper yaneurab...@gmail.com wrote:


  On Apr 18, 2015, at 15:56, jenkins-ad...@freebsd.org wrote:


  === lib/libpmc (all)
  --- libpmc.So ---
  cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
 -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
 -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
 -Wthread-safety -Wno-empty-body -Wno-string-plus-int
 -Wno-unused-const-variable -Qunused-arguments -c 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c -o
 libpmc.So
  --- pmclog.So ---
  cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
 -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
 -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
 -Wthread-safety -Wno-empty-body -Wno-string-plus-int
 -Wno-unused-const-variable -Qunused-arguments -c 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/pmclog.c -o
 pmclog.So
  --- libpmc.So ---
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:302:1:
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean
 'PMC_CLASS_P5'?
  PMC_MDEP_TABLE(e500, E500, PMC_CLASS_SOFT, PMC_CLASS_E500,
 PMC_CLASS_TSC);
  ^
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:273:3:
 note: expanded from macro 'PMC_MDEP_TABLE'
 PMC_CLASS_##C, __VA_ARGS__  \
 ^
  scratch space:64:1: note: expanded from here
  PMC_CLASS_E500
  ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
 note: 'PMC_CLASS_P5' declared here
 __PMC_CLASSES()
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
 note: expanded from macro '__PMC_CLASSES'
 __PMC_CLASS(P5) /* Intel Pentium counters */\
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
 note: expanded from macro '__PMC_CLASS'
  #define __PMC_CLASS(N)  PMC_CLASS_##N ,
 ^
  scratch space:46:1: note: expanded from here
  PMC_CLASS_P5
  ^
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:302:44:
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean
 'PMC_CLASS_P5'?
  PMC_MDEP_TABLE(e500, E500, PMC_CLASS_SOFT, PMC_CLASS_E500,
 PMC_CLASS_TSC);
^~
PMC_CLASS_P5
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:273:18:
 note: expanded from macro 'PMC_MDEP_TABLE'
 PMC_CLASS_##C, __VA_ARGS__  \
^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
 note: 'PMC_CLASS_P5' declared here
 __PMC_CLASSES()
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
 note: expanded from macro '__PMC_CLASSES'
 __PMC_CLASS(P5) /* Intel Pentium counters */\
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
 note: expanded from macro '__PMC_CLASS'
  #define __PMC_CLASS(N)  PMC_CLASS_##N ,
 ^
  scratch space:46:1: note: expanded from here
  PMC_CLASS_P5
  ^
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:2961:7:
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean
 'PMC_CLASS_P5'?
 case PMC_CLASS_E500:
  ^~
  PMC_CLASS_P5
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
 note: 'PMC_CLASS_P5' declared here
 __PMC_CLASSES()
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
 note: expanded from macro '__PMC_CLASSES'
 __PMC_CLASS(P5) /* Intel Pentium counters */\
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
 note: expanded from macro '__PMC_CLASS'
  #define __PMC_CLASS(N)  PMC_CLASS_##N ,
 ^
  scratch space:46:1: note: expanded from here
  

Re: Build failed in Jenkins: FreeBSD_HEAD #2663

2015-04-18 Thread Justin Hibbits
Sorry about that. Forgot the pmc.h changes.

-Justin
On Apr 18, 2015 4:53 PM, Justin Hibbits jhibb...@freebsd.org wrote:

 Crap, sorry. I wonder how that compiled fine for me. I'll fix it in a
 couple hours when I get home.

 -Justin
 On Apr 18, 2015 4:49 PM, Garrett Cooper yaneurab...@gmail.com wrote:


  On Apr 18, 2015, at 15:56, jenkins-ad...@freebsd.org wrote:


  === lib/libpmc (all)
  --- libpmc.So ---
  cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
 -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
 -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
 -Wthread-safety -Wno-empty-body -Wno-string-plus-int
 -Wno-unused-const-variable -Qunused-arguments -c 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c -o
 libpmc.So
  --- pmclog.So ---
  cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
 -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
 -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
 -Wthread-safety -Wno-empty-body -Wno-string-plus-int
 -Wno-unused-const-variable -Qunused-arguments -c 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/pmclog.c -o
 pmclog.So
  --- libpmc.So ---
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:302:1:
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean
 'PMC_CLASS_P5'?
  PMC_MDEP_TABLE(e500, E500, PMC_CLASS_SOFT, PMC_CLASS_E500,
 PMC_CLASS_TSC);
  ^
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:273:3:
 note: expanded from macro 'PMC_MDEP_TABLE'
 PMC_CLASS_##C, __VA_ARGS__  \
 ^
  scratch space:64:1: note: expanded from here
  PMC_CLASS_E500
  ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
 note: 'PMC_CLASS_P5' declared here
 __PMC_CLASSES()
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
 note: expanded from macro '__PMC_CLASSES'
 __PMC_CLASS(P5) /* Intel Pentium counters */\
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
 note: expanded from macro '__PMC_CLASS'
  #define __PMC_CLASS(N)  PMC_CLASS_##N ,
 ^
  scratch space:46:1: note: expanded from here
  PMC_CLASS_P5
  ^
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:302:44:
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean
 'PMC_CLASS_P5'?
  PMC_MDEP_TABLE(e500, E500, PMC_CLASS_SOFT, PMC_CLASS_E500,
 PMC_CLASS_TSC);
^~
PMC_CLASS_P5
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:273:18:
 note: expanded from macro 'PMC_MDEP_TABLE'
 PMC_CLASS_##C, __VA_ARGS__  \
^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
 note: 'PMC_CLASS_P5' declared here
 __PMC_CLASSES()
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
 note: expanded from macro '__PMC_CLASSES'
 __PMC_CLASS(P5) /* Intel Pentium counters */\
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
 note: expanded from macro '__PMC_CLASS'
  #define __PMC_CLASS(N)  PMC_CLASS_##N ,
 ^
  scratch space:46:1: note: expanded from here
  PMC_CLASS_P5
  ^
  https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libpmc/libpmc.c:2961:7:
 error: use of undeclared identifier 'PMC_CLASS_E500'; did you mean
 'PMC_CLASS_P5'?
 case PMC_CLASS_E500:
  ^~
  PMC_CLASS_P5
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:144:2:
 note: 'PMC_CLASS_P5' declared here
 __PMC_CLASSES()
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:125:2:
 note: expanded from macro '__PMC_CLASSES'
 __PMC_CLASS(P5) /* Intel Pentium counters */\
 ^
  
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/tmp/usr/include/sys/pmc.h:143:24:
 note: expanded from macro '__PMC_CLASS'

Build failed in Jenkins: FreeBSD_HEAD #2664

2015-04-18 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD/2664/changes

Changes:

[alc] Eliminate an unused variable.

MFC after:  1 week

[eadler] bin/ed: use correct type in multiplication
The result is line_t** so the multiplication should be size *
sizeof(line_t*)

MFC After:  1 month

[bdrewery] sh: Fix the trap builtin to be POSIX-compliant for 'trap exit SIG' 
and 'trap n n...'.

The parser considered 'trap exit INT' to reset the default for both EXIT and
INT. This beahvior is not POSIX compliant. This was avoided if a value was
specified for 'exit', but then disallows exiting with the signal received. A
possible workaround is using ' exit'.

However POSIX does allow this type of behavior if the parameters are all
integers. Fix the handling for this and clarify its support in the manpage
since it is specifically allowed by POSIX.

Differential Revision:  https://reviews.freebsd.org/D2325
Reviewed by:jilles
MFC after:  2 weeks

--
[...truncated 108947 lines...]
--- all_subdir_libdwarf ---
--- dwarf_pro_weaks.So ---
cc  -fpic -DPIC  -O2 -pipe   -I. 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/libdwarf
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/common
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/libelf
 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations 
-Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c dwarf_pro_weaks.c -o dwarf_pro_weaks.So
--- all_subdir_libmilter ---
--- sm_gethost.o ---
cc   -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/src
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/include
 -I. -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_THREAD_SAFE -DSM_CONF_POLL 
-DNETINET6  -std=gnu99 -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare 
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c
 -o sm_gethost.o
--- all_subdir_libdwarf ---
--- dwarf_pubnames.o ---
cc   -O2 -pipe   -I. 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/libdwarf
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/common
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libdwarf/../../contrib/elftoolchain/libelf
 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations 
-Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c dwarf_pubnames.c -o dwarf_pubnames.o
--- all_subdir_libnetgraph ---
--- debug.So ---
cc  -fpic -DPIC  -O2 -pipe   -std=gnu99 -fstack-protector -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
-Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libnetgraph/debug.c -o 
debug.So
--- all_subdir_libmilter ---
--- errstring.o ---
cc   -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/src
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libmilter/../../contrib/sendmail/include
 -I. -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_THREAD_SAFE -DSM_CONF_POLL 
-DNETINET6  -std=gnu99 -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare 
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c 

Build failed in Jenkins: FreeBSD_HEAD #2658

2015-04-18 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD/2658/changes

Changes:

[takawata] Add LE related HCI control command to hccontrol(1).

[loos] Move the items common to all SoCs to a single file.

[loos] Fix the style(9) and adds two missing parentheses on the licence.

Reduce the differences to bring in the MMC/SD driver.

Approved by:ganbold (licence change)

[mckusick] More accurately collect name-cache statistics in sysctl functions
sysctl_debug_hashstat_nchash() and sysctl_debug_hashstat_rawnchash().
These changes are in preparation for allowing changes in the size
of the vnode hash tables driven by increases and decreases in the
maximum number of vnodes in the system.

Reviewed by: kib@
Phabric: D2265

[loos] Simplify the receiver code a bit.

Drain the RX FIFO and continue on failure.

[emaste] crunchide: always include both 32- and 64-bit ELF support

This avoids the need to build a target-specific crunchide for cross-
uilds.

Differential Revision:  https://reviews.freebsd.org/D2314
Sponsored by:   The FreeBSD Foundation

[loos] Add the necessary support to use both TX queues available on if_emac.

Each TX queue can hold one packet (yes, if_emac can send only two(!)
packets at a time).

Even with this change the very limited FIFO buffer (3 KiB for TX and 13 KiB
for RX) fill up too quick to sustain higher throughput.

For the TCP case it turns out that TX isn't the limiting factor, but the RX
side is (the FIFO fill up and starts to discard packets, so the sender has
to slow down).

[pfg] Drop experimental dir_index support.

The htree directory index is a highly desirable feature for research
purposes and was meant to improve performance in our ext2/3 driver.
Unfortunately our implementation has two problems:

- It never really delivered any performance improvement.
- It appears to corrupt the filesystem in undetermined circumstances.

Strictly speaking dir_index is not required for read/write support in
ext2/3 and our limited ext4 support still works fine without it.

Regain stability in the ext2 driver by removing it. We may need it back
(fixed) if we want to support encrypted ext4 support but thanks to the
wonders of version control we can always revert this change and bring it
back.

PR: 191895
PR: 198731
PR: 199309

MFC after:  5 days

[loos] Remove unnecessary checks and fix an issue where the interrupt handler
could return with lock held.

--
[...truncated 177510 lines...]
--- all_subdir_libllvmmipsasmparser ---
=== lib/clang/libllvmmipsasmparser (all)
--- usr.sbin.all__D ---
--- hid.o ---
cc  -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd 
-g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd/hid.c
 -o hid.o
--- lib.all__D ---
--- all_subdir_libllvmmipscodegen ---
=== lib/clang/libllvmmipscodegen (all)
--- usr.sbin.all__D ---
--- kbd.o ---
cc  -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd 
-g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd/kbd.c
 -o kbd.o
--- lib.all__D ---
--- all_subdir_libllvmmipsdesc ---
=== lib/clang/libllvmmipsdesc (all)
--- usr.sbin.all__D ---
--- server.o ---
cc  -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd 
-g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd/server.c
 -o server.o
--- usr.bin.all__D ---
--- CodeGenSchedule.o ---
c++   -O2 -pipe 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.bin/clang/tblgen/../../../contrib/llvm/include

Build failed in Jenkins: FreeBSD_HEAD #2659

2015-04-18 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD/2659/changes

Changes:

[rpaulo] Fix French typos in etherswitch.

[araujo] Fix misspelling.

[araujo] Improve code style(9), no functional changes.

Differential Revision:  D2320
Reviewed by:takawata

[takawata] Forgot to add  default event mask definition.

--
[...truncated 11 lines...]
--- client.o ---
--- lib.all__D ---
cc  -pg  -O2 -pipe   -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 
-DPLATFORM_CONFIG_H=\https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libarchive/config_freebsd.h\;
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/lib/libarchive
 -DWITH_OPENSSL -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign 
-Wmissing-variable-declarations -Wthread-safety -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_open_file.c
 -o archive_write_open_file.po
--- usr.sbin.all__D ---
cc  -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd 
-g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd/client.c
 -o client.o
--- usr.bin.all__D ---
--- compile_et ---
cc  -O2 -pipe   -I. 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.bin/compile_et/../../contrib/com_err
 -std=gnu99 -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare 
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments  -o compile_et 
compile_et.o parse.o lex.o  -lroken 
-Lhttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/kerberos5/lib/libvers
 -lvers
--- lib.all__D ---
--- archive_write_open_filename.po ---
cc  -pg  -O2 -pipe   -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 
-DPLATFORM_CONFIG_H=\https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libarchive/config_freebsd.h\;
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/obj/builds/FreeBSD_HEAD/lib/libarchive
 -DWITH_OPENSSL -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign 
-Wmissing-variable-declarations -Wthread-safety -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_open_filename.c
 -o archive_write_open_filename.po
--- usr.sbin.all__D ---
--- hid.o ---
cc  -O2 -pipe   
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd 
-g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
-Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Qunused-arguments -c 
https://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.sbin/bluetooth/bthidd/hid.c
 -o hid.o
--- usr.bin.all__D ---
--- all_subdir_clang ---
--- CodeGenMapTable.o ---
c++   -O2 -pipe 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.bin/clang/tblgen/../../../contrib/llvm/include
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.bin/clang/tblgen/../../../contrib/llvm/tools/clang/include
 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen
 -I. 
-Ihttps://jenkins.freebsd.org/job/FreeBSD_HEAD/ws/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS