Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #896933

Bug#897802: linux: ftbfs with GCC-8

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#897802: linux: ftbfs with GCC-8
Date 2018-05-10 01:40 +0200
Message-ID <vNGQF-1ps-3@gated-at.bofh.it> (permalink)
References <vLI0y-7Eq-13@gated-at.bofh.it> <vLI0y-7Eq-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tag -1 upstream

These are the relevant error messages:

  CC       /<<PKGBUILDDIR>>/debian/build/build_amd64_none_amd64/tools/objtool/pager.o
pager.c: In function 'pager_preexec':
pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
  select(1, &in, NULL, &in, NULL);
            ^~~        ~~~
cc1: all warnings being treated as errors

  CC       /<<PKGBUILDDIR>>/debian/build/build_amd64_none_amd64/tools/objtool/str_error_r.o
../lib/str_error_r.c: In function 'str_error_r':
../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
   snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err);
   ^~~~~~~~
cc1: all warnings being treated as errors

These seem to be genuine bugs.

Ben.

-- 
Ben Hutchings
Humour is the best antidote to reality.

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#897802: linux: ftbfs with GCC-8 Ben Hutchings <ben@decadent.org.uk> - 2018-05-10 01:40 +0200
  Bug#897802: linux: ftbfs with GCC-8 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> - 2018-05-24 06:40 +0200

csiph-web