Commit Graph

42 Commits

Author SHA1 Message Date
Tom Yan ec39dfb164 gdb: fix unwinding 2019-05-14 17:53:00 +03:00
Fredrik Fornwall 013bdff847 gdb: Update from 8.2.1 to 8.3 2019-05-12 01:10:28 +02:00
Leonid Pliushch b64c7f9449 gdb: rebuild due to versioned liblzma 2019-05-03 17:25:52 +03:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch 2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Leonid Pliushch 54036eac1a bump revision of all packages dependent on readline 2019-02-20 17:48:39 +02:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 97bb595a65 gdb: Update from 8.2 to 8.2.1 2018-12-28 01:01:33 +01:00
Fredrik Fornwall 34d8fb9e84 gdb: Update from 8.1.1 to 8.2 2018-09-07 06:21:50 +02:00
Fredrik Fornwall 379e1aa072 gdb: Update from 8.1 to 8.1.1 2018-07-31 21:53:50 +02:00
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +02:00
Leonid Pliushch 254c932df2 gdb: fix default editor for command 'edit' 2018-06-20 01:46:59 +02:00
Henrik Grimler c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Fredrik Fornwall 2cd37154b3 gdb: Fix building against api level 21 2018-02-01 22:13:29 +01:00
Fredrik Fornwall 6c037b58fe gdb: Update from 8.0.1 to 8.1 2018-02-01 22:01:54 +01:00
Fredrik Fornwall b3c2186a44 gdb: Fix x86_64 build with NDK r16
The NDK headers now define elf_siginfo.
2017-11-17 09:35:36 +01:00
Leonid Pliushch 0cfc6c9f22 gdb: fix path in TMP_PREFIX 2017-09-14 16:38:22 +02:00
Fredrik Fornwall 8e2aeb182d gdb: Add ncurses to deps (see #1399) 2017-09-10 23:18:59 +02:00
Fredrik Fornwall eee1a0a185 gdb: Update from 8.0 to 8.0.1 2017-09-10 22:09:52 +02:00
Fredrik Fornwall 95e6f9429a Attach arm issues with C++ exception unwinding
See https://github.com/android-ndk/ndk/issues/379

Fixes #1163

Fixes issues with gdb segfaulting on arm on an unrecognized command.
2017-07-27 02:06:37 +02:00
Fredrik Fornwall 9dea96a7e8 gdb: Update from 7.12.1 to 8.0 2017-07-15 00:03:23 +02:00
Fredrik Fornwall 6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall 38da7c25d8 gdb: Update from 7.12 to 7.12.1 2017-01-27 23:04:25 +01:00
Fredrik Fornwall 508fa73cb8 Always call post-extract step in srcdir 2017-01-10 03:14:35 -05:00
Fredrik Fornwall 6097e55733 gdb: Add comment to patch with reason for it 2016-10-10 17:53:29 -04:00
Fredrik Fornwall bf76a82054 gdb: Update from 7.11.1 to 7.12 2016-10-09 19:02:52 -04:00
Fredrik Fornwall 722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -04:00
Fredrik Fornwall 83d11d6e04 Update readline to v7 and bash to v4.4
As a consequence of updating readline to version 7 we bump the
build revision of all packaging linking to it as the soname has
changed.
2016-09-17 18:29:14 -04:00
Fredrik Fornwall 7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall f6fd83bae5 Bump some builds after libexpat update 2016-08-14 09:19:24 -04:00
Fredrik Fornwall cdfc3cb9c1 gdb: Fix build on x86_64 2016-06-17 17:09:18 -04:00
Fredrik Fornwall 70bdb22c8f gdb: Update from 7.11 to 7.11.1 2016-06-03 10:08:50 -04:00
Fredrik Fornwall 839f6ac48f gdb: Fix to build on aarch64 2016-03-10 18:45:44 -05:00
Fredrik Fornwall 03e92e97aa gdb: Add comment explaining autoconf variables 2016-03-10 15:18:35 -05:00
Fredrik Fornwall fc3ae02b63 gdb: Update 7.10 to 7.11 and NDK r11 compatibility 2016-03-10 11:47:23 -05:00
Fredrik Fornwall 0d46b4d25c gdb: Fix "setpgrp failed in child" error
This broke e.g. Ctrl+C behaviour when debugging programs under gdb.

Fixes #73.
2016-02-07 19:33:15 -05:00
Fredrik Fornwall 95eeb895a5 gdb: Change default solib search path
Add /system/lib(64) and /system/vendor/lib(64) to the default
solib search path so that system shared libraries are found.

Error mentioned in issue #73.
2016-02-07 19:05:09 -05:00
Fredrik Fornwall 1d2aaaa0c8 gdb: Update from 7.10 to 7.10.1 2015-12-07 09:46:01 -05:00
Fredrik Fornwall c355e2f29e gdb: Update from 7.9.1 to 7.10 2015-08-29 09:41:55 -04:00
Fredrik Fornwall 614749cd9e gdb: Use termux-provided bin/sh instead of system 2015-07-11 20:11:50 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00