SVN r273734 breaks i386 compilation

2014-10-27 Thread Michael Butler
The updates to dd cause this on an i386 ..

=== bin/dd (all)
cc  -O2 -pipe -march=pentium4  -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
/usr/src/bin/dd/args.c
/usr/src/bin/dd/args.c:192:43: error: format specifies type 'intmax_t'
(aka 'long long') but the argument has type 'int' [-Werror,-Wformat]
errx(1, bs must be between 1 and %jd, SSIZE_MAX);
  ~~~   ^
  %d


/usr/obj/usr/src/tmp/usr/include/sys/limits.h:72:19: note: expanded from
macro 'SSIZE_MAX'
#define SSIZE_MAX   __SSIZE_MAX /* max value for an ssize_t */
^~~
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:86:21: note: expanded
from macro '__SSIZE_MAX'
#define __SSIZE_MAX __INT_MAX
^
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:57:19: note: expanded
from macro '__INT_MAX'
#define __INT_MAX   0x7fff  /* max value for an int */
^~
/usr/src/bin/dd/args.c:201:44: error: format specifies type 'intmax_t'
(aka 'long long') but the argument has type 'int' [-Werror,-Wformat]
errx(1, cbs must be between 1 and %jd, SSIZE_MAX);
   ~~~   ^
   %d


/usr/obj/usr/src/tmp/usr/include/sys/limits.h:72:19: note: expanded from
macro 'SSIZE_MAX'
#define SSIZE_MAX   __SSIZE_MAX /* max value for an ssize_t */
^~~
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:86:21: note: expanded
from macro '__SSIZE_MAX'
#define __SSIZE_MAX __INT_MAX
^
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:57:19: note: expanded
from macro '__INT_MAX'
#define __INT_MAX   0x7fff  /* max value for an int */
^~
/usr/src/bin/dd/args.c:221:46: error: format specifies type 'uintmax_t'
(aka 'unsigned long long') but the argument has type 'unsigned int'
[-Werror,-Wformat]
errx(1, files must be between 1 and %ju, SIZE_MAX);
 ~~~   ^~~~
 %u
/usr/obj/usr/src/tmp/usr/include/x86/_stdint.h:180:18: note: expanded
from macro 'SIZE_MAX'
#define SIZE_MAXUINT32_MAX
^~
/usr/obj/usr/src/tmp/usr/include/x86/_stdint.h:82:20: note: expanded
from macro 'UINT32_MAX'
#define UINT32_MAX  0xU
^~~
/usr/src/bin/dd/args.c:241:45: error: format specifies type 'uintmax_t'
(aka 'unsigned long long') but the argument has type 'int'
[-Werror,-Wformat]
errx(1, ibs must be between 1 and %ju, SSIZE_MAX);
   ~~~   ^
   %d
/usr/obj/usr/src/tmp/usr/include/sys/limits.h:72:19: note: expanded from
macro 'SSIZE_MAX'
#define SSIZE_MAX   __SSIZE_MAX /* max value for an ssize_t */
^~~
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:86:21: note: expanded
from macro '__SSIZE_MAX'
#define __SSIZE_MAX __INT_MAX
^
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:57:19: note: expanded
from macro '__INT_MAX'
#define __INT_MAX   0x7fff  /* max value for an int */
^~
/usr/src/bin/dd/args.c:259:45: error: format specifies type 'intmax_t'
(aka 'long long') but the argument has type 'int' [-Werror,-Wformat]
errx(1, obs must be between 1 and %jd, SSIZE_MAX);
   ~~~   ^
   %d
/usr/obj/usr/src/tmp/usr/include/sys/limits.h:72:19: note: expanded from
macro 'SSIZE_MAX'
#define SSIZE_MAX   __SSIZE_MAX /* max value for an ssize_t */
^~~
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:86:21: note: expanded
from macro '__SSIZE_MAX'
#define __SSIZE_MAX __INT_MAX
^
/usr/obj/usr/src/tmp/usr/include/x86/_limits.h:57:19: note: expanded
from macro '__INT_MAX'
#define __INT_MAX   0x7fff  /* max value for an int */
^~
5 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/bin/dd
*** Error code 1



signature.asc
Description: 

Re: SVN r273734 breaks i386 compilation

2014-10-27 Thread Kurt Jaeger
Hi!

 The updates to dd cause this on an i386 ..

Yes, I'm sorry. Change reverted.

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
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