Summary: | ASTERISK-27809: [patch] utils/pval: Add -lBlocksRuntime for compiler clang conditionally. | ||
Reporter: | Alexander Traud (traud) | Labels: | patch |
Date Opened: | 2018-04-17 07:01:40 | Date Closed: | 2018-04-18 15:20:18 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Utilities/aelparse Utilities/conf2ael |
Versions: | 13.20.0 15.3.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | clang 6.0 | Attachments: | ( 0) ael_utils_with_clang.patch |
Description: | On Ubuntu 18.04 LTS with clang 6.0, I go for:{code}sudo apt install build-essential pkg-config libblocksruntime-dev
sudo apt install libedit-dev libjansson-dev libsqlite3-dev uuid-dev libxml2-dev CC=clang CXX=clang++ ./configure --enable-dev-mode=noisy make menuselect.makeopts ./menuselect/menuselect --disable chan_unistim --enable aelparse --enable conf2ael{code}then, make fails with:{code}pval.o: In function `gen_prios': utils/pval.c:3347: undefined reference to `_NSConcreteStackBlock' utils/pval.c:4194: undefined reference to `_Block_object_dispose' utils/pval.c:4194: undefined reference to `_Block_object_dispose' utils/pval.c:4194: undefined reference to `_Block_object_dispose' pval.o: In function `__copy_helper_block_': utils/pval.c:3357: undefined reference to `_Block_object_assign' pval.o: In function `__destroy_helper_block_': utils/pval.c:3357: undefined reference to `_Block_object_dispose' pval.o: In function `__copy_helper_block_': utils/pval.c:3358: undefined reference to `_Block_object_assign' pval.o: In function `__destroy_helper_block_': utils/pval.c:3358: undefined reference to `_Block_object_dispose' pval.o: In function `__copy_helper_block_': utils/pval.c:3359: undefined reference to `_Block_object_assign' pval.o: In function `__destroy_helper_block_': utils/pval.c:3359: undefined reference to `_Block_object_dispose'{code} | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-04-17 07:01:41.096-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Friendly Automation (friendly-automation) 2018-04-18 15:20:18.735-0500 Change 8790 merged by Jenkins2: utils/pval: Add -lBlocksRuntime for compiler clang conditionally. [https://gerrit.asterisk.org/8790|https://gerrit.asterisk.org/8790] By: Friendly Automation (friendly-automation) 2018-04-18 15:26:10.723-0500 Change 8789 merged by Jenkins2: utils/pval: Add -lBlocksRuntime for compiler clang conditionally. [https://gerrit.asterisk.org/8789|https://gerrit.asterisk.org/8789] By: Friendly Automation (friendly-automation) 2018-04-18 15:27:05.865-0500 Change 8791 merged by Jenkins2: utils/pval: Add -lBlocksRuntime for compiler clang conditionally. [https://gerrit.asterisk.org/8791|https://gerrit.asterisk.org/8791] |