path: root/patches/uClibc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-08Convert the rest of packages to new frameworkAlexey Neyman8-611/+0
Signed-off-by: Alexey Neyman <>
2017-03-19Merge pull request #639 from stilor/tweak-gcc-movelibsAlexey Neyman1-0/+38
When moving gcc libs, prefer the same directory as libc
2017-03-15Make uClibc-ng search multilib dir if one is setAlexey Neyman1-0/+38
Signed-off-by: Alexey Neyman <>
2017-03-10Patch from upstream fixing dlopen from a static appAlexey Neyman1-0/+56
Signed-off-by: Alexey Neyman <>
2017-03-01Fix uClibc{,-ng} build on macosAlexey Neyman1-0/+29
Signed-off-by: Alexey Neyman <>
2017-02-05Use 'make olddefconfig' in uClibc/uClibc-ng configurationAlexey Neyman1-0/+41
instead of 'make oldconfig' and responding 'y'. This avoids 'Broken pipe' errors in the log, as well as selects default setting for all options not explicitly set. This requires a small fix in the old uClibc. Won't have to maintain that fix for long though :) Signed-off-by: Alexey Neyman <>
2015-11-11uClibc: Reduce supported versionsBryan Hundven61-3888/+0
This commit reduces the number of supported versions to: * * custom location Signed-off-by: Bryan Hundven <>
2015-11-10Merge pull request #242 from stilor/fix-uclibcBryan Hundven1-0/+393
Restore uClibc-based samples.
2015-11-10blackfin: Remove blackfin supportBryan Hundven1-32/+0
This commit removes blackfin support. I'm open to re-adding blackfin after crosstool-1.23.0 is released, but it is currently too difficult to port forward to newer versions of gcc and uclibc. Signed-off-by: Bryan Hundven <>
2015-11-09Restore uClibc samples.Alexey Neyman1-0/+393
Commit 1a25115a1851d3defdf4d37825d8a291be078e53 deleted non-GCC related files, including the patch for uClibc to compile with Linux kernels after 3.4. uClibc 0.9.30 patches are not restored by this change (0.9.30 is broken with recent kernels for multiple other breakages in addition to that; if not retired, it needs to be fixed properly). Signed-off-by: Alexey Neyman <>
2015-10-31gcc: Support only the latest branch releases of gccBryan Hundven3-764/+0
This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <>
2015-10-16Fix arm/uclibc; see the description in the patch.Alexey Neyman1-0/+23
This should ideally be upstreamed to uclibc maintainers, but with the last release more than 3 years ago, I wouldn't hold my breath for a fix being released any time soon.
2015-01-09uClibc: fix darwin buildAndreas Bießmann1-0/+12
uClibc's unifdef tool declares strlcpy(3) which is problematic on OS X. There (and probably on other systems) strlcpy(3) is defined as a macro, re-declaring it here will fail cause the macro expansion will generate an invalid function name. The declaration of strlcpy(3) is however useless cause it is never used in the tool. Also upstream patch 2a021ae81c36f4281883a3195f7ce81504edf978 will remove it. Using that patch here is overkill, cause it rewrites a lot of the unifdef.c code. Signed-off-by: Andreas Bießmann <> Cc: Yann E. MORIN <>
2014-06-28patches/uClibc: add uClibc patch to build with recent kernel headersThomas Petazzoni1-0/+393
uClibc has an issue related to __kernel_long and similar types when building with kernel headers >= 3.4. This commit adds a uClibc that fixes this issue, and allows building with recent kernel headers. Signed-off-by: Thomas Petazzoni <> Signed-off-by: Yann E. MORIN <>
2012-09-26libc/uClibc: add workaround patch for ICE in m68k buildsEsben Haabendal1-0/+19
This patch/workaround is similar to the one proposed in Bug reproduced with GCC 4.6.3. [ALL ] In file included from libc/inet/inet_ntoa.c:8:0: [ALL ] libc/inet/addr.c: In function 'inet_ntoa_r': [ALL ] libc/inet/addr.c:135:1: warning: visibility attribute not supported in this configuration; ignored [-Wattri butes] [ERROR] libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 Signed-off-by: "Esben Haabendal" <> Message-Id: <> Patchwork-Id: 187181
2011-12-30libc/uClibc: add latest versionYann E. MORIN"1-0/+40
Add Signed-off-by: "Yann E. MORIN" <>
2011-08-31libc/uClibc: add patch to fix fork in threads with ARM EABIYann E. MORIN"1-0/+29
uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace is enabled. As this is not the default, provide a workaround to disable linking with libgcc_eh.a if libubacktrace is not selected. This will however still break if uClibc is configured to enable libubacktrace, but it requires a fix in gcc, and we can take care of that later. Reported-by: Grant Edwards <> Reported-by: Tor Krill <> Tested-by: Tor Krill <> Signed-off-by: "Yann E. MORIN" <>
2011-09-12libc/uClibc: workaround for a MIPS TLS issueYann E. MORIN"1-0/+40
Some macros declarations were missing, so we duplicate them. See the added patch description for more information. ----> THIS IS A DIRTY HACK! <---- Signed-off-by: "Yann E. MORIN" <>
2011-08-22libc/uClibc: portability fixes to install_headersTitus von Boxberg"2-0/+40
Add patch files for uClibc-0.9.30: extra/scripts/ find must be called with path. extra/scripts/unifdef.c: getline is declared in <stdio.h>, use different name. Reported-by: "Guylhem Aznar" <> Reported-by: "Titus von Boxberg" <> Signed-off-by: "Titus von Boxberg" <>
2011-06-26libc/uClibc: add latest release 0.9.32 + patchsetYann E. MORIN"6-0/+341
The patchset was obtained by dumping each changeset on the upstream 0.9.32 branch since the release: git log v0.9.32..origin/0.9.32 |sed -r -e '/^commit/!d; s/.* //;' |tac and then creating a patch from each changeset. Signed-off-by: "Yann E. MORIN" <>
2010-04-07Add basic support for the Blackfin architectureThomas Petazzoni1-0/+32
For uClibc, the name of the Blackfin architecture is 'bfin'. Actually, the naming of the architecture is quite messy: for toolchain tuples and uClibc, it's bfin, but for the kernel, it's blackfin. We've arbitraly choosen to name it "blackfin" in Crosstool-NG. Add Blackfin-related uClibc patch to fix a build failure related to fork() being used in unistd/daemon.c. Yann E. MORIN: Apply the patch to the kernel/linux build script to use 'linux' in the noMMU tuples. See:
2010-04-07Fix the uClibc clean-up-O_CLOEXEC-handling patchThomas Petazzoni1-1/+1
In the Blackfin case (untested until now), this patch was lacking a leading / at the end of a comment.
2010-02-28libc/uClibc: vampirise patches for from builrootYann E. MORIN"14-0/+1215
Commit in upstream buildroot: Everything on the 0_9_30 branch since the release ( to be)
2010-01-15libc/uClibc: rename patches for E. MORIN"2-0/+0
2010-01-14Port uClibc patches to Nilsson5-0/+370
Some patches from now applied upstream. The reminder have been only slightly modified to apply cleanly to the new base. Signed-off-by: Joachim Nilsson <>
2010-01-07libc/uClibc: add patch to fix IP frames on BE targetsYann E. MORIN"1-0/+224
Pack netinet structs to be possible to use for creating IP frames on big-endian targets. Signed-off-by: Joachim Nilsson <> [ removed getline patch, already in] Signed-off-by: "Yann E. MORIN" <>
2009-11-16libc/uClibc: add new patch to fix NULL pointer dereferenceDoug Kehn1-0/+12
2009-10-28Merge.Yann E. MORIN"23-1239/+0
2009-10-28libc/uClibc: fix building on system with recent glibcZoltan Devai1-0/+30
While trying to build a toolchain with ct-ng 1.5.0, arm-unknown-linux-uclibcgnueabi target, I get the following error: [INFO ] Installing C library headers [EXTRA] Copying sources to build dir [EXTRA] Applying configuration [EXTRA] Building headers [EXTRA] Installing headers [ERROR] extra/scripts/unifdef.c:209: error: conflicting types for 'getline' [ERROR] make[2]: *** [extra/scripts/unifdef] Error 1 [ERROR] Build failed in step 'Installing C library headers' The following patch solves the problem. (It's a backport of this uClibc commit: ) [--SNIP from another mail--] AFAIK this is a problem since glibc 2.10.
2009-10-28config: rip-out versions marked as OBSOLETEYann E. MORIN"23-1239/+0
2009-03-31Add three new uClibc-, vampirised from buildroot.Yann E. MORIN"3-0/+893
/trunk/patches/uClibc/ | 371 371 0 0 ++++++++++++++++ /trunk/patches/uClibc/ | 474 474 0 0 +++++++++++++++++++++ /trunk/patches/uClibc/ | 48 48 0 0 ++ 3 files changed, 893 insertions(+)
2009-03-30Fix offset in uClibc patch.Yann E. MORIN"1-1/+1
/trunk/patches/uClibc/ | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-08Add uClibc- patchset, based on the 0.9.30 patchset.Yann E. MORIN"5-0/+161
2009-02-26uClibc-0.9.30 patch, forwarded by Joachim Nilsson <>Yann E. MORIN"1-0/+32
Fix getaddrinfo when both IPv4 and IPv6 are enabled. /trunk/patches/uClibc/0.9.30/150-getaddrinfo-segfault-ipv6-and-ipv4.patch | 32 32 0 0 ++++++++++ 1 file changed, 32 insertions(+)
2009-02-08Add patchset for uClibc-0.9.30 (from Gentoo).Yann E. MORIN"5-0/+161
/trunk/patches/uClibc/0.9.30/110-arm_fix_alignment.patch | 23 23 0 0 +++ /trunk/patches/uClibc/0.9.30/130-arm-ftruncate64.patch | 17 17 0 0 ++ /trunk/patches/uClibc/0.9.30/100-fix-gethostent_r-failure-retval.patch | 17 17 0 0 ++ /trunk/patches/uClibc/0.9.30/120-rm-whitespace.patch | 88 88 0 0 ++++++++++ /trunk/patches/uClibc/0.9.30/140-gnu89-inline.patch | 16 16 0 0 ++ 5 files changed, 161 insertions(+)
2008-08-07Update all samples to the latest set of options.Yann E. MORIN"3-0/+477
Update some samples to use newer features. Add patches for the uClibc-20080801 snapshot to be able to build with gcc-4.3. Add a patch against glibc-2.7 to allow building PPC with latest kernel headers. Add a patch to gcc to use an alternate unwinding when built against uClibc (after a private explanation/request by Daniel Egger <>) /trunk/patches/glibc/2.7/230-powerpc-private_futex.patch | 15 15 0 0 + /trunk/patches/uClibc/20080801/300-fix-asm.patch | 175 175 0 0 +++++++++ /trunk/patches/uClibc/20080801/100-ifaddrs.patch | 190 190 0 0 +++++++++ /trunk/patches/uClibc/20080801/200-mips-typeof.patch | 112 112 0 0 ++++++ /trunk/patches/gcc/4.3.1/330-unwind-for-uClibc.patch | 25 25 0 0 + /trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 17 10 7 0 + /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 7 5 2 0 + /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 7 5 2 0 + /trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 14 11 3 0 + /trunk/samples/x86_64-unknown-linux-uclibc/uClibc-20080801.config | 232 232 0 0 ++++++++++++ /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 34 21 13 0 +- /trunk/samples/i686-nptl-linux-gnu/crosstool.config | 10 7 3 0 + /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 12 9 3 0 + /trunk/samples/mips-unknown-linux-uclibc/uClibc-20080801.config | 249 249 0 0 ++++++++++++ /trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 38 23 15 0 +- /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 14 10 4 0 + /trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 7 5 2 0 + /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 12 9 3 0 + /trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 7 5 2 0 + /trunk/samples/i586-geode-linux-uclibc/uClibc-20080801.config | 261 261 0 0 +++++++++++++ /trunk/samples/i586-geode-linux-uclibc/crosstool.config | 32 20 12 0 ++ /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 12 9 3 0 + /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 7 5 2 0 + /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 7 5 2 0 + /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 16 10 6 0 + 25 files changed, 1428 insertions(+), 84 deletions(-)
2008-07-28Fourth step at renaming patches: renumber all patches with a 10-step.Yann E. MORIN"36-0/+0
2008-07-28Third go at renaming patches to contain neither the package name nor the ↵Yann E. MORIN"4-0/+0
package version.
2008-05-14Vampirise three new patches for uClibc, coming from buildroot.Yann E. MORIN"3-0/+243
/trunk/patches/uClibc/0.9.29/600-filter-gnu99-from-assembly-flags.patch | 12 12 0 0 + /trunk/patches/uClibc/0.9.29/800-rm-whitespace.patch | 86 86 0 0 ++++++ /trunk/patches/uClibc/0.9.29/700-linuxthreads.patch | 145 145 0 0 ++++++++++ 3 files changed, 243 insertions(+)
2008-01-18Add a new patch to uClibc-0.9.29.Yann E. MORIN"1-0/+18
2007-07-23The latest uClibc-0.9.29 patch grabbed from buildroot is buggy wrt a type ↵Yann E. MORIN"1-1/+1
(__ulong_t does not exist, while __u_long does). Fix that.
2007-07-21Vampirise two more patches against uClibc-0.9.29 from buildroot.Yann E. MORIN"2-0/+142
2007-07-21Remove unused patch to uClibc-0.9.29.Yann E. MORIN"1-396/+0
2007-05-22Port the custom ISA patch to uClibc-0.9.29Yann E. MORIN"1-0/+31
2007-05-19Add uClibc-0.9.29:Yann E. MORIN"4-0/+494
- associated patch set - update the munging function to accomodate the new config variables libfloat version was missing from the previous commit... :-( Better handle the case where the sample directory already exist but isn't under revision control, and in case the destination file doesn't exist in the sample directory.
2007-05-19Remove an incorrect path from uClibc-0.9.29: we _do_ need a xgcc to buld ↵Yann E. MORIN"1-13/+0
this header!
2007-05-17Make the debug config menu a generated file.Yann E. MORIN"1-0/+13
Add a uClibc-0.9.29 patch directory with one patch (from me!). Update the armeb-unknown-linux-uclibc sample to uClibc-0.9.29. Some eyecandy in the gdb build process.
2007-03-04Argh! I forgot to commit the uClibc- patches...Yann E. MORIN"6-0/+139
2007-02-24Add the full crosstool-NG sources to the new repository of its own.Yann E. MORIN"20-0/+762
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(