Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig)
@ 2019-10-24 18:30 bugzilla at busybox.net
  2019-10-24 21:25 ` [Buildroot] [Bug 12281] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-24 18:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

            Bug ID: 12281
           Summary: Custom configuration fails to build (based on
                    raspberrypi3_defconfig)
           Product: buildroot
           Version: 2019.08.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: pmatos at igalia.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

During build of qemu 3.1.1:
In file included from /usr/include/string.h:494,
                 from
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/include/qemu/osdep.h:84,
                 from
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:20:
In function ?strncpy?,
    inlined from ?sys_uname? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:94:3:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
output may be truncated copying 64 bytes from a string of length 64
[-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ?strncpy?,
    inlined from ?sys_uname? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:95:3:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
output may be truncated copying 64 bytes from a string of length 64
[-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ?strncpy?,
    inlined from ?sys_uname? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:96:3:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
output may be truncated copying 64 bytes from a string of length 64
[-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ?strncpy?,
    inlined from ?sys_uname? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:97:3:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
output may be truncated copying 64 bytes from a string of length 64
[-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ?strncpy?,
    inlined from ?sys_uname? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:98:3:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
output may be truncated copying 64 bytes from a string of length 64
[-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ?strncpy?,
    inlined from ?sys_uname? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/uname.c:100:3:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
output may be truncated copying 64 bytes from a string of length 64
[-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/syscall.c:254:16:
error: static declaration of ?gettid? follows non-static declaration
  254 | _syscall0(int, gettid)
      |                ^~~~~~
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/syscall.c:185:13:
note: in definition of macro ?_syscall0?
  185 | static type name (void)   \
      |             ^~~~
In file included from /usr/include/unistd.h:1170,
                 from
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/include/qemu/osdep.h:90,
                 from
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ?gettid?
was here
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~
make[3]: ***
[/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/rules.mak:69:
linux-user/syscall.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/string.h:494,
                 from
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/include/qemu/osdep.h:84,
                 from
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/elfload.c:2:
In function ?strncpy?,
    inlined from ?fill_psinfo? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/elfload.c:3158:12,
    inlined from ?fill_note_info? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/elfload.c:3340:5,
    inlined from ?elf_core_dump? at
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/linux-user/elfload.c:3489:9:
/usr/include/bits/string_fortified.h:106:10: warning: ?__builtin_strncpy?
specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos
(__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:483: subdir-arm-linux-user] Error 2
make[1]: *** [package/pkg-generic.mk:241:
/home/pmatos/roots/br-root.rpi3_qemu/build/host-qemu-3.1.1/.stamp_built] Error
2
make: *** [Makefile:23: _all] Error 2

Built on arch linux with host gcc 9.2.0. Attaching .config

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12281] Custom configuration fails to build (based on raspberrypi3_defconfig)
  2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
@ 2019-10-24 21:25 ` bugzilla at busybox.net
  2019-10-25  7:17 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-24 21:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
Still missing 'Attaching .config' ;-)

Searching for 'error: static declaration of ?gettid? follows non-static
declaration' findes the following [1]:

  [Qemu-devel] [PULL 2/2] linux-user: rename gettid() to sys_gettid() to avoid
clash with glibc

Time for quemu update (or cherry-picking the patch)?

[1] https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg01314.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12281] Custom configuration fails to build (based on raspberrypi3_defconfig)
  2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
  2019-10-24 21:25 ` [Buildroot] [Bug 12281] " bugzilla at busybox.net
@ 2019-10-25  7:17 ` bugzilla at busybox.net
  2019-10-25  7:41 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-25  7:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

--- Comment #2 from Paulo Matos <pmatos@igalia.com> ---
Apologies for missing the attachment of .config although it seems the problem
is in qemu 3.1.1 so any build of that package fails. I have updated buildroot
to use qemu 4.1.0 and it works. Would this be something that can be sent in as
a patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12281] Custom configuration fails to build (based on raspberrypi3_defconfig)
  2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
  2019-10-24 21:25 ` [Buildroot] [Bug 12281] " bugzilla at busybox.net
  2019-10-25  7:17 ` bugzilla at busybox.net
@ 2019-10-25  7:41 ` bugzilla at busybox.net
  2019-10-25  7:41 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-25  7:41 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

--- Comment #3 from Paulo Matos <pmatos@igalia.com> ---
Testing the patch on 3.1.1 atm.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12281] Custom configuration fails to build (based on raspberrypi3_defconfig)
  2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-10-25  7:41 ` bugzilla at busybox.net
@ 2019-10-25  7:41 ` bugzilla at busybox.net
  2019-10-25 11:28 ` bugzilla at busybox.net
  2019-10-25 17:45 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-25  7:41 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

Paulo Matos <pmatos@igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |pmatos at igalia.com
                   |.org                        |

--- Comment #4 from Paulo Matos <pmatos@igalia.com> ---
Taking it to send patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12281] Custom configuration fails to build (based on raspberrypi3_defconfig)
  2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-10-25  7:41 ` bugzilla at busybox.net
@ 2019-10-25 11:28 ` bugzilla at busybox.net
  2019-10-25 17:45 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-25 11:28 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

--- Comment #5 from Paulo Matos <pmatos@igalia.com> ---
Patch sent to the mailing list:
http://lists.busybox.net/pipermail/buildroot/2019-October/263739.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12281] Custom configuration fails to build (based on raspberrypi3_defconfig)
  2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2019-10-25 11:28 ` bugzilla at busybox.net
@ 2019-10-25 17:45 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-10-25 17:45 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12281

Carlos Santos <unixmania@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Carlos Santos <unixmania@gmail.com> ---
Resolved by
https://git.buildroot.net/buildroot/commit/?id=9dcca3ae40fa2ec1d6bfefd4806b02d3f9376414

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-25 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 18:30 [Buildroot] [Bug 12281] New: Custom configuration fails to build (based on raspberrypi3_defconfig) bugzilla at busybox.net
2019-10-24 21:25 ` [Buildroot] [Bug 12281] " bugzilla at busybox.net
2019-10-25  7:17 ` bugzilla at busybox.net
2019-10-25  7:41 ` bugzilla at busybox.net
2019-10-25  7:41 ` bugzilla at busybox.net
2019-10-25 11:28 ` bugzilla at busybox.net
2019-10-25 17:45 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox