[oe] [PATCH][geodegx] geodegx: Fix glibc configure error

Petr Štetiar ynezz at true.cz
Mon Nov 9 09:32:04 UTC 2009


Otavio Salvador <otavio at ossystems.com.br> [2009-11-07 14:57:49]:

> Hello,
> 
> 2009/11/6 Petr Štetiar <ynezz at true.cz>:
> > I build dev and I found this fix on the web using Google, now looking it up
> > again I found yours and Hrw's conversation on #oe http://pastebin.com/f6640d6f7
> > It seems, that it's 4.3.3 issue?
> 
> Yes; you and hrw are the two persons that found it; maybe it is gcc
> related indeed; while you're on it, do you mind to test it?

My bad, of course it's glibc related, nothing to do with GCC.

configure.in:

[..snip..]

	# Find what sysdep directories exist.
	sysnames_add_ons=
	sysnames=
	for b in $base ''; do
	  for m0 in $mach ''; do
	    for v in /$vendor ''; do
	      test "$v" = / && continue
	      for o in /$ostry ''; do
		test "$o" = / && continue
		for m in $multi_arch_d $mach ''; do
		  for d in $add_ons_pfx ''; do
		    for a in $add_ons_sfx ''; do
		      if test -n "$m0$m0sub$b$v$o$m$msub"; then
			try_srcdir="${srcdir}/"
			case "$d" in
			/*) try_srcdir= ;;
			esac
			try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
			test -n "$enable_debug_configure" &&
			echo "$0 [DEBUG]: try $try" >&2
			if test -d "$try_srcdir$try"; then
			  sysnames="$sysnames $try"
			  { test -n "$o" || test -n "$b"; } && os_used=t
			  { test -n "$m" || test -n "$m0"; } && machine_used=t
			  case x${m0:-$m} in
			  x*/$submachine) submachine_used=t ;;
			  esac
			  if test -n "$d"; then
			    case "$sysnames_add_ons" in
			    *" $d "*) ;;
			    *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
			    esac
			  fi
			fi
		      fi
		    done
		  done
		done
	      done
	    done
	  done
	done

[..snip..]

	if test -z "$submachine_used" && test -n "$submachine"; then
	  AC_MSG_ERROR(The $submachine subspecies of $host_cpu is not supported.)
	fi
	AC_SUBST(submachine)




More information about the Openembedded-devel mailing list