https://bugs.kde.org/show_bug.cgi?id=527905

            Bug ID: 527905
           Summary: fb_test_i386 fails to buil on i686
    Classification: Developer tools
           Product: valgrind
      Version First 3.27 GIT
       Reported In:
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

On `i686-linux` valgrind test suite fails to build since 3.28.0 release.

STEPS TO REPRODUCE
1. ./autogen.sh && ./configure && make
2. make check

OBSERVED RESULT

$ make check
...
gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../include
-I../../../coregrind -I../../../include -I../../../VEX/pub -I../../../VEX/pub
-DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVGPV_x86_linux_vanilla=1   
-Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector   -m32 -mmmx
-msse   -MT fb_test_i386.o -MD -MP -MF $depbase.Tpo -c -o fb_test_i386.o
fb_test_i386.c &&\
mv -f $depbase.Tpo $depbase.Po
fb_test_i386.c: In function 'test_fcvt':
fb_test_i386.c:928:30: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
  928 |     xxprintf("a=%016llx\n", *(unsigned long long int *) &a);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fb_test_i386.c:929:36: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
  929 |     xxprintf("la=%016llx %04x\n", *(unsigned long long int *) &la,
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fb_test_i386.c: In function 'test_jcc':
fb_test_i386.c:678:1: error: unsupported size for integer register
  678 | }
      | ^
make[5]: *** [Makefile:1401: fb_test_i386.o] Error 1

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): NixOS `i686-linux` target

ADDITIONAL INFORMATION

`x86_64-linux` builds and passes tests without problems. It looks like a recent
none/tests/x86/fb_test_i386.c test has troubles building by `i686` toolchain.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to