Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13201] New: SYSTEMD build failed with GCC 7.x
@ 2020-09-11 14:02 bugzilla at busybox.net
  2024-06-15 14:55 ` [Buildroot] [Bug 13201] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2020-09-11 14:02 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 13201
           Summary: SYSTEMD build failed with GCC 7.x
           Product: buildroot
           Version: 2020.08
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: oaivanov at elvees.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

systemd 246 bring back 'nonnull' warning (see
https://github.com/systemd/systemd/pull/15704).
GCC 7.x produces false positive nonnull warnings and fails to compile systemd.
GCC 9.x are OK.

../src/journal/sd-journal.c: In function ?sd_journal_open_files_fd?:
../src/journal/sd-journal.c:1293:28: error: argument 2 null where non-null
expected [-Werror=nonnull]
                         fd = openat(j->toplevel_fd, skip_slash(path),
O_RDONLY|O_CLOEXEC|O_NONBLOCK);
                        
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../src/journal/sd-journal.c:1295:28: error: argument 1 null where non-null
expected [-Werror=nonnull]
                         fd = open(path, O_RDONLY|O_CLOEXEC|O_NONBLOCK);
                         ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

* [Buildroot] [Bug 13201] SYSTEMD build failed with GCC 7.x
  2020-09-11 14:02 [Buildroot] [Bug 13201] New: SYSTEMD build failed with GCC 7.x bugzilla at busybox.net
@ 2024-06-15 14:55 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-06-15 14:55 UTC (permalink / raw)
  To: buildroot

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

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yann.morin.1998@free.fr
         Resolution|---                         |MOVED

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-06-15 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-11 14:02 [Buildroot] [Bug 13201] New: SYSTEMD build failed with GCC 7.x bugzilla at busybox.net
2024-06-15 14:55 ` [Buildroot] [Bug 13201] " bugzilla

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