Eli Schwartz 6fe332967f sys-cluster/drbd-utils: suppress LTO
It fails to build:

```
x86_64-pc-linux-gnu-gcc -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -Wformat -Werror=format-security -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=incompatible-pointer-types -Wall -I../../drbd-headers -I.. -I. -I../shared   -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libnla.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libgenl.o drbdadm_linux.o drbdtool_common_linux.o path_linux.o shared_linux.o
../shared/shared_main.c:60:22: error: type of ‘ifreq_list’ does not match original declaration [-Werror=lto-type-mismatch]
   60 | extern struct ifreq *ifreq_list;
      |                      ^
drbdadm_main.c:150:15: note: ‘ifreq_list’ was previously declared here
  150 | struct ifreq *ifreq_list = NULL;
      |               ^
drbdadm_main.c:150:15: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
lto1: some warnings being treated as errors
lto-wrapper: fatal error: x86_64-pc-linux-gnu-gcc returned 1 exit status
```

Bug: https://bugs.gentoo.org/863728
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-01 00:12:14 +00:00
2023-12-30 17:56:07 +01:00
2023-12-30 03:10:57 +00:00
2023-12-29 23:48:40 +01:00
2023-12-28 21:45:43 +09:00
2023-12-30 03:10:57 +00:00
2023-12-31 18:21:54 +01:00
2023-12-27 16:58:46 +01:00
2023-12-31 19:55:26 +01:00
2023-12-27 20:22:29 +01:00
2023-12-26 21:24:48 +00:00
2023-12-31 16:29:41 +01:00
2023-12-23 22:51:20 +01:00
2023-12-28 03:00:04 +01:00
2023-12-31 20:48:57 +01:00
2023-12-28 21:39:42 +09:00
2023-12-28 04:55:40 +00:00
2023-12-16 09:59:04 +02:00
2023-12-30 01:03:01 +02:00
2023-12-29 19:07:51 +02:00
2023-12-30 03:10:57 +00:00
2023-12-22 09:38:17 +01:00
2023-12-30 17:10:53 +01:00
2023-12-28 04:41:48 +00:00
2023-12-30 17:50:22 -05:00
2023-12-31 03:43:33 +01:00
2024-01-01 00:08:11 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%