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

Bug#833592: marked as done (powerpc: kernel 4.4.(16|13) don't build with gcc-6 but with gcc-5)



Your message dated Tue, 16 Aug 2016 13:36:35 +0200
with message-id <CA+7wUsxzutOiY2Ta5UHpxr2gb_JqDnRNahPTRP4-WhJvbObvmQ@mail.gmail.com>
and subject line powerpc: kernel 4.4.(16|13) don't build with gcc-6 but with gcc-5
has caused the Debian Bug report #833592,
regarding powerpc: kernel 4.4.(16|13) don't build with gcc-6 but with gcc-5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
833592: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833592
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-6
Version: 6.1.1-11
Severity: important


Hi all,

building a 4.4 Kernel with gcc-6 fails on arch ppc. Build with gcc-5 works fine.
Kernel 4.7 builds fine with gcc-6. The faillog:

In file included from include/linux/linkage.h:4:0,
                 from include/linux/kernel.h:6,
                 from arch/powerpc/kernel/ptrace.c:18:
arch/powerpc/kernel/ptrace.c: In function ‘fpr_get’:
arch/powerpc/kernel/ptrace.c:379:24: error: index 32 denotes an offset greater than size of ‘u64[32][1] {aka long long unsigned int[32][1]}’ [-Werror=array-bounds]
        offsetof(struct thread_fp_state, fpr[32][0]));
                        ^
include/linux/compiler.h:464:19: note: in definition of macro ‘__compiletime_assert’
   bool __cond = !(condition);    \
                   ^~~~~~~~~
include/linux/compiler.h:484:2: note: in expansion of macro ‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/bug.h:50:37: note: in expansion of macro ‘compiletime_assert’
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^~~~~~~~~~~~~~~~~~
include/linux/bug.h:74:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
  ^~~~~~~~~~~~~~~~
arch/powerpc/kernel/ptrace.c:378:2: note: in expansion of macro ‘BUILD_BUG_ON’
  BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
  ^~~~~~~~~~~~
include/linux/stddef.h:16:32: note: in expansion of macro ‘__compiler_offsetof’
 #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                ^~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/ptrace.c:379:8: note: in expansion of macro ‘offsetof’
        offsetof(struct thread_fp_state, fpr[32][0]));
        ^~~~~~~~
arch/powerpc/kernel/ptrace.c: In function ‘fpr_set’:
arch/powerpc/kernel/ptrace.c:407:24: error: index 32 denotes an offset greater than size of ‘u64[32][1] {aka long long unsigned int[32][1]}’ [-Werror=array-bounds]
        offsetof(struct thread_fp_state, fpr[32][0]));
                        ^
include/linux/compiler.h:464:19: note: in definition of macro ‘__compiletime_assert’
   bool __cond = !(condition);    \
                   ^~~~~~~~~
include/linux/compiler.h:484:2: note: in expansion of macro ‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/bug.h:50:37: note: in expansion of macro ‘compiletime_assert’
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^~~~~~~~~~~~~~~~~~
include/linux/bug.h:74:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
  ^~~~~~~~~~~~~~~~
arch/powerpc/kernel/ptrace.c:406:2: note: in expansion of macro ‘BUILD_BUG_ON’
  BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
  ^~~~~~~~~~~~
include/linux/stddef.h:16:32: note: in expansion of macro ‘__compiler_offsetof’
 #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                ^~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/ptrace.c:407:8: note: in expansion of macro ‘offsetof’
        offsetof(struct thread_fp_state, fpr[32][0]));
        ^~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [arch/powerpc/kernel/ptrace.o] Error 1
make[2]: *** [arch/powerpc/kernel] Error 2
make[1]: *** [bindeb-pkg] Error 2
make: *** [bindeb-pkg] Error 2


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 4.7.0-aragorn-lxtec-ppc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-6 depends on:
ii  binutils      2.26.1-1
ii  cpp-6         6.1.1-11
ii  gcc-6-base    6.1.1-11
ii  libatomic1    6.1.1-11
ii  libc6         2.23-4
ii  libcc1-0      6.1.1-11
ii  libgcc-6-dev  6.1.1-11
ii  libgcc1       1:6.1.1-11
ii  libgmp10      2:6.1.1+dfsg-1
ii  libisl15      0.17.1-1
ii  libmpc3       1.0.3-1
ii  libmpfr4      3.1.4-2
ii  libstdc++6    6.1.1-11
ii  zlib1g        1:1.2.8.dfsg-2+b1

Versions of packages gcc-6 recommends:
ii  libc6-dev  2.23-4

Versions of packages gcc-6 suggests:
pn  gcc-6-doc         <none>
pn  gcc-6-locales     <none>
pn  gcc-6-multilib    <none>
pn  libasan3-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
pn  libgcc1-dbg       <none>
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libmpx2-dbg       <none>
pn  libquadmath0-dbg  <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: fixed -1 4.7~rc3-1~exp1

Well looks like this has been fixed now:

https://lkml.org/lkml/2016/6/10/313

--- End Message ---

Reply to: