Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 23:52:14 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/audio/snd/files patch-configure
Message-ID:  <200707302352.l6UNqEnB030334@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
truckman    2007-07-30 23:52:14 UTC

  FreeBSD ports repository (src committer)

  Added files:
    audio/snd/files      patch-configure 
  Log:
  The configure script in this port attempts to detect the presense of
  complex math support by compiling a test program containing this
  statement:
          val = ccosh(cacosh(1.5) / 100.0);
  This does not work with GCC 4.2 in -CURRENT because the compiler totally
  optimizes away the statement, so the lack of these complex functions
  in the library is not detected.  This causes the actual build to fail
  because the linker is unable to find various complex math functions
  in the system library.
  
  Fix the test by declaring "val" as volatile to prevent the compiler from
  optimizing away the expression.
  
  PR:             ports/115028
  
  Revision  Changes    Path
  1.1       +11 -0     ports/audio/snd/files/patch-configure (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707302352.l6UNqEnB030334>