[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Please fix the build with gcc 8.1
From: |
Pavel Raiskup |
Subject: |
[Bug-tar] Please fix the build with gcc 8.1 |
Date: |
Mon, 30 Jul 2018 14:22:02 +0200 |
With current gnulib submodule hash - build system throws:
CC stdopen.o
cc1: error: -Wabi won't warn about anything [-Werror=abi]
cc1: error: -Wabi won't warn about anything [-Werror=abi]
cc1: note: -Wabi warns about differences from the most up-to-date ABI,
which is also used by default
cc1: note: -Wabi warns about differences from the most up-to-date ABI,
which is also used by default
cc1: note: use e.g. -Wabi=11 to warn about changes from GCC 7
cc1: note: use e.g. -Wabi=11 to warn about changes from GCC 7
cc1: error: -Wabi won't warn about anything [-Werror=abi]
cc1: note: -Wabi warns about differences from the most up-to-date ABI,
which is also used by default
cc1: note: use e.g. -Wabi=11 to warn about changes from GCC 7
cc1: error: -Wabi won't warn about anything [-Werror=abi]
cc1: note: -Wabi warns about differences from the most up-to-date ABI,
which is also used by default
cc1: note: use e.g. -Wabi=11 to warn about changes from GCC 7
cc1: error: -Wabi won't warn about anything [-Werror=abi]
cc1: note: -Wabi warns about differences from the most up-to-date ABI,
which is also used by default
cc1: note: use e.g. -Wabi=11 to warn about changes from GCC 7
cc1: all warnings being treated as errors
With updated gnulib to the latest git version - the build system shows:
CC rtapelib.o rtapelib.c: In function ‘rmt_ioctl__’:
rtapelib.c:675:18: error: cast increases required alignment of target
type [-Werror=cast-align]
uintmax_t u = (((struct mtop *) argument)->mt_count < 0
^
rtapelib.c:676:27: error: cast increases required alignment of target
type [-Werror=cast-align]
? - (uintmax_t) ((struct mtop *) argument)->mt_count
^
rtapelib.c:677:27: error: cast increases required alignment of target
type [-Werror=cast-align]
: (uintmax_t) ((struct mtop *) argument)->mt_count);
^
rtapelib.c:684:7: error: cast increases required alignment of target
type [-Werror=cast-align]
if (((struct mtop *) argument)->mt_count < 0)
^
rtapelib.c:690:5: error: cast increases required alignment of target
type [-Werror=cast-align]
((struct mtop *) argument)->mt_op, p);
^
rtapelib.c:735:7: error: cast increases required alignment of target
type [-Werror=cast-align]
if (((struct mtget *) argument)->MTIO_CHECK_FIELD < 256)
Pavel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-tar] Please fix the build with gcc 8.1,
Pavel Raiskup <=