Anonymous | Login | 2022-05-27 18:07 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001032 | OMNeT++ | runtime / Cmdenv | public | 2018-03-01 11:02 | 2018-04-18 13:25 | ||||
Reporter | julius.f | ||||||||
Assigned To | rhornig | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | Linux | OS | Debian 8 Jessie | OS Version | 3.16.0-5-amd64 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001032: omnetpp-5.3p3 does not build on debian Jessie | ||||||||
Description | Compilation of the preview 3 of 5.3 does not compile on debian Jessie because some builtin functions can not be found. Preview 2 worked fine. cdynamicexpression.cc:385:9: error: use of undeclared identifier '__builtin_add_overflow' if (__builtin_add_overflow(a, b, &res)) ^ cdynamicexpression.cc:397:10: error: use of undeclared identifier '__builtin_mul_overflow' if ( __builtin_mul_overflow(a, b, &res)) ^ cfsm.cc cnedmathfunction.cc 2 errors generated. Makefile:100: recipe for target '/mnt/distsim/omnetpp-5.3p3/out/clang-release/src/sim/cdynamicexpression.o' failed make[2]: *** [/mnt/distsim/omnetpp-5.3p3/out/clang-release/src/sim/cdynamicexpression.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Copying to: /mnt/distsim/omnetpp-5.3p3/bin/scavetool Makefile:117: recipe for target 'sim' failed make[1]: *** [sim] Error 2 Makefile:28: recipe for target 'allmodes' failed make: *** [allmodes] Error 2 [email protected]:distsim/omnetpp-5.3p3 $ clang --version Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0) Target: x86_64-pc-linux-gnu Thread model: posix It looks like the llvm 3.5 toolchain only supports add and mul for short and unsigned: http://releases.llvm.org/3.5.0/tools/clang/docs/LanguageExtensions.html#builtin-functions [^] See attached config.log for details. | ||||||||
Tags | ubuntu | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
(0001352) rhornig (administrator) 2018-03-01 15:22 |
Thanks. Indeed. I have added __has_builtin macro to test for the builtin function |
![]() |
|||
Date Modified | Username | Field | Change |
2018-03-01 11:02 | julius.f | New Issue | |
2018-03-01 11:02 | julius.f | File Added: config.log | |
2018-03-01 15:22 | rhornig | Note Added: 0001352 | |
2018-03-01 15:22 | rhornig | Status | new => resolved |
2018-03-01 15:22 | rhornig | Resolution | open => fixed |
2018-03-01 15:22 | rhornig | Assigned To | => rhornig |
2018-04-18 13:25 | userofomnet | Tag Attached: ubuntu |
Copyright © 2000 - 2022 MantisBT Team |