[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#897802: linux: ftbfs with GCC-8



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.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: