Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › rosetta_2014.22.56873: Unknown argument: ‘-finline-limit=20000’
- This topic has 3 replies, 1 voice, and was last updated 10 years, 4 months ago by Anonymous.
-
AuthorPosts
-
-
July 30, 2014 at 9:17 am #1961Anonymous
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 binwhere 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
-
July 30, 2014 at 9:24 am #10181Anonymous
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”,],
},
}, -
July 30, 2014 at 9:29 am #10182Anonymous
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.
-
July 30, 2014 at 10:47 am #10183Anonymous
All right, so cxx = clang did it, rosetta finally compiled cleanly.
-
-
AuthorPosts
- You must be logged in to reply to this topic.