Package: ppmd
Version: 9.1-12

When I build ppmd with GCC 4.1 or 4.2 on powerpc, then the program
segfaults.  When I compile Model.cpp with gcc 4.0 or with -O1 instead
of -O2 it works.

Do you think you can track down if this is a bug in ppmd (which seems
likey given the segfaults on other arches) or a compiler bug?


strace:

1299:[EMAIL PROTECTED]: ~/src/ppmd-9.1] rm -f read_me.pmd ; strace 
/home/tbm/src/ppmd-9.1/ppmd e read_me.out
...
open("read_me.pmd", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("./read_me.out", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5483, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xf7fe3000
open("read_me.pmd", O_RDWR|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xf7fe2000
mmap(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xf75d3000
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 518555673
write(4, "\204\254\257\217\0\0\201\244\200\223\0\vS)Dbread_me.ou"..., 27) = 27
_llseek(4, 0, [27], SEEK_CUR)           = 0
read(3, "        1. Short DESCRIPTION.\r\n "..., 4096) = 4096
read(3, "\n        5. REFERENCES.\r\n    [1]"..., 4096) = 1387
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++



> Automatic build of ppmd_9.1-12 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> make[1]: Entering directory `/build/tbm/ppmd-9.1'
> /build/tbm/ppmd-9.1/ppmd e read_me.out
> make[1]: *** [test] Segmentation fault
> make[1]: Leaving directory `/build/tbm/ppmd-9.1'

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to