[Top] [All Lists]

problems with libpthread at start-up

Subject: problems with libpthread at start-up
From: Stuart Hughes <>
Date: Fri, 14 Dec 2001 10:50:15 +0000
Hi everyone,

I've successfully built and deployed a system using a toolchain I built
using the instructions at:, which were very
helpful.  This gives a combination of:

binutils-, gcc-3.0.1, glibc-2.2.3, linuxthreads-2.2.3 &

A simple 'hello world' programs in both c and c++ work, statically and
dynamically linked, but as soon as I try to link or use pthreads I get
the following (dynamic linking):

[helloc:23] Illegal instruction 00000003 at 2ad0847c

My ldd shows

# /lib/ --list
./helloc                                                  => //lib/
(0x2aaaa000)                   => //lib/
        /lib/ => /lib/
(0x55550000)                               => //lib/

I'm running on an IDT79RC32334

It seems as though I must have missed a patch or something.  Does anyone
know if there is a fix for this.

BTW, the hello program does not even create a pthread, all I did was add
-lpthread onto the compile line.

Regards, Stuart

<Prev in Thread] Current Thread [Next in Thread>
  • problems with libpthread at start-up, Stuart Hughes <=