From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 36E12385783E; Fri, 23 Oct 2020 21:39:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36E12385783E From: "suratiamol at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/26360] glibc 2.32 fails to crosscompile to ppc64le-linux-gnu using gcc 10.2.0 Date: Fri, 23 Oct 2020 21:39:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: suratiamol at gmail dot com 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: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Fri, 23 Oct 2020 21:39:34 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26360 suratiamol at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suratiamol at gmail dot com --- Comment #3 from suratiamol at gmail dot com --- Got the same error here too. The error, at least in the case of __asprintf, seems to occur because there= are two declarations: // emitted by libio/bits/stdio-ldbl.h // __LDBL_REDIR2_DECL (asprintf) // commit: e4a399921390509418826e8e8995d2441f29e243 extern __typeof (__asprintf) __asprintf __asm ("" "__nldbl___" "asprintf"); // emitted by include/stdio.h // libc_hidden_ldbl_proto (__asprintf) // commit: 45ae17dd7ed3b9dea0d698d1c37a978d8d0a9aa2 extern __typeof (__asprintf) __asprintf __asm__ ("" "__GI___asprintf") __attribute__ ((visibility ("hidden"))); It is likely that the same two commits are involved in the errors about oth= er symbols. Can reproduce the error with this dummy sample: extern int __asprintf(void); extern __typeof(__asprintf) __asprintf __asm("__nldbl___" "asprintf"); extern __typeof(__asprintf) __asprintf __asm__("__GI___asprintf") __attribute__((visibility("hidden"))); int main(){return 0;} //cc a.c -Werror --=20 You are receiving this mail because: You are on the CC list for the bug.=