rosetta_2014.22.56873: Unknown argument: ‘-finline-limit=20000’

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install rosetta_2014.22.56873: Unknown argument: ‘-finline-limit=20000’

Viewing 3 reply threads
  • Author
    Posts
    • #1961
      Anonymous

        I am trying to install rosetta_2014.22.56873 on an iMac [OSX 10.8.5; Darwin Ms-iMac.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64] but the compilation failed with the following message:

        scons: Reading SConscript files …
        Running versioning script … Done. (0.0 seconds)
        file ./options.dox being updated
        file ./full-options-list.md being updated
        Number of option files updated: 2
        Total 3183 options.
        scons: done reading SConscript files.
        scons: Building targets …
        llvm-g++-4.2 -o build/src/release/macos/10.8/64/x86/gcc/4.2/default/apps/public/AbinitioRelax.o -c -isystem external/boost_1_55_0/ -isystem external/include/ -isystem external/dbio/ -pipe -ffor-scope -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -m64 -march=nocona -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/macos/64/gcc/4.2 -Isrc/platform/macos/64/gcc -Isrc/platform/macos/64 -Isrc/platform/macos -Iexternal/boost_1_55_0 -Iexternal/dbio -I/usr/include -I/usr/local/include src/apps/public/AbinitioRelax.cc
        llvm-g++-4.2 -o build/src/release/macos/10.8/64/x86/gcc/4.2/default/devel/init.os -c -isystem external/boost_1_55_0/ -isystem external/include/ -isystem external/dbio/ -pipe -ffor-scope -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -m64 -march=nocona -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/macos/64/gcc/4.2 -Isrc/platform/macos/64/gcc -Isrc/platform/macos/64 -Isrc/platform/macos -Iexternal/boost_1_55_0 -Iexternal/dbio -I/usr/include -I/usr/local/include src/devel/init.cc
        clang: error: unknown argument: ‘-finline-limit=20000’ [-Wunused-command-line-argument-hard-error-in-future]
        clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
        clang: error: unknown argument: ‘-finline-limit=20000’ [-Wunused-command-line-argument-hard-error-in-future]
        clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
        llvm-g++-4.2 -o build/src/release/macos/10.8/64/x86/gcc/4.2/default/devel/svn_version.os -c -isystem external/boost_1_55_0/ -isystem external/include/ -isystem external/dbio/ -pipe -ffor-scope -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -m64 -march=nocona -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/macos/64/gcc/4.2 -Isrc/platform/macos/64/gcc -Isrc/platform/macos/64 -Isrc/platform/macos -Iexternal/boost_1_55_0 -Iexternal/dbio -I/usr/include -I/usr/local/include src/devel/svn_version.cc
        clang: error: unknown argument: ‘-finline-limit=20000’ [-Wunused-command-line-argument-hard-error-in-future]
        clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
        scons: *** [build/src/release/macos/10.8/64/x86/gcc/4.2/default/apps/public/AbinitioRelax.o] Error 1
        llvm-g++-4.2 -o build/src/release/macos/10.8/64/x86/gcc/4.2/default/protocols/init/init.os -c -isystem external/boost_1_55_0/ -isystem external/include/ -isystem external/dbio/ -pipe -ffor-scope -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -m64 -march=nocona -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/macos/64/gcc/4.2 -Isrc/platform/macos/64/gcc -Isrc/platform/macos/64 -Isrc/platform/macos -Iexternal/boost_1_55_0 -Iexternal/dbio -I/usr/include -I/usr/local/include src/protocols/init/init.cc
        scons: *** [build/src/release/macos/10.8/64/x86/gcc/4.2/default/devel/init.os] Error 1
        scons: *** [build/src/release/macos/10.8/64/x86/gcc/4.2/default/devel/svn_version.os] Error 1
        clang: error: unknown argument: ‘-finline-limit=20000’ [-Wunused-command-line-argument-hard-error-in-future]
        clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
        scons: *** [build/src/release/macos/10.8/64/x86/gcc/4.2/default/protocols/init/init.os] Error 1
        scons: building terminated because of errors.

        Based on a quick search on google, my compilation script looks like this:

        export CFLAGS=-Qunused-arguments
        export CPPFLAGS=-Qunused-arguments
        export ARCHFLAGS=’-Wno-error=unused-command-line-argument-hard-error-in-future’
        ./scons.py -j4 mode=release bin

        where the CFLAGS, CPPFLAGS, and ARCHFLAGS variables were set in an attempt to skip the “unknown argument: ‘-finline-limit=20000′” situation.

        Thanks in advance for any help on this,

        Francisco

      • #10181
        Anonymous

          FYI I have just tried the suggestion of adding the code below into the user.settings file, but it has also failed with an identical error message.

          “removes” : {
          “flags” : {
          “warn” : [“Werror”,],
          },
          },

        • #10182
          Anonymous

            OK, so I kept digging up answers and found a previous message where the compiler was changed from the default value of gcc to clang using ‘cxx = clang’ in SCons options; this has finally started the compilation, which is going on as I write. Hopefully it will finish the compilation cleanly.

          • #10183
            Anonymous

              All right, so cxx = clang did it, rosetta finally compiled cleanly.

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.