libosmocore.git branch master updated. 0.10.2-147-g6de34ee4

gitosis at osmocom.org gitosis at osmocom.org
Thu Feb 8 09:41:52 UTC 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  6de34ee46b1d256e98d0048c5407f0eec929288b (commit)
       via  41911d03804c3bb82657a73bfd3dd73b70d13915 (commit)
      from  76c6c50405c6cbb1d08bdd7b5d27c657fa5d38b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=6de34ee46b1d256e98d0048c5407f0eec929288b

commit 6de34ee46b1d256e98d0048c5407f0eec929288b
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Thu Feb 1 12:49:39 2018 +0100

    tests: utils_test: Fix test failure when compiling with -O0
    
    It seems with default flags in_buf was being memzeroed by the compiler.
    When compiling with -O0, that's not the case anymore and printf prints
    after first 16 bytes, printing extra garbage which doesn't match the
    expected output.
    
    Change-Id: I736c1e4d625f647d3bb794fa717256e9dbf36e87

http://cgit.osmocom.org/libosmocore/commit/?id=41911d03804c3bb82657a73bfd3dd73b70d13915

commit 41911d03804c3bb82657a73bfd3dd73b70d13915
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Thu Feb 1 12:10:33 2018 +0100

    tests: coding_test: Fix compilation with -O0
    
    inline keyword is a hint for the compiler to inline the function, but
    it's not mandatory. If no static or extern is specified, the definition
    is only visible in the current unit but the identifier still has
    external linkage.
    When running with -O0 it seems the compiler (gcc 7.2.1) decides to use
    the external linkage but at the same time it seems it's not generating
    the function symbol. Fix it by explicitly stating that we want to use
    static linking for this function.
    
    coding/coding_test.o: In function `test_xcch':
    libosmocore/tests/coding/coding_test.c:86: undefined reference to `dump_ubits'
    libosmocore/tests/coding/coding_test.c:87: undefined reference to `dump_sbits'
    
    Change-Id: I18018adec05ce1c2ddbca38653311d74c7454ce8

-----------------------------------------------------------------------

Summary of changes:
 tests/coding/coding_test.c | 4 ++--
 tests/utils/utils_test.c   | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications


More information about the osmocom-commitlog mailing list