Re: [Linux-ia64] IA64 Linux library problem

H . J . Lu
2000-07-19T15:39:57Z

On Wed, Jul 19, 2000 at 05:30:23PM +0200, Einar Saltnes wrote:
> Hello!
>
> We are experiencing some problems using some library routines on ia64.
> We have an Itanium monoprocessor from Fujitsu Siemens running Red Hat
> Linux
> Development Release for IA-64.
>
>
> 1)
> We experience that
> sysconf(_SC_NPROCESSORS_ONLN) returns 0 (zero) on a monoprocessor ia64.
>

Known problem. It is a mismatch between libc and kernel.

>
> 2)
> We also experience errors using
> cout << xxx << endl;
> when linking with the pthread library.
> Using "endl" will give segmentation fault when linking with pthread
> library, while the very same statement will be OK when not linking with

It is a known problem. libc is MT safe. But libstdc++ is not configured
for MT safe.

H.J.