|
From: Anibal A. <deb...@gm...> - 2007-04-27 21:07:35
|
Hi everybody I have a big problem with the Linux-ABI module. I use the Linux-ABI since it was implemented to 2.4.x kernel series. On 2.4.20 kernel all my apps works fine, but with the path for 2.6.x (whatever, including the IBCS3.x) one app doesn't work. My file is: file /usr/bin/ph/rpcost/pfsfmscst /usr/bin/ph/rpcost/pfsfmscst: 80386 COFF executable I compiled the linux-ABI patch as part of kernel (not as module). The behavior is very strange. I think the problem is the executable COFF and how it was done (was done for SCO 3.2v4.2). It use many UNION's and I detected it use Union's with anonymous structs. I found this: [Bug c/13286] Union with anonymous struct as member in gcc3.3 http://gcc.gnu.org/ml/gcc-bugs/2003-12/msg00417.html [GCC C bug: sizeof a union of structs returns zero value] http://gcc.gnu.org/ml/gcc-bugs/2004-12/msg02495.html The -pfs-extensions(microsoft extension) is the key. In the compile 2.95 that opcion comes by default. After was removed. I don't know if it opcion is the reeason, or mey be is other thing. But my app does not work and I'm desperate. I tried all. I compiled the kernel with 3.2, 4.1 and 2.95 (inclusive) but nothing happens. Al is the same. The app does not work. The logs with (trace active), looks exactly the same. But the result is deferent (in the same machine). Thanks. I hope somebody can ell me something (any idea). Regards. -- Anibal Avelar (FixXxeR) http://fixxxer.cc GPG: 83B64656 - C143 4AD8 B017 53FA B742 D6AA CEEA F9F3 83B6 4656 |