libstdc++/796: libstdc++-v3 fails to configure when threads not available

Richard Earnshaw rearnsha@arm.com
Tue Nov 14 03:36:00 GMT 2000


>Number:         796
>Category:       libstdc++
>Synopsis:       libstdc++-v3 fails to configure when threads not available
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 14 03:36:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Richard Earnshaw
>Release:        2.97 20001113 (experimental)
>Organization:
ARM 
>Environment:
System: SunOS sun18 5.5.1 Generic_106541-11 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

	
host: sparc-sun-solaris2.5.1
build: sparc-sun-solaris2.5.1
target: arm-unknown-elf
configured with: /home/rearnsha/gnusrc/egcs-cross/configure --target=arm-elf --with-headers=/home/rearnsha/gnusrc/utils/newlib/libc/include --prefix=/home/rearnsha/gnu/egcs/install/SunOS5
>Description:
	The atomicity test is supposed to be conditional on a thread package 
	having been selected.  It isn't, so configure fails when run on an
	OS that doesn't have thread support
	
>How-To-Repeat:
	just try to configure libstdc++-v3 for arm-elf target

	checking for threads package to use... threads-no.h
	checking for atomicity.h... configure: error: Atomic locking 
		requested, but  is 
		an unknown thread package and atomic operations are not 
		present in the CPU
	
	
>Fix:
	Fix GLIBCPP_ENABLE_ATOMICITY test to make it check for threading.
	
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list