libstdc++/799: More libstdc++-v3 cross-configuration problems (localization)

Richard Earnshaw rearnsha@arm.com
Tue Nov 14 06:26:00 GMT 2000


>Number:         799
>Category:       libstdc++
>Synopsis:       More libstdc++-v3 cross-configuration problems (localization)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 14 06:26:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Richard Earnshaw
>Release:        2.97 20001114 (experimental)
>Organization:
ARM 
>Environment:
System: SunOS sun18 5.5.1
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 : (reconfigured) 
>Description:
	
	The test for LC_MESSAGES tests the variable ac_cv_header_locale_h,
	but this variable is only set for native builds.  Since the
	test isn't quoted, configure dies with an invalid test expression

>How-To-Repeat:
	Fix pr libstdc++/796, then note that configure --target=arm-elf
	still fails.
	
>Fix:
	Add quotes around the test of ac_cv_header_locale_h in 
	AC_LC_MESSAGES.  Or ensure that the variable is always set before 
	running that test.
	
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list