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

Bug#897802: linux: ftbfs with GCC-8



Control: tag -1  fixed-upstream

Hi,

They are already fixed in upstream, commit
ad343a98e74e85aa91d844310e797f96fee6983b and
854e55ad289ef8888e7991f0ada85d5846f5afb9.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad343a98e74e85aa91d844310e797f96fee6983b
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=854e55ad289ef8888e7991f0ada85d5846f5afb9

Best regards,
  Nobuhiro

2018-05-10 8:35 GMT+09:00 Ben Hutchings <ben@decadent.org.uk>:
> 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.



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6


Reply to: