OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   17-Jun-2007 21:20:10
  Branch: HEAD                             Handle: 2007061720201000

  Modified files:
    openpkg-src/boost       boost.patch

  Log:
    workaround bjam crashes when compiled with gcc 4.2

  Summary:
    Revision    Changes     Path
    1.8         +26 -0      openpkg-src/boost/boost.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/boost/boost.patch
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 boost.patch
  --- openpkg-src/boost/boost.patch     17 Jun 2007 19:18:32 -0000      1.7
  +++ openpkg-src/boost/boost.patch     17 Jun 2007 19:20:10 -0000      1.8
  @@ -17,3 +17,29 @@
    }
    else
   
  +Workaround for "bjam crashes when compiled with gcc 4.2" 
http://svn.boost.org/trac/boost/ticket/977
  +Index: tools/jam/src/build.sh
  +--- tools/jam/src/build.sh.orig      2006-02-03 17:57:42 +0100
  ++++ tools/jam/src/build.sh   2007-06-17 13:54:31 +0200
  +@@ -127,7 +127,7 @@
  +     ;;
  +     
  +     gcc)
  +-    BOOST_JAM_CC=gcc
  ++    BOOST_JAM_CC="gcc -O0"
  +     ;;
  +     
  +     darwin)
  +Index: tools/jam/src/build.jam
  +--- tools/jam/src/build.jam.orig     2007-06-17 14:07:34 +0200
  ++++ tools/jam/src/build.jam  2007-06-17 14:08:21 +0200
  +@@ -153,7 +153,7 @@
  + ## GCC 2.x, 3.x, 4.x
  + toolset gcc gcc : "-o " : -D
  +     : -pedantic
  +-    [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
  ++    [ opt --release : [ opt --symbols : -g : -s ] -O0 ]
  +     [ opt --debug : -g -O0 -fno-inline ]
  +     -I$(--python-include) -Wno-long-long
  +     : -L$(--python-lib[1]) -l$(--python-lib[2]) ;
  +
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to