Changes between Version 12 and Version 13 of current-issues


Ignore:
Timestamp:
Aug 23, 2007 7:47:34 PM (13 years ago)
Author:
lou
Comment:

GCC 4.0.2 has the omit-frame-pointer bug; updated glp_lpx_simplex entry

Legend:

Unmodified
Added
Removed
Modified
  • current-issues

    v12 v13  
    55 * '''On OsX, care must be taken regarding Fortran compiler''', see [https://projects.coin-or.org/Bonmin/wiki/OsxInstall the Bonmin OsX install page].
    66
    7  * '''Configure is unable to find the symbol {{{glp_lpx_simplex}}} when checking for the presence of glpk.''' Glpk has changed its naming convention for API routines. This is normally invisible to users of glpk (who always use {{{lpx_simplex}}} in code). The current COIN configuration tests do not understand the trick used by glpk ({{{#defines}}} in the various {{{.h}}} files). The workaround is to use the configuration flag {{{--disable-glpk-libcheck}}}. If you have the ability to regenerate configuration files, add a leading underscore ('_') to the symbol in relevant {{{configure.ac}}} files. For example,
     7 * '''Configure is unable to find the symbol {{{glp_lpx_simplex}}} when checking for the presence of glpk.''' Glpk has changed its naming convention for API routines. This is normally invisible to users of glpk (who always use {{{lpx_simplex}}} in code). Current COIN configuration tests understand this; the best solution is to upgrade.
     8
     9 If that's not convenient, the workaround is to use the configuration flag {{{--disable-glpk-libcheck}}}. If you have the ability to regenerate configuration files, add a leading underscore ('_') to the symbol in relevant {{{configure.ac}}} files. For example,
    810{{{
    911AC_COIN_HAS_USER_LIBRARY([Glpk],[GLPK],[glpk.h],[glp_lpx_simplex])
    1012}}}
    11 becomes
     13 becomes
    1214{{{
    1315AC_COIN_HAS_USER_LIBRARY([Glpk],[GLPK],[glpk.h],[_glp_lpx_simplex])
    1416}}}
    15 The same problem exists with {{{glp_mpl_initialize}}}; the workaround is {{{--disable-gmpl-libcheck}}} or edit {{{configure.ac}}} to look for {{{_glp_mpl_initialize}}}.
     17 The same problem exists with {{{glp_mpl_initialize}}}; the workaround is {{{--disable-gmpl-libcheck}}} or edit {{{configure.ac}}} to look for {{{_glp_mpl_initialize}}}.
    1618
    1719== Compilation ==
     
    2931== Execution ==
    3032
    31  * '''--omit-frame-pointer leads to failure of C++ throw''' for some GCC compiler versions (GCC 3.3 and 3.4, for example). Suggested solutions:
     33 * '''--omit-frame-pointer leads to failure of C++ throw''' for some GCC compiler versions (GCC 3.3, 3.4, and 4.0.2, for example). Suggested solutions:
    3234  1. If possible, upgrade to a GCC version which does not have this problem. GCC 4.1.1 is known to work correctly in many environments.
    3335  1. Use the variables OPT_CXXFLAGS, OPT_CFLAGS, and OPT_FFLAGS to override the default optimisation options when executing {{{configure}}}. To determine the correct set of options, look for the string {{{omit-frame-pointer}}} in !BuildTools/coin.m4. Currently (06.10.20), adding