From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5449384A044; Thu, 16 Apr 2020 06:34:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5449384A044 From: "luizluca at gmail dot com" To: elfutils-devel@sourceware.org Subject: [Bug backends/25832] New: aarch64 fails to compile with musl Date: Thu, 16 Apr 2020 06:34:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: backends X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luizluca at gmail dot com 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: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2020 06:34:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25832 Bug ID: 25832 Summary: aarch64 fails to compile with musl Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: backends Assignee: unassigned at sourceware dot org Reporter: luizluca at gmail dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- Hello gibc has user_fpsimd_struct.vregs as __uint128_t https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/aarch64= /sys/user.h#L32 while musl has it as long double: https://github.com/AssemblyScript/musl/blob/master/arch/aarch64/bits/user.h= #L9 While building 0.179 with musl, I got this error: aarch64_initreg.c: In function 'aarch64_set_initial_registers_tid': aarch64_initreg.c:85:37: error: invalid operands to binary & (have 'long double' and 'unsigned int') dwarf_fregs[r] =3D fregs.vregs[r] & 0xFFFFFFFF; ~~~~~~~~~~~~~~ ^ make[6]: *** [Makefile:682: aarch64_initreg.o] Error 1 make[5]: *** [Makefile:499: all-recursive] Error 1 --=20 You are receiving this mail because: You are on the CC list for the bug.=