[Bug backends/25832] New: aarch64 fails to compile with musl

luizluca at gmail dot com sourceware-bugzilla@sourceware.org
Thu Apr 16 06:34:14 GMT 2020


            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: ---


gibc has user_fpsimd_struct.vregs as __uint128_t

while musl has it as long double:

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] = fregs.vregs[r] & 0xFFFFFFFF;
                      ~~~~~~~~~~~~~~ ^
make[6]: *** [Makefile:682: aarch64_initreg.o] Error 1
make[5]: *** [Makefile:499: all-recursive] Error 1

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

More information about the Elfutils-devel mailing list