[Linux-ia64] Issue with using execlp() from a 32 bit binary on IA64

Venkatesh Ramamurthy
2001-09-13T18:14:43Z

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

Hi,
The RAID group has a problem with using execlp function from a 32bit binary.
The problem goes like this , a test program "TestCtrl"(A) and "TestServ"(B)
are the two binaries. Initially both 'A' and 'B' are 32 bit binaries. 'A'
loads 'B' using execlp. 'A' loads during system startup. The system boots to
text mode. When i do a 'startx', the X-window system hangs up. The last
thing i see is 'RAGE 128 .....' and hangs.

When i recompile A to a native 64 bit app everything is fine (B is still 32
bit app). X - Window runs fine.

So my assumption was when a 32 bit binary spawns another 32bit app(i have
*not* tested a 32 bit app loading a 64 bit app) there is a problem, I have
not gone thru the kernel sources to find the source of the error. As i am
not actively involved with Linux64 development i do not have time to study
the problem more, but i thought it might be useful for the maintainers to
rectify it.

I am sending the sources and some readme documents from one of our engineers
in India who orginated this issue. He is seeing it in a slightly different
manner.He states that even when 'A' is natively compiled he sees the
problem. We have not seen this in atlanta.

Hope this helps ....
Thanks
Venkatesh

PS: I receive only the digest so please CC communication and also include
peterj in the loop.
<<testmon.tar.gz>>

[-- Attachment #2: testmon.tar.gz --]
[-- Type: application/octet-stream, Size: 7851 bytes --]