adm Find login register

[bug] 下一版 Debian stable 可能沒有 gcin 了

joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
1subject: [bug] 下一版 Debian stable 可能沒有 gcin 了Promote 1 Bookmark 02008-03-08quote  
gcin 從古到今一直無法在 sparc 編譯通過,這在 Debian 屬於 release-critical (RC) bug。
之前手動把 bug 降級讓 gcin 進入 Debian 4.0 (Etch),現在 bug 又被升為 RC 了… 
如果無法解決的話,下一版的 Debian Lenny 將沒有官方 gcin 套件了…(Debian unstable / Sid 裡還是會有) 
底下是來自 Debian BTS #406036 的訊息,希望有助於排除問題。
From: Jurij Smakov <jurij AT wooyd DOT org>
To: 406036 AT bugs DOT debian DOT org
Subject: FTBFS on sparc
Date: Sun, 17 Feb 2008 21:04:52 +0000
severity 406036 serious
found 406036 1.3.4-2
Here's the backtrace for the SIGBUS on sparc in tsa2d32.c:
Program received signal SIGBUS, Bus error.
[Switching to Thread 0xf7aceac0 (LWP 10858)]
0x00011544 in qcmp_usecount (a=0x24008, b=0x2400c) at tsa2d32.c:67
67        lena=*(pa++); usecounta = *((usecount_t *)pa); pa+= 
(gdb) bt full
#0  0x00011544 in qcmp_usecount (a=0x24008, b=0x2400c) at tsa2d32.c:67
idxa = 0
pa = 0xf6fd4009 ""
idxb = 13
pb = 0xf6fd4015 "\005"
lena = 2 '\002'
lenb = 2 '\002'
len = 2 '\002'
i = 680187
ka = 65535
kb = 65535
usecounta = 680205
usecountb = 0
tlena = 6
tlenb = 6
pa is a pointer to char, so when pa is incremented (pa++), it becomes 
unaligned, and gets a SIGBUS when an attempt is made to read 4 bytes
(the size of usecount_t, which is int) at this location. Generally, 
it's a very bad idea to mix char and int data in the same array, I'm
somewhat surprised that it actually works on other arches with strict 
alignment requirements.
I'm bumping the severity back to serious, since failure to build on 
sparc is still a release-critical bug.
Best regards,
Jurij Smakov                                           jurij AT wooyd DOT org
Key:                      KeyID: C99E03CC
edited: 2

joined: 2007-08-09
posted: 11458
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 1 Bookmark 02008-03-08quote  
改好了,去 cle download tsa2d32.c

adm Find login register