[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NPTL when dynamically linked linuxthread when statically => How to have NPTL with -static ld flags



Hi,

I'm trying to port a soft RT Posix Application from LynxOS to Linux 2.6. Application works great but due to dynamic libraries inefficencies when mlockall is used, I need to link statically (For those interested reported status VmSize goes from 90 Mb to 35Mb...).

But I noticed when doing ps ax that in the dynamic case I have a single process with 9 threads and in the other case 9 process as if I was using linuxthread.

Is there anything special to do? Should I open a bug to libc6-dev



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette@free.fr



Reply to: