From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8519E3858C27; Mon, 20 Jun 2022 12:13:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8519E3858C27 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBidWlsZC8yOTI2NF0gTmV3OiBjYW5vbmljYWxpemUuYzo0?= =?UTF-8?B?MjQ6NTA6IGVycm9yOiDigJhkZXN04oCZIG1heSBiZSB1c2VkIHVuaW5pdGlh?= =?UTF-8?B?bGl6ZWQgaW4gdGhpcyBmdW5jdGlvbg==?= Date: Mon, 20 Jun 2022 12:13:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2022 12:13:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29264 Bug ID: 29264 Summary: canonicalize.c:424:50: error: =E2=80=98dest=E2=80=99 ma= y be used uninitialized in this function Product: glibc Version: 2.35 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: schwab@linux-m68k.org CC: carlos at redhat dot com Target Milestone: --- With CFLAGS=3D-Og, build fails like this: canonicalize.c: In function =E2=80=98realpath_stk=E2=80=99: canonicalize.c:424:50: error: =E2=80=98dest=E2=80=99 may be used uninitiali= zed in this function [-Werror=3Dmaybe-uninitialized] 424 | return scratch_buffer_dupfree (rname_buf, dest - rname); | ~~~~~^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [../o-iterator.mk:9: /suse/schwab/src/libc/branch/libc-2.35/test-og/stdlib/canonicalize.o] Error= 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/daten/src/libc/branch/libc-2.35/libc/stdlib' make[1]: *** [Makefile:483: stdlib/subdir_lib] Error 2 make[1]: Leaving directory '/daten/src/libc/branch/libc-2.35/libc' make: *** [Makefile:9: all] Error 2 This is independent of the gcc version. --=20 You are receiving this mail because: You are on the CC list for the bug.=