aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* treewide: revise library packagingJo-Philipp Wich2019-01-241-0/+3
| | | | | | | | | | | - Annotate versionless libraries (such as libubox, libuci etc.) with a fixed ABI_VERSION resembling the source date of the last incompatible change - Annotate packages shipping versioned library objects with ABI_VERSION - Stop shipping unversioned library symlinks for packages with ABI_VERSION Ref: https://openwrt.org/docs/guide-developer/package-policies#shared_libraries Ref: https://github.com/KanjiMonster/maintainer-tools/blob/master/check-abi-versions.pl Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: cleanup SSP_SUPPORT configure optionJulien Dusser2018-01-271-1/+1
| | | | | | | | | | | | | | | | | | Configure variable SSP_SUPPORT is ambiguous for packages (tor, openssh, avahi, freeswitch). It means 'toolchain supporting SSP', but for toolchain and depends it means 'build gcc with libssp'. Musl no longer uses libssp (1877bc9d8f), it has internal support, so SSP_SUPPORT was disabled leading some package to not use SSP. No information why Glibc and uClibc use libssp, but they may also provide their own SSP support. uClibc used it own with commit 933b588e25 but it was reverted in f3cacb9e84 without details. Create an new configure GCC_LIBSSP and automatically enable SSP_SUPPORT if either USE_MUSL or GCC_LIBSSP. Signed-off-by: Julien Dusser <julien.dusser@free.fr>
* toolchain: Package libgompFlorian Fainelli2017-05-111-0/+35
| | | | | | | Some external toolchains may be configured to enable OpenMP. Provide a package for these libraries which can be used by other packages. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* toolchain: add musl libc.so to external toolchainHauke Mehrtens2017-03-151-1/+1
| | | | | | | | | musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* toolchain: Allow external toolchains to specify libthread-dbFlorian Fainelli2017-03-041-0/+28
| | | | | | | | | | | | | | | | | We need to let external toolchains be able to specify the path and specification file to the libthread-db POSIX thread debugging shared libraries. This fixes GDB not being able to be installed because it is depending on libthread-db: Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies * for gdb: * libthread-db * * opkg_install_cmd: Cannot install package gdb. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* toolchain/uclibc: Bump version to 1.0.22Alexey Brodkin2017-02-111-14/+2
| | | | | | | | | | | | | | Important change was made in 1.0.18: all sub-libs were merged in one and only libc similarly to musl. See [1] for more details. To support that we had to remove refences to those sub-libs like libpthread, libcrypt, libdl, libm, libutil etc. [1] http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=29ff9055c80efe77a7130767a9fcb3ab8c67e8ce Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* toolchain: Broaden the executable loader patternFlorian Fainelli2017-01-291-1/+1
| | | | | | | | | | Some toolchains will produce executables with an interpreter that is e.g: ld.so.1 (typically a symbolic link). Due to our current LIBC_SPEC_FILE value, we would not be able to copy this symbolic link/file over to the rootfs and executables would fail to load. Extend the search pattern to include all ld*.so* files that could be needed. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* toolchain: Force installation into /libFlorian Fainelli2016-09-281-24/+16
| | | | | | | | For 64-bit capable systems, a symbolic link is set up for /lib64 to point to /lib, so make sure the installation goes into /lib, irrespective of where the C library files come from in an external toolchain. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package: fix toolchain ipk flagsJo-Philipp Wich2016-04-221-1/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: flag essential components as nonsharedJo-Philipp Wich2016-04-061-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* toolchain/glibc: remove obsolete versionsFelix Fietkau2016-02-251-5/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48780
* toolchain: Reverse glibc/eglibc conditionals to check for eglibcFelix Fietkau2016-01-201-3/+3
| | | | | | | | | This will make adding future glibc versions easier because the conditionals won't have to be modified again. Signed-off-by: Michael Marley <michael@michaelmarley.com> SVN-Revision: 48399
* toolchain: Add glibc 2.22Felix Fietkau2016-01-191-3/+3
| | | | | | Signed-off-by: Michael Marley <michael@michaelmarley.com> SVN-Revision: 48383
* toolchain: remove obsolete relinking codeFelix Fietkau2015-11-101-61/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47445
* gcc: remove version 4.6, it is no longer neededFelix Fietkau2015-11-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47443
* toolchain: drop obsolete references to the coldfire targetFelix Fietkau2015-03-251-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44975
* toolchain: remove obsolete checks for avr32Felix Fietkau2015-03-241-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44963
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-122-5/+18
| | | | | | | | | | | It's the eglibc packaging with a bit of spit-polishing. And testing. :-) [blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant] Signed-off-by: Jeff Waugh <jdub@bethesignal.org> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44701
* toolchain: Add libatomic when using external toolchainJohn Crispin2015-01-171-0/+9
| | | | | | | | Otherwise libatomic cannot be used in conjunction with external toolchains. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 43998
* toolchain: do not include libatomic.so in the libc packageFelix Fietkau2014-12-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43699
* toolchain: disable libatomic for gcc 4.6Felix Fietkau2014-12-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43623
* toolchain: musl: fix symlink for lddJonas Gorski2014-11-191-1/+1
| | | | | | | | | | | | | | | ld-musl-*.so* is a symlink "broken" for the hostsystem, so wildcard will skip it, causing LD_MUSL_NAME to empty and the ldd symlink pointing to ../../lib directly. This causes sysupgrade failing to copy any linked libaries and consequently failing to run anything after switching to ram disk. Fix this by creating a symlink directly pointing to where ld-musl-*.so* points to. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43314
* package/*: replace occurences of 'ln -sf' to '$(LN)'Nicolas Thill2014-11-061-3/+3
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 43205
* Add a few SPDX tagsSteven Barth2014-11-021-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* toolchain: drop the mips softfloat symlink hackFelix Fietkau2014-10-191-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42975
* toolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/lddFelix Fietkau2014-10-191-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42974
* toolchain: Fix libthreaddb not being installedSteven Barth2014-10-021-1/+1
| | | | | | Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42752
* toolchain: packetize libatomicSteven Barth2014-09-121-1/+39
| | | | | | | | Based on a patch by Tobias Steinicke <tobias.steinicke@inet.tu-berlin.de>. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42514
* toolchain: only take last found libgcc* fileJo-Philipp Wich2014-06-271-3/+3
| | | | | | | | | | | | | The current $(wildcard ...) match might return multiple files which will break subsequent cp commands with an error like: cp: target `/home/user/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-libc/lib/libgcc_s_pic.a' is not a directory Prevent this issue by only taking the last path returned by globbing. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41357
* toolchain: remove accidental leftover debug codeFelix Fietkau2014-03-201-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39969
* toolchain: add a symlink for musl softfloat ldso to the path where our gcc ↵Felix Fietkau2014-03-201-0/+4
| | | | | | | | expects it Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39966
* packages: clean up the package folderJohn Crispin2013-06-212-0/+608
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007