View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004377 | Spring engine | Linux | public | 2014-05-04 15:25 | 2014-06-01 14:29 | ||||
Reporter | apoleon | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 96.0 | ||||||||
Target Version | 98.0 | Fixed in Version | |||||||
Summary | 0004377: Spring 96.0 fails to build from source with GCC 4.9 | ||||||||
Description | Spring 96.0 fails to build from source with GCC 4.9 but built fine with GCC 4.8 in the past. The full build log can be found at: http://people.debian.org/~doko/logs/failed-gcc49/spring_96.0+dfsg-1_unstable_gcc49.log Porting guide for GCC 4.9 is available at: http://gcc.gnu.org/gcc-4.9/porting_to.html Building with -fpermissive only suppresses the errors but does not solve the problem. Relevant part of the log: INFO Parsing source file "/«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/unitsync_api.h" ... INFO gccxml cmd: /usr/bin/gccxml -I"." -I"/«BUILDDIR»/spring-96.0+dfsg/rts" "/«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/unitsync_api.h" -fxml="/tmp/tmpvNQNuI.xml" Traceback (most recent call last): File "/«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/python/binding_generator.py", line 81, in <module> my_module_gen(sys.argv[1],sys.argv[2],sys.argv[3:]) File "/«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/python/binding_generator.py", line 76, in my_module_gen includes=['"../unitsync.h"','"../unitsync_api.h"'],) File "/«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/python/pybindgen/gccxmlparser.py", line 586, in parse pygen_classifier, gccxml_options) File "/«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/python/pybindgen/gccxmlparser.py", line 683, in parse_init self.declarations = parser.parse(header_files, self.gccxml_config) File "/usr/lib/pymodules/python2.7/pygccxml/parser/__init__.py", line 50, in parse answer = parser.read_files(files, compilation_mode) File "/usr/lib/pymodules/python2.7/pygccxml/parser/project_reader.py", line 225, in read_files return self.__parse_file_by_file(files) File "/usr/lib/pymodules/python2.7/pygccxml/parser/project_reader.py", line 250, in __parse_file_by_file decls = reader.read_file( header ) File "/usr/lib/pymodules/python2.7/pygccxml/parser/source_reader.py", line 197, in read_file return self.read_gccxml_file( source_file ) File "/usr/lib/pymodules/python2.7/pygccxml/parser/source_reader.py", line 224, in read_gccxml_file raise error pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory In file included from /usr/include/c++/4.9/bits/char_traits.h:39, from /usr/include/c++/4.9/string:40, from /«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/unitsync.h:6, from /«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/unitsync_api.h:12: /usr/include/c++/4.9/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI)': /usr/include/c++/4.9/bits/stl_algobase.h:390: error: expected primary-expression before ')' token /usr/include/c++/4.9/bits/stl_algobase.h:390: error: there are no arguments to '__is_trivial' that depend on a template parameter, so a declaration of '__is_trivial' must be available /usr/include/c++/4.9/bits/stl_algobase.h:390: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/c++/4.9/bits/stl_algobase.h:395: error: '__simple' cannot appear in a constant-expression /usr/include/c++/4.9/bits/stl_algobase.h:396: error: template argument 2 is invalid /usr/include/c++/4.9/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2)': /usr/include/c++/4.9/bits/stl_algobase.h:590: error: expected primary-expression before ')' token /usr/include/c++/4.9/bits/stl_algobase.h:590: error: there are no arguments to '__is_trivial' that depend on a template parameter, so a declaration of '__is_trivial' must be available /usr/include/c++/4.9/bits/stl_algobase.h:595: error: '__simple' cannot appear in a constant-expression /usr/include/c++/4.9/bits/stl_algobase.h:596: error: template argument 2 is invalid /usr/include/c++/4.9/bits/stl_algobase.h: In function 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), _OutputIterator>::__type std::__fill_n_a(_OutputIterator, _Size, const _Tp&)': /usr/include/c++/4.9/bits/stl_algobase.h:748: error: expected `;' before '__niter' /usr/include/c++/4.9/bits/stl_algobase.h:749: error: '__niter' was not declared in this scope /usr/include/c++/4.9/bits/stl_algobase.h: In function 'typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, _OutputIterator>::__type std::__fill_n_a(_OutputIterator, _Size, const _Tp&)': /usr/include/c++/4.9/bits/stl_algobase.h:760: error: expected `;' before '__niter' /usr/include/c++/4.9/bits/stl_algobase.h:761: error: '__niter' was not declared in this scope In file included from /usr/include/wchar.h:884, from /usr/include/c++/4.9/cwchar:44, from /usr/include/c++/4.9/bits/postypes.h:40, from /usr/include/c++/4.9/bits/char_traits.h:40, from /usr/include/c++/4.9/string:40, from /«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/unitsync.h:6, from /«BUILDDIR»/spring-96.0+dfsg/tools/unitsync/unitsync_api.h:12: | ||||||||
Steps To Reproduce | Build Spring 96.0 with GCC 4.9 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-04 15:25 | apoleon | New Issue | |
2014-06-01 01:03 | abma | Target Version | => 98.0 |
2014-06-01 14:29 | abma | Changeset attached | => spring develop 018ca1f6 |
2014-06-01 14:29 | abma | Assigned To | => abma |
2014-06-01 14:29 | abma | Status | new => resolved |
2014-06-01 14:29 | abma | Resolution | open => fixed |