From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 285BA3857C61; Mon, 10 Aug 2020 03:45:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 285BA3857C61 From: "bero at lindev dot ch" To: glibc-bugs@sourceware.org Subject: [Bug build/26360] New: glibc 2.32 fails to crosscompile to ppc64le-linux-gnu using gcc 10.2.0 Date: Mon, 10 Aug 2020 03:45:14 +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.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bero at lindev dot ch X-Bugzilla-Status: UNCONFIRMED 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, 10 Aug 2020 03:45:15 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26360 Bug ID: 26360 Summary: glibc 2.32 fails to crosscompile to ppc64le-linux-gnu using gcc 10.2.0 Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: bero at lindev dot ch CC: carlos at redhat dot com Target Milestone: --- Trying to crosscompile glibc 2.32 with a ppc64le-linux-gnu-gcc 10.2.0 crosscompiler on an x86_64-linux-gnu fails. If -Werror is enabled, it errors out on: In file included from ../argp/argp.h:23, from ../include/argp.h:2, from ../sysdeps/ieee754/ldbl-opt/nldbl-compat.c:25: ../include/stdio.h:186:1: error: =E2=80=98asm=E2=80=99 declaration ignored = due to conflict with previous rename [-Werror=3Dpragmas] 186 | libc_hidden_ldbl_proto (__asprintf) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/stdio.h:211:1: error: =E2=80=98asm=E2=80=99 declaration ignored = due to conflict with previous rename [-Werror=3Dpragmas] 211 | libc_hidden_ldbl_proto (dprintf) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/stdio.h:212:1: error: =E2=80=98asm=E2=80=99 declaration ignored = due to conflict with previous rename [-Werror=3Dpragmas] 212 | libc_hidden_ldbl_proto (fprintf) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/stdio.h:213:1: error: =E2=80=98asm=E2=80=99 declaration ignored = due to conflict with previous rename [-Werror=3Dpragmas] 213 | libc_hidden_ldbl_proto (vfprintf) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/stdio.h:214:1: error: =E2=80=98asm=E2=80=99 declaration ignored = due to conflict with previous rename [-Werror=3Dpragmas] 214 | libc_hidden_ldbl_proto (sprintf) | ^~~~~~~~~~~~~~~~~~~~~~ Without -Werror, it gets past that point, but later on errors out saying In file included from : ../sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c:22:23: error: =E2=80=98_IO_sscan= f=E2=80=99 aliased to undefined symbol =E2=80=98sscanf=E2=80=99 22 | strong_alias (sscanf, _IO_sscanf) | ^~~~~~~~~~ ./../include/libc-symbols.h:140:26: note: in definition of macro =E2=80=98_strong_alias=E2=80=99 140 | extern __typeof (name) aliasname __attribute__ ((alias (#name))) \ | ^~~~~~~~~ ../sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c:22:1: note: in expansion of macro =E2=80=98strong_alias=E2=80=99 22 | strong_alias (sscanf, _IO_sscanf) | ^~~~~~~~~~~~ Other targets, including non-le ppc64-linux-gnu, compile fine. --=20 You are receiving this mail because: You are on the CC list for the bug.=