On Thu, Feb 21, 2008 at 12:01:45PM -0500, James Antill wrote: > So it's basically two parts to that test case: > > 1) Makes sure you can't allocate more data than a Ustr can hold > (Ie. just less than SIZE_MAX). > > 2. Bits using big_tst() ... this uses ftruncate() + mmap() to "fake" a > Ustr that is just over (SIZE_MAX / 2) and then tests that adding it to > itself doesn't work etc. > > ...I assume it's the big_tst() parts that are failing.
Yes. But at first: I installed Debian Testing on Friday and run `make check' on ustr sources during last weekend and 64bit tests are skiped and so everything went ok. I have created copy of emulated machine and upgrade it to Debian Sid and `make check' fails on it. :) *** Testing: [EMAIL PROTECTED]:~$ uname -a Linux s390 2.6.22-3-s390 #1 SMP Sat Nov 24 16:15:40 UTC 2007 s390 GNU/Linux [EMAIL PROTECTED]:~$ gcc --version gcc (GCC) 4.2.3 (Debian 4.2.3-1) ... [EMAIL PROTECTED]:~$ dpkg -l 'libc6*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-============================-============================-======================================================================== ii libc6 2.7-6 GNU C Library: Shared libraries ii libc6-dev 2.7-6 GNU C Library: Development Libraries and Header Files ii libc6-dev-s390x 2.7-6 GNU C Library: 64bit Development Libraries for IBM zSeries ii libc6-s390x 2.7-6 GNU C Library: 64bit Shared libraries for IBM zSeries [EMAIL PROTECTED]:~/ustr-1.0.3$ ./tst_99_64bit ; echo $? 77 *** Sid: [EMAIL PROTECTED]:~/ustr-1.0.3$ uname -a Linux s390b 2.6.24-1-s390x #1 SMP Mon Feb 11 14:12:51 UTC 2008 s390x GNU/Linux [EMAIL PROTECTED]:~/ustr-1.0.3$ gcc --version gcc (GCC) 4.2.3 (Debian 4.2.3-1) ... [EMAIL PROTECTED]:~/ustr-1.0.3$ dpkg -l 'libc6*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-============================-============================-======================================================================== ii libc6 2.7-8 GNU C Library: Shared libraries ii libc6-dev 2.7-8 GNU C Library: Development Libraries and Header Files ii libc6-dev-s390x 2.7-8 GNU C Library: 64bit Development Libraries for IBM zSeries ii libc6-s390x 2.7-8 GNU C Library: 64bit Shared libraries for IBM zSeries [EMAIL PROTECTED]:~/ustr-1.0.3$ gdb ./tst_99_64bit GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "s390-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/zito/ustr-1.0.3/tst_99_64bit Program received signal SIGSEGV, Segmentation fault. 0x00408cc0 in big_tst (fsz=2147483707, usz=2147483707, hack=1, tst_add=1) at tst_99_64bit.c:37 37 tst_99_64bit.c: No such file or directory. in tst_99_64bit.c (gdb) bt #0 0x00408cc0 in big_tst (fsz=2147483707, usz=2147483707, hack=1, tst_add=1) at tst_99_64bit.c:37 #1 0x0040978e in tst () at tst_99_64bit.c:121 #2 0x00409fc4 in main () at tst.h:172 [EMAIL PROTECTED]:~/ustr-1.0.3$ file ./tst_99_64bit ./tst_99_64bit: ELF 32-bit MSB executable, IBM S/390, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped More in-deep debugging tomorow... Any suggestions? Thanks -- Zito
make.sid.log.bz2
Description: Binary data
make.testing.log.bz2
Description: Binary data