Bug#852306: valgrind FTBFS on mips/mipsel: Error: float register should be even, was 1

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <148517731122.12473.6078342501770589217.reportbug__21573.4784528197$1485177520$gmane$org@localhost>
Source: valgrind
Version: 1:3.12.0-1
Severity: serious

https://buildd.debian.org/status/package.php?p=valgrind

...
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_mips32=1 -DVGO_linux=1 -DVGP_mips32_linux=1 -DVGPV_mips32_linux_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/usr/lib/valgrind"\" -DVG_PLATFORM="\"mips32-linux\""  -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin   -DENABLE_LINUX_TICKET_LOCK -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mips-linux-gnu    -mips2  -c -o libcoregrind_mips32_linux_a-m_machine.o `test -f 'm_machine.c' || echo './'`m_machine.c
In file included from ../include/pub_tool_vki.h:49:0,
                 from pub_core_vki.h:44,
                 from m_machine.c:35:
../include/vki/vki-linux.h: In function '__vki_cmsg_nxthdr':
../include/vki/vki-linux.h:677:10: warning: cast increases required alignment of target type [-Wcast-align]
  __ptr = (struct vki_cmsghdr*)(((unsigned char *) __cmsg) +  VKI_CMSG_ALIGN(__cmsg->cmsg_len));
          ^
In file included from pub_core_basics.h:40:0,
                 from m_machine.c:34:
m_machine.c: In function 'vgPlain_machine_get_hwcaps':
../include/pub_tool_basics.h:70:30: warning: implicit declaration of function 'vgPlain_prctl' [-Wimplicit-function-declaration]
 #define VG_(str)    VGAPPEND(vgPlain_,          str)
                              ^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
 #define VGAPPEND(str1,str2) str1##str2
                             ^~~~
m_machine.c:1746:19: note: in expansion of macro 'VG_'
      Int fpmode = VG_(prctl)(VKI_PR_GET_FP_MODE);
                   ^~~
...
/tmp/cc8nHZJm.s: Assembler messages:
/tmp/cc8nHZJm.s:2944: Error: float register should be even, was 1
Makefile:4373: recipe for target 'libcoregrind_mips32_linux_a-m_machine.o' failed
make[5]: *** [libcoregrind_mips32_linux_a-m_machine.o] Error 1




This might (or might not) be caused by
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.