qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Configuring qemu on Solaris


From: Andreas Färber
Subject: [Qemu-devel] Configuring qemu on Solaris
Date: Tue, 8 Jan 2008 01:40:57 +0100

Hi,

The following part of configure is triggered on a fully-updated Solaris 10 8/07 amd64:

#
# Solaris specific configure tool chain decisions
#
if test "$solaris" = "yes" ; then
  #
# gcc for solaris 10/fcs in /usr/sfw/bin doesn't compile qemu correctly
  # override the check with --disable-gcc-check
  #
  if test "$solarisrev" -eq 10 -a "$check_gcc" = "yes" ; then
    solgcc=`which $cc`
    if test "$solgcc" = "/usr/sfw/bin/gcc" ; then
echo "Solaris 10/FCS gcc in /usr/sfw/bin will not compiled qemu correctly." echo "please get gcc-3.4.3 or later, from www.blastwave.org using pkg-get -i gcc3"
      echo "or get the latest patch from SunSolve for gcc"
      exit 1
    fi
  fi

Depending on the path of gcc, configure bails out. The text appears to indicate that "the latest patch [...] for gcc", whichever that may be, fixes some compilation issue. Since the script does not try to detect the presence of such a patch, can we remove the exit and keep the text as a warning only? Or can someone comment on what the corresponding Solaris patch id or gcc version is in order to make this conditional? The system gcc version is 3.4.3 here and it appears to compile fine.

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]