This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

non-reproducible g++.dg/ubsan/align-2.C -Os execution failure


Hi,

I ran into this non-reproducible failure while testing a non-bootstrap build on x86_64:
...
PASS: g++.dg/ubsan/align-2.C   -Os  (test for excess errors)
Setting LD_LIBRARY_PATH to .:/data/vries/test-fix-fuse-caller-save-s390/with/nobootstrap/build/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs:/dat\
a/vries/test-fix-fuse-caller-save-s390/with/nobootstrap/build/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs:/home/vries/gcc_versions/data/test-fi\
x-fuse-caller-save-s390/with/nobootstrap/build/gcc:/home/vries/gcc_versions/data/test-fix-fuse-caller-save-s390/with/nobootstrap/build/gcc/32:/data/v\
ries/test-fix-fuse-caller-save-s390/with/nobootstrap/build/x86_64-unknown-linux-gnu/./libsanitizer/ubsan/.libs:.:/data/vries/test-fix-fuse-caller-sav\
e-s390/with/nobootstrap/build/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs:/data/vries/test-fix-fuse-caller-save-s390/with/nobootstrap/build/x86\_64-unknown-linux-gnu/./libstdc++-v3/src/.libs:/home/vries/gcc_versions/data/test-fix-fuse-caller-save-s390/with/nobootstrap/build/gcc:/home/vries/gc\
c_versions/data/test-fix-fuse-caller-save-s390/with/nobootstrap/build/gcc/32:/data/vries/test-fix-fuse-caller-save-s390/with/nobootstrap/build/x86_64\
-unknown-linux-gnu/./libsanitizer/ubsan/.libs:/home/vries/gcc_versions/infra/lib
spawn [open ...]^M
/home/vries/gcc_versions/data/test-fix-fuse-caller-save-s390/with/src/gcc/testsuite/g++.dg/ubsan/align-2.C:16:13: runtime error: reference binding to\ misaligned address 0x000000600fe9 for type 'int', which requires 4 byte alignment
0x000000600fe9: note: pointer points here
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00FAIL: g++.dg/ubsan/align-2.C -Os execution test
...

The sources used where r214879 + a trivial patch ( https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00253.html ) which should not make a difference on x86_64.

Configure line:
...
Configured with: /home/vries/gcc_versions/data/test-fix-fuse-caller-save-s390/with/src/configure --prefix=/home/vries/gcc_versions/data/test-fix-fuse-caller-save-s390/with/nobootstrap/install --with-cloog=/home/vries/gcc_versions/infra --with-ppl=/home/vries/gcc_versions/infra --with-gmp=/home/vries/gcc_versions/infra --with-mpfr=/home/vries/gcc_versions/infra --with-mpc=/home/vries/gcc_versions/infra --disable-bootstrap --enable-checking=yes,rtl --enable-languages=c,fortran,ada,java,objc,c++
...

I'm posting it here for reference.

Thanks,
- Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]