public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Error while Building gcc 2.95.3 on AIX 4.3
@ 2002-08-21 22:07 Abhijit H. Bhosale
  2002-08-21 22:14 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: Abhijit H. Bhosale @ 2002-08-21 22:07 UTC (permalink / raw)
  To: gcc; +Cc: Nikhil R. Deshpande

Hi,
Following error thrown when I was trying to build gcc 2.95.3
------------
/usr/local/gcc_build/obj/gcc/xgcc -B/usr/local/gcc_build/obj/gcc/ 
-B/usr/local/gcc-2.95.3/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_setspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
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 
`/usr/local/gcc_build/obj/rs6000-ibm-aix4.3.3.0/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/local/gcc_build/obj'
make: *** [bootstrap] Error 2
-----------


I am working on AIX 4.3.3.0
The configuration options used to build gcc 2.95.3 are
--prefix=/usr/local/gcc-2.95.3
--enable-shared
--enable-threads=posix
--enable-version-specific-runtime-libs
--enable-languages=c++
--with-ld=/usr/bin/ld
--with-as=/usr/bin/as

What can be the reason of the error and how should I relolve it?

Thanks,
Abhijit.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error while Building gcc 2.95.3 on AIX 4.3
  2002-08-21 22:07 Error while Building gcc 2.95.3 on AIX 4.3 Abhijit H. Bhosale
@ 2002-08-21 22:14 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2002-08-21 22:14 UTC (permalink / raw)
  To: Abhijit H. Bhosale; +Cc: gcc, Nikhil R. Deshpande

>>>>> Abhijit H Bhosale writes:

Abhijit> Following error thrown when I was trying to build gcc 2.95.3

Abhijit> I am working on AIX 4.3.3.0
Abhijit> The configuration options used to build gcc 2.95.3 are
Abhijit> --enable-shared
Abhijit> --enable-threads=posix
Abhijit> What can be the reason of the error and how should I relolve it?

	GCC 2.95.3 does not support shared library libstdc++ on AIX and
overriding the default thread support does not help either.  If you cannot
use the default configuration, you cannot use GCC 2.95.3.  You should
never need to use --enable-threads=XXX, period.  Use GCC 3.2 instead.

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-21 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-21 22:07 Error while Building gcc 2.95.3 on AIX 4.3 Abhijit H. Bhosale
2002-08-21 22:14 ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).