Commit Graph

33 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Stijn Tintel c14485d41a toolchain/uClibc: add missing config symbol
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years ago
Hauke Mehrtens 336ad4c9aa toolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL
This is required to build net-snmp.

If that options is disabled in uClibc then net-snmp doesn't
detect sighold support on its configuration stage and so
defines HAVE_SIGHOLD as 0. That in its turn causes compilation of
the following branch of timerPause() in apps/snmpnetstat:
------------------>8----------------
    int             oldmask;
    oldmask = sigblock(sigmask(SIGALRM));
    if (!signalled) {
        sigpause(0);
    }
    sigsetmask(oldmask);
------------------>8----------------

Now in uClibc all 3 sigblock(), sigmask() and sigsetmask()
were removed back in 2005, see:
https://git.busybox.net/uClibc/commit/?id=5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594

And all that causes net-snmp linkage to fail this way:
------------------>8----------------
.libs/if.o: In function `intpr':
if.c:(.text+0x908): undefined reference to `sigmask'
if.c:(.text+0x90e): undefined reference to `sigblock'
if.c:(.text+0x924): undefined reference to `sigsetmask'
------------------>8----------------

If we enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL in uClibc then
branch with sighold is used in timerPause() and everything builds as
expected.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 49178
8 years ago
John Crispin 7b821a5ae8 toolchain: add support of ARCv2 architecture
This change adds support of ARC ISAv2 processors in
OpenWRT toolchain.

In general gcc for ARC may compile code for both ISA versions
simultaneously but libgcc will be built only for default
architecture that's why it's necessary to specify --with-cpu
on gcc configuration.

As for uClibc we need to use different configurations for
different ARC ISAs.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48739
8 years ago
Felix Fietkau 8b5d644bb3 toolchain: add support of ARC architecture
This includes binutils, gcc, gdb and uClibc-ng.

Latest release of ARC gcc (as of today it is "arc-2015.06")
is based on upstream gcc 4.8.4.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc

Latest release of ARC binutils (as of today it is "arc-2015.06")
is based on upstream binutils 2.23.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06

Latest release of ARC GDB (as of today this is "arc-2015.06-gdb")
is based on upstream gdb 7.9.1.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb

Note that for binutils and gdb that come from unified git repository
(which is the case for upstream binutils/gdb today) we need to disable
building of gdb in binutils and binutils in gdb hence in binutils:
------>8------
--disable-sim
--disable-gdb
------>8------

and in gdb:
------>8------
--disable-binutils
--disable-ld
--disable-gas
------>8------

Also in gdb we disable sim because if the following breakage while
building with it:
------------>8------------
/usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \
        -mono -fast -pbb -switch sem5-switch.c \
        -cpu a5f -infile ./mloop5.in \
        -outfile-suffix 5
unknown option: bash
Makefile:699: recipe for target 'stamp-5mloop' failed
make[7]: *** [stamp-5mloop] Error 1
------------>8------------

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

SVN-Revision: 47438
9 years ago
Felix Fietkau 014194de60 uclibc: remove version 0.9.33
Latest uClibc-ng is now the only supported option

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47357
9 years ago
Felix Fietkau 03205ec740 clean up uclibc patch/config version handling a bit
SVN-Revision: 14994
15 years ago
Nicolas Thill 591563a80a enable UCLIBC_SUSV3_LEGACY in uClibc v0.9.30 configs to have <sys/timeb.h> & ftime (needed for openssl and maybe others), thanks to Puchu!
SVN-Revision: 14133
16 years ago
Florian Fainelli 63426c5715 add missing config symbol in x86_64 configuration
SVN-Revision: 14132
16 years ago
Nicolas Thill a271aaa2db add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
SVN-Revision: 14130
16 years ago
Felix Fietkau 25aba0e356 use the new linuxthreads implementation on i386,i686
SVN-Revision: 14016
16 years ago
Jo-Philipp Wich 5649ff4093 enable netlink support
SVN-Revision: 13839
16 years ago
Florian Fainelli 68f4ae4e94 Update uClibc config for x86_64
SVN-Revision: 11963
16 years ago
Imre Kaloz 6ca4659c4e * refresh storm patches * disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas
SVN-Revision: 11367
16 years ago
John Crispin 895adb694f fix up uclibc support for etrax
SVN-Revision: 11025
16 years ago
Imre Kaloz a4dd1adf4a add preliminary support for Storm SL3512 based devices, not ready yet
SVN-Revision: 10956
16 years ago
Felix Fietkau 4feadffcb1 turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
SVN-Revision: 10358
17 years ago
Ralph Hempel 3dfc679bb9 add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards) the version 0.9.29 is still the default version
SVN-Revision: 10282
17 years ago
Gabor Juhos 6f60b7afcd uClibc: restore support of shadow passwords, but make it configurable
SVN-Revision: 10276
17 years ago
Felix Fietkau 72b3f74a04 enable res_close bsd compat, asterisk requires this
SVN-Revision: 10048
17 years ago
Felix Fietkau b0392b0661 replace cflags hacks with the correct solution
SVN-Revision: 10031
17 years ago
Felix Fietkau 0dacee1c94 enable gnu glob in uclibc
SVN-Revision: 10027
17 years ago
Felix Fietkau 1c7b826708 unconditionally enable c99 math support in uclibc - many packages need it
SVN-Revision: 10024
17 years ago
Felix Fietkau d38a0f69bf update x86 uclibc configs
SVN-Revision: 10017
17 years ago
Imre Kaloz 66b3d3dcd8 upgrade to uClibc 0.9.29 - break binary compatibility #1
SVN-Revision: 10010
17 years ago
Felix Fietkau 1423753198 revert abi changes in uClibc - on hold for 7.11, will be added again with the uclibc upgrade for 8.01
SVN-Revision: 9519
17 years ago
Felix Fietkau 694cbbccb1 disable crt_fini compatibility in uClibc, compile custom ld-uClibc for broadcom utilities allows us to upgrade uClibc without breaking compatibility for nas and wl breaks binary compatibility for packages from earlier kamikaze releases
SVN-Revision: 9518
17 years ago
John Crispin 648cf7c524 added i686 support and profile for t-vision s100
SVN-Revision: 7890
17 years ago
Rod Whitby b67e1aee7e Enable LDSO_RUNPATH in uClibc configuration for all platforms
SVN-Revision: 7769
17 years ago
Imre Kaloz 08c7265613 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
17 years ago
John Crispin e19eb3d828 add initial support for the crisarchitecture used on foxboards to openwrt
SVN-Revision: 7439
17 years ago
Felix Fietkau 7d08f7199e add x86_64 config for uClibc
SVN-Revision: 6368
17 years ago
Mike Baker 176601bec9 little endian arm support
SVN-Revision: 5673
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago