gcc-2.95.2 on AIX with pthreads

Radu Prodan rprodan@cscs.ch
Tue Aug 29 02:45:00 GMT 2000


Hi.

I'm trying (first time in my life) to build gcc-2.95.2 on an RS/6000 H50 (7026)
running AIX 4.3.

I configured the build using:
configure --prefix=/scratch/rprodan --enable-shared --enable-threads=posix

Finally the build fails as follows (it works though if disabling threads, but I
need pthreads enabled):

/scratch/rprodan/gcc-2.95.2/__objdir__/gcc/xgcc
-B/scratch/rprodan/gcc-2.95.2/__objdir__/gcc/
-B/scratch/rprodan/rs6000-ibm-aix4.3.3.0/bin/ -g -O2 -fno-implicit-templates
-Wl,-unix -shared -o libstdc++.so.2.10.0 `cat piclist` -lm
ld: 0711-301 WARNING: Symbol specified with the -u flag not defined: nix
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [libstdc++.so.2.10.0] Error 1
make[2]: Leaving directory
`/scratch/rprodan/gcc-2.95.2/__objdir__/rs6000-ibm-aix4.3.3.0/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/scratch/rprodan/gcc-2.95.2/__objdir__'
make: *** [bootstrap] Error 2


Any suggestions?
Thanks.

-- 
Radu Prodan                                         Tel: +41 91 610 8222
Research Scientist and Ph.D. Student                Fax: +41 91 610 8211
Centro Svizzero di Calcolo Scientifico (CSCS)       mailto:rprodan@cscs.ch
Galleria 2, Via Cantonale, 6928 Manno, Switzerland  http://www.cscs.ch/~rprodan


More information about the Gcc-help mailing list