Commit Graph

1339 Commits

Author SHA1 Message Date
Alexey Neyman
9435dfc946 Fix unclosed string
... that resulted in a warning from kconfig

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-22 18:33:19 -07:00
Alexey Neyman
3d1678a7f6 Make creation of ld.so.conf optional
... enabled by default for multilib and disabled otherwise. Buildroot
has been complaining about /etc/ld.so.conf presence for almost a year
now and I missed that.

After the release, xldd will be modified to query the compiler for
the list of multilibs to search. This would be too invasive change
before 1.23, though.

Note that it may lead to configurations where xldd currently does not
find the libraries (if both DEMULTILIB and CREATE_LDSO_CONF are turned
off). This is not the default setting in Kconfig, though.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-22 10:57:45 -07:00
Alexey Neyman
a6b6bb7a57 elf2flt: patch has been accepted upstream
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-20 00:18:14 -07:00
Alexey Neyman
89f0971391 Merge pull request #639 from stilor/tweak-gcc-movelibs
When moving gcc libs, prefer the same directory as libc
2017-03-19 00:34:51 -07:00
Alexey Neyman
63b2a19de4 Add an option to "demultilib"
It turns out buildroot does not currently accept a toolchain where a dynamic
linker does not reside in the multi-os-directory. Unfortunately this is
how glibc installs itself on AArch64 without any extra tricks.

So, provide an option to force everything into /lib or /usr/lib; patch to
buildroot will be worked on separately.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-17 14:31:17 -07:00
Alexey Neyman
061765ced6 Mark static gdb/gdbserver EXPERIMENTAL
... and default to 'n'.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-15 23:57:22 -07:00
Alexey Neyman
a8a080f9b6 Add latest versions of mingw 4.x/3.x/2.x branches
4.0.6 is the only one not marked obsolete.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-11 15:35:47 -08:00
Alexey Neyman
69f95de8b0 Bump kernel versions to latest on kernel.org
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:58:39 -08:00
Alexey Neyman
6d5ec0c35b Pick up new revision in elf2flt
... and updated cygwin patch.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:54:14 -08:00
Alexey Neyman
2f24d5cd75 Add libiconv 1.15
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:50:31 -08:00
Alexey Neyman
1e060114a2 Bump newlib 2.5.0 to 20170228
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:39:55 -08:00
Alexey Neyman
0465c8b6f2 Add binutils 2.28
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-03 16:37:36 -08:00
Alexey Neyman
864d1358e0 Merge pull request #625 from stilor/skip-localedef
Skip localedef
2017-02-28 21:52:06 -08:00
Alexey Neyman
2c2cbd9b9a Add a warning in menuconfig about locales
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28 20:35:14 -08:00
Alexey Neyman
1595df184d Unobsolete CLooG/ISL versions compatible with 4.9
... or it leaves them with no valid choices.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28 18:40:00 -08:00
Alexey Neyman
99283866cc Add patches to Linaro GCC
Same as the base release as long as they applied.
MUSL patches didn't, removed.

Also, unobsolete Linaro GCC5 now that they rolled out a new release.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28 00:57:53 -08:00
Alexey Neyman
439cab379e Require xz to be present
Some software starts to adopt xz-only distribution (strace,
gcc-linaro, ...). Better that than deal with cryptic errors like
"cannot find strace-.tar.bz2".

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27 22:55:57 -08:00
Jasmin Jessich
c8d7d79e20 Added new gcc config option CC_GCC_CONFIG_TLS
Adding new tristate configuration for TLS (Thread Local Storage) to
add "--enable-tls" (y), "--disable-tls" (n) or nothing (m).

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2017-02-21 09:10:22 +01:00
Alexey Neyman
ab6f238de9 Linaro also has new 4.9 and 5.4 releases
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-20 16:28:20 -08:00
Alexey Neyman
6b86ef9288 Merge pull request #610 from stilor/linaro-6.3-2017.02
Bump Linaro GCC6 to 6.3-2017-02
2017-02-19 23:27:59 -08:00
Alexey Neyman
158a96ee71 Merge pull request #609 from stilor/gdb-7.12.1
Add GDB 7.12.1
2017-02-19 23:27:36 -08:00
Alexey Neyman
69eba93d79 Bump Linaro GCC6 to 6.3-2017-02
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 10:56:09 -08:00
Alexey Neyman
dd4cf6dde0 Upgrade GDB 7.11 -> 7.11.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 09:37:01 -08:00
Alexey Neyman
92d5c6d159 Upgrade GDB 7.12 -> 7.12.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 09:36:51 -08:00
Alexey Neyman
d20091d730 Newlib's LTO only makes sense if GCC supports it
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 23:21:09 -08:00
Alexey Neyman
4d723d0892 More garbage collection
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 23:20:55 -08:00
Alexey Neyman
45512b003d Have LTO depend-on non-static builds
Loading a dynamic library (LTO plugin) from a static binary fails
on ArchLinux. It is also prone to break if a system is ever upgraded.

Also, disable plugins if not enabled explicitly.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 19:00:25 -08:00
Alexey Neyman
31e7cd688d Latest GCC has libmpx and Go.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 18:47:19 -08:00
Alexey Neyman
264b0c8686 More GC
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 18:41:04 -08:00
Alexey Neyman
f0716643b4 Garbage collection for GCC options that are same
... on all supported versions.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-18 18:36:34 -08:00
Alexey Neyman
eb8c9024b4 Merge pull request #604 from stilor/strace-4.16
Strace 4.16
2017-02-17 10:42:31 -08:00
Alexey Neyman
4d17f393bd Add strace 4.16
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16 12:50:21 -08:00
Alexey Neyman
4caece0128 Refine previous fix to uClibc verbosity setting
The V={1,2} have opposite meaning in uClibc and uClibc-ng, reflect that.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-15 22:45:07 -08:00
Alexey Neyman
fbc6932308 Merge pull request #594 from stilor/wget-vs-curl
Select wget vs curl, BSD stat vs GNU stat
2017-02-13 22:45:45 -08:00
Alexey Neyman
35f89c4064 Detect both wget/curl and allow user to select the agent
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-12 22:02:23 -08:00
Dave Flogeras
0aa0701fcd Fix typo in toolchain.in
Signed-off-by: Dave Flogeras <dflogeras2@gmail.com>
2017-02-12 17:47:33 -04:00
Alexey Neyman
57e1e7e742 Merge pull request #587 from stilor/select-uclibceavi-suffix
Allow one to select uclibceabi/uclibcgnueabi suffix
2017-02-10 23:55:47 -08:00
Alexey Neyman
4d49730711 Merge pull request #586 from stilor/restore-old-kernel-libc
Restore old kernel/glibc versions
2017-02-10 23:55:33 -08:00
Alexey Neyman
93db580091 Merge pull request #584 from stilor/disallow-gold-for-elf2flt
Require BFD linker if building for flat format
2017-02-10 23:55:16 -08:00
Alexey Neyman
0468f8daf1 Allow one to select uclibceabi/uclibcgnueabi suffix
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 23:48:56 -08:00
Alexey Neyman
5920157fdd Supply --disable-build-with-cxx instead of requiring C++
... when building native GDB/gdbserver.

Suggested by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 22:14:36 -08:00
Alexey Neyman
973664c906 Forgot to saveconfig the changes for ARM/elf2flt sample
Hence, it is better to enforce via config rules: elf2flt does not
play nice with ld wrapper, when both ld.bfd and ld.gold are present.
Limit the choices to just 'ld.bfd' for flat-format architectures.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 21:21:57 -08:00
Alexey Neyman
cc3432c4d6 Add notes about obsoletion policy for kernel/glibc.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
5273394f55 Ports patches for glibc 2.12.1 .. 2.16
Add patches for versions that didn't have them - patches updated/retired
as necessary.

Also, disallow 2.12.2 for architectures in ports - this version did not have
ports addon.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
3582f42858 Fix typo
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
fb6fe0d70b Revert "glibc: Clean out old glibc versions"
This partially reverts commit 88e8852ccd.

Bring back releases 2.12 and newer of glibc, along with the associated
Kconfig machinery. Simplify it slightly.
2017-02-09 18:05:36 -08:00
Alexey Neyman
e2110b21c8 Add older kernel versions up to 2.6.32.x
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 18:05:36 -08:00
Alexey Neyman
9cd1fa128d Merge pull request #578 from stilor/elf2flt-pickup-zlib-fix
Pick up upstream fixes in elf2flt
2017-02-06 22:10:08 -08:00
Alexey Neyman
431821741f Remove "pre-declaration" of config options
... these are apparently not needed with the current kconfig and only
result in warnings like "SYMBOL changed state" and "reassigning SYMBOL".

Perhaps, it was necessary to run kconfig without first generating
config.gen? But now all the targets that invoke $(CONF) have
`config_files` as a dependency.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-06 15:15:41 -08:00
Alexey Neyman
acd6066bee Pick up upstream fixes
... including zlib fix in configure, needed to build canadian crosses
with elf2flt.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-06 12:42:10 -08:00