1. 16 Aug, 2018 1 commit
  2. 14 Aug, 2018 5 commits
  3. 12 Aug, 2018 1 commit
  4. 11 Aug, 2018 8 commits
  5. 08 Aug, 2018 2 commits
  6. 07 Aug, 2018 3 commits
  7. 06 Aug, 2018 2 commits
  8. 01 Aug, 2018 1 commit
  9. 31 Jul, 2018 2 commits
  10. 30 Jul, 2018 1 commit
  11. 25 Jul, 2018 1 commit
  12. 13 Jul, 2018 1 commit
  13. 09 Jul, 2018 1 commit
  14. 06 Jul, 2018 1 commit
    • Stefan Sperling's avatar
      fix linking TTCN3 programs on Ubuntu 18.04 · 425a1116
      Stefan Sperling authored
      
      
      Linking TTCN3 programs on an up-to-date Ubuntu 18.04 system failed.
      
      The official Ubuntu 18.04 eclipse-titan package is installed:
      
      $ apt list -a eclipse-titan
      Listing... Done
      eclipse-titan/bionic,now 6.3.1-1build1 amd64 [installed]
      
      The ttcn3 library contains "GCC: (GNU) 7.3.0" in its .titan section:
      
      $ objdump -s -j .titan /usr/lib/titan/libttcn3-dynamic.so | tail
       64f1f0 00000000 00000000 00000000 00000000  ................
       64f200 54495441 4e3a2036 30333031 20504c41  TITAN: 60301 PLA
       64f210 54464f52 4d3a204c 494e5558 20474343  TFORM: LINUX GCC
       64f220 3a202847 4e552920 372e332e 3000      : (GNU) 7.3.0.
      
      However, the installed compiler version puts a different string
      into the .comment section of newly compiled object files:
      "GCC: (Ubuntu 7.3.0-16ubuntu3) 7.3.0"
      
      Because of this mismatch titanver reports an error during the final link stage:
      """
      Error! All object files should be compiled with the same compiler version.
      The following Compiler versions were detected: GCC: (Ubuntu 7.3.0-16ubuntu3) 7.3.0, GCC: (GNU) 7.3.0
      Run make clean and make to recompile the project if the version of the compiler changed recently. at /usr/bin/titanver line 113.
      """
      
      The TTCN3 shared library was not compiled by me. It was compiled by
      Ubuntu packagers at some point in time, and installed via 'apt install'.
      Some time later on Ubuntu's gcc package was updated. The compiler's version
      number remained unchanged but the comment string was changed to reflect
      the Ubuntu package's patch level.
      
      In this situation, linking my own TTCN3 modules against Ubuntu's
      libttcn3 no longer works.
      
      It is common practice in Linux distributions to avoid recompiling packages
      unless it is absolutely necessary. So we cannot expect Ubuntu to provide a
      freshly compiled ecipse-titan package whenever the gcc package is updated.
      
      This patch makes titanver ignore parts of the compiler version string
      within parentheses and fixes this problem for me.
      Signed-off-by: default avatarStefan Sperling <ssperling@sysmocom.de>
      425a1116
  15. 04 Jul, 2018 5 commits
  16. 03 Jul, 2018 1 commit
  17. 02 Jul, 2018 1 commit
  18. 29 Jun, 2018 2 commits
  19. 25 Jun, 2018 1 commit