Baruch Siach [Thu, 28 May 2015 11:35:28 +0000 (14:35 +0300)]
support/download: relocate the git clone comment
Following commit
95a572282e87 (pkg-infra: move the git download helper to a
script, 2014-07-02), move the comment describing the shallow clone trickery as
well. Merge this comment with the existing helper comment that was added in
7e40a1103a91 (support/download: convert git to use the wrapper, 2014-08-03).
Rename $($(PKG)_DL_VERSION) to ${cset} to match the helper code context.
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sat, 30 May 2015 14:19:11 +0000 (16:19 +0200)]
package/sconeserver: fix static link with openssl
When linking statically, the order of libraries on the linker command
line is important, and sconeserver got it wrong.
Also, sconeserver does not use pkg-config, so it misses the private
libs of -lcrypto, which is linking with -lz.
Fix that:
- add a patch to configure.in to fix the order of libraries;
- forcibly pass -lz when linking statically with openssl.
Note: we were already reconfiguring sconeserver, because it comes from
the github repository.
Fixes:
http://autobuild.buildroot.org/results/403/
403eac974ecdaacdb66b8241fbdcf19ec5e07480
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 30 May 2015 22:55:32 +0000 (00:55 +0200)]
package/php: Disable jit in bundled pcre library
Quote from ext/pcre/pcrelib/doc/pcre.txt
"This support is available only for certain hardware architectures. If
this option is set for an unsupported architecture, a compile time
error occurs."
Disable jit support on unsupported archs by updating ext/pcre/pcrelib/config.h
Fixes
http://autobuild.buildroot.net/results/966/
966d6c47d1ed13a90c2846d96fb3d193df4b2aaa/ (bfin)
http://autobuild.buildroot.net/results/3f5/
3f53751b192078714860e64d3f6d8d7398433d5a/ (xtensa)
http://autobuild.buildroot.net/results/de1/
de12474d2b5cce251b1ab10f7d7e28c90545a1f0/ (arcle)
http://autobuild.buildroot.net/results/358/
358b54245bb48f653ce209be070bd5fe6b17afc4/ (microblazeel)
http://autobuild.buildroot.net/results/a7c/
a7c161ca0b424ae35634c9f2d8a8111cedec8181/ (nios2)
http://autobuild.buildroot.net/results/dad/
dad1128f58fc601bf96da5fa0635b9b9c6c8f0b8/ (sh)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Danomi Manchego [Sun, 31 May 2015 01:44:14 +0000 (21:44 -0400)]
libgcrypt: allow optimization
Drop the --disable-optimization option, which makes the libgcrypt configure
remove buildroot's optimization setting passed in from CFLAGS.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Fri, 29 May 2015 05:09:38 +0000 (08:09 +0300)]
lttng-libust: requires dynamic library support
Fixes:
http://autobuild.buildroot.net/results/e89/
e8974516173ea74c830b71e400fcbafdd69dea60/
http://autobuild.buildroot.net/results/cac/
cac7015c3be7e34dbeaa6accb59aebebe68eb6d2/
http://autobuild.buildroot.net/results/4ce/
4ce0a35316cd25536b58b50f096b6f75f6e3c1c9/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Tue, 26 May 2015 19:33:21 +0000 (21:33 +0200)]
package/gptfdisk: propagate ncurses reverse dependency
gptfdisk cgdisk select nucurses wchar support which is disabled
on bfin with FLAT binary format.
Add the ncurses's reverse dependency to gptfdisk.
Fixes:
http://autobuild.buildroot.net/results/ce3/
ce35c072f0b7c3a7a1918cb865a2eecbba8a1b23/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Tue, 26 May 2015 22:30:17 +0000 (19:30 -0300)]
nbd: security bump to version 3.11
Fixes:
CVE-2015-0847 nbd-server denial of service due to unsafe signal handlers
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Wed, 27 May 2015 10:35:52 +0000 (12:35 +0200)]
libstrophe: install into target
Since
a7134ce6745 (libstrophe: bump version), the package does in fact build
and install a shared library, so ensure it also ends up in target so it can
be found at runtime.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Tue, 26 May 2015 10:36:47 +0000 (13:36 +0300)]
janus-gateway: disable for static build
janus-gateway requires dlopen().
Fixes:
http://autobuild.buildroot.net/results/092/
092aac2b8abe0edd868a7e0cc59cdaaf28ca4ad5/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Tue, 26 May 2015 10:21:33 +0000 (13:21 +0300)]
fio: disable for static build
Fixes:
http://autobuild.buildroot.net/results/275/
275dc359d72513fd567b7ccbbd4061dffd8a5266/
http://autobuild.buildroot.net/results/5e8/
5e8cc28da6a17dcb142eb6d8a8cada735b211e2e/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Tue, 26 May 2015 19:48:06 +0000 (16:48 -0300)]
linux-headers: bump 3.{12,18}.x series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias [Tue, 26 May 2015 19:45:57 +0000 (16:45 -0300)]
postgresql: security bump to version 9.4.2
Fixes:
CVE-2015-3165 (denial of service)
CVE-2015-3166 (information disclosure)
CVE-2015-3167 (side-channel key exposure)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sun, 24 May 2015 21:49:56 +0000 (23:49 +0200)]
docs/manual/br2-external: use proper .Note sections
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sun, 24 May 2015 21:49:55 +0000 (23:49 +0200)]
docs/manual/br2-external: remove superfluous leading space in code blocks
They are not needed, and other code blocks in the same file are not
indented either.
Remove those leading spaces, so all our code blocks look the same.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Mon, 25 May 2015 20:25:21 +0000 (22:25 +0200)]
iproute2: drop unneeded Werror handling
Upstream has dropped -Werror since the 3.12 release, so there's no point in
us sed'ing it away:
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=
3140e9a3a343d37a8d828ee27e16ad9f3f9ab389
Reported-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Porcedda [Mon, 25 May 2015 15:30:38 +0000 (17:30 +0200)]
packages/flite: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Porcedda [Mon, 25 May 2015 15:30:37 +0000 (17:30 +0200)]
package/libjpeg: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Porcedda [Mon, 25 May 2015 15:30:36 +0000 (17:30 +0200)]
package/directfb: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Porcedda [Mon, 25 May 2015 15:30:35 +0000 (17:30 +0200)]
package/knock: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Porcedda [Mon, 25 May 2015 15:30:34 +0000 (17:30 +0200)]
package/udpcast: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Samuel Martin [Sat, 23 May 2015 13:56:39 +0000 (15:56 +0200)]
package/efl/libelementary: disable on static lib only build
libelementary sources include dlfcn.h header when HAVE_FORK symbol is defined;
this is always the case because efl already depends on BR2_USE_MMU.
Fixes:
http://autobuild.buildroot.org/results/07c/
07c97918dab24215f5c5130a9cd2788adca0a27d/
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sat, 23 May 2015 12:57:56 +0000 (14:57 +0200)]
package/php: fix build without threads and pcre
The pcre library bundled in php is not configurable through the usual
--enable/disable options, but wants to be thread-safe by default, so it
wants to use pthreads (uncludes pthread.h and uses pthread_* functions).
So, just override the default configuration to explicitly require the
bundled pcre library be single-threaded when we have no thread and are
not using the external pcre library.
Fixes:
http://autobuild.buildroot.org/results/f50/
f50f4e569466ad74e49a3eac9ea2e6cfc4dd30e3/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Mon, 25 May 2015 19:58:03 +0000 (21:58 +0200)]
gptfdisk: ensure correct libintl/libiconv build order
Fixes:
http://autobuild.buildroot.net/results/c7d/
c7d48554d76e39cbdf715721ae51e3516a99f97e/
We're explicitly linking against libintl/libiconv if enabled when linking
statically, but weren't ensuring that those libraries had already been built
before gptfdisk leading to linker issues.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sat, 23 May 2015 17:56:21 +0000 (19:56 +0200)]
package/ipmiutil: really disable lanplus
Fixes:
http://autobuild.buildroot.org/results/04a/
04a1c48d484debd7894fd32997ed50d3a0110b93/
Due to weird constructs in the Makefiles, lanplus is always built, even
when explicitly disabled with --disable-lanplus .
So, add a patch to enforce disabling lanplus. We're doing an at-minima
patch just for the upcoming Buildroot release, and to avoid diverging
too far from upstream...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sat, 23 May 2015 15:40:33 +0000 (17:40 +0200)]
package/ipmiutil: disable parallel build
ipmiutil has a race when generating the object files and the executable,
because it uses very odd (to say the least) constructs in its
Makefile.am, leading to improper dependency-tracking.
Since impmiutil is pretty small, and because it is just mindbloggingly
complex to fix its Makefile.am, just disable parallel build.
Fixes:
http://autobuild.buildroot.org/results/661/
661373306d0440aaea67e394fbbfc47fd4481589/
http://autobuild.buildroot.org/results/a6c/
a6c5f9d8e0e0bad27b8ca1fa217bfda4216f2cd8/
http://autobuild.buildroot.org/results/f0b/
f0bbbd54349b5239872d6de185e16c1d90b3f779/
http://autobuild.buildroot.org/results/20c/
20c09695481c3d1030852330c1d1f1f9489f1f41/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sun, 24 May 2015 13:36:05 +0000 (15:36 +0200)]
package/libgsasl: fix typo in variable name
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Fri, 22 May 2015 12:49:32 +0000 (14:49 +0200)]
gptfdisk: fix static linking issue with iconv
Fixes:
http://autobuild.buildroot.net/results/e89/
e891a5bab72690a530781ad87d5804a53a209b5c/
Similar to libintl, some of the gptfdisk dependencies may link against
libiconv, so we need to do so as well when linking statically.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Fri, 22 May 2015 09:53:58 +0000 (11:53 +0200)]
Update for 2015.05-rc3
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Michał Leśniewski [Tue, 19 May 2015 18:26:30 +0000 (20:26 +0200)]
fs/jffs2: Fix mkfs.jffs2 --pagesize parameter usage
Fixes #8186
Mkfs.jffs2 accepts a --pagesize parameter, which allows specifying the size
of the virtual memory page size of the target machine, where the image will
be used. (This is the value of the PAGE_SIZE macro in Linux.) In most cases
the parameter doesn't need to be set as the default value of 4 kB is usually
correct.
The parameter was used incorrectly in Buildroot -- it was set to the page
size of flash memory chip -- this commit fixes this problem. Now the
--pagesize parameter is not used at all (unless the user explicitly chooses
to use a custom value during configuration). All existing defconfigs were
corrected to match the new configuration variable names.
[Peter: reword, add Config.in.legacy handling]
Signed-off-by: Michał Leśniewski <mlesniew@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Fri, 22 May 2015 04:29:52 +0000 (07:29 +0300)]
tiff: add hash
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Fri, 22 May 2015 04:29:51 +0000 (07:29 +0300)]
gdk-pixbuf: fix static build with libtiff
Fixes:
http://autobuild.buildroot.net/results/ce6/
ce61d5aaf5dfdda92fcecb08a30b6093926d6f01/
http://autobuild.buildroot.net/results/76b/
76b550da06fe547716f089e46d96a1406043268a/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Samuel Martin [Fri, 22 May 2015 04:30:20 +0000 (06:30 +0200)]
package/protobuf: autoreconf is now needed
Since its update, the *_SITE points to the git repository, so configure
script is not generated in this tarball.
Fixes:
http://autobuild.buildroot.org/results/ccb/
ccba6d8c73b5e826b86065b77b3fe5077db7b99c/
http://autobuild.buildroot.org/results/57e/
57ea34e9b48293075e10f0dd2331de2785730827/
and many more...
[Peter: drop redundant HOST_*_AUTORECONF]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 22:32:31 +0000 (00:32 +0200)]
newt: not available for static only builds
Fixes:
http://autobuild.buildroot.net/results/a40/
a400e1fe7291d3bd3171ad04ce5fd7ba235d39af/
http://autobuild.buildroot.net/results/ec3/
ec38d0f1d1faa2a87321bab10f87772eb819adc9/
http://autobuild.buildroot.net/results/7cb/
7cbc8cd265d527c7b56d57e511903b23a4a84489/
newt uses autoconf but not automake, and unconditionally tries to build a
.so file - So it doesn't work in static only builds.
The only reverse dependency is network-manager, which already depends on
glibc.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 22:20:39 +0000 (00:20 +0200)]
rpi-userland: not available for static only builds
Fixes:
http://autobuild.buildroot.net/results/e9e/
e9ea569b5fe6fd875b3fa8f4eee82e3fddd95e90/
http://autobuild.buildroot.net/results/c97/
c97f7df043469bc51ebbb41ddf30f8e82d4e6bb5/
http://autobuild.buildroot.net/results/ba8/
ba82769109f205123834627bbf782bd1811ea43e/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 22:04:32 +0000 (00:04 +0200)]
neardal: properly quote output of pkg-config
Commit
5504039c4e (neardal: fix readline/libedit detection with static
linking) added the output of pkg-config to the LIBS shell variable without
adding quotes around it, breaking the logic if the output would ever consist
of more than 1 word.
Now, pkg-config --libs ncurses currently only outputs '-lncurses', so
nothing is really broken (for now atleast), but lets add the quotes before
it does or the syntax gets copied somewhere else where it does.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 22:00:05 +0000 (00:00 +0200)]
portaudio: fix static linking issue with portaudio
Fixes:
http://autobuild.buildroot.net/results/25f/
25f8088ecb276ff4559a56fcc4f1b92d11f7deac/
As opposed to the other audio backends, the configure script does NOT use
pkg-config to figure out how to link with portaudio, breaking static linking
as portaudio uses pthreads.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 21:41:13 +0000 (23:41 +0200)]
jack2: not available for static only builds
Fixes:
http://autobuild.buildroot.net/results/e53/
e537a500852ddb8aa0b1155ea9bc8a17636dd50d/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Mirko Langisch [Sun, 17 May 2015 15:58:21 +0000 (17:58 +0200)]
exim: enable plaintext and cram-md5 authenticators
Fixes #8126
Signed-off-by: Mirko Langisch <pud@nerdpunx.net>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 15:32:24 +0000 (17:32 +0200)]
iproute2: ensure TARGET_LDFLAGS are used
Otherwise we can end up with various linker issues (E.G. linking shared
against libc for a static build, ..).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Thu, 21 May 2015 14:29:28 +0000 (16:29 +0200)]
iproute2: needs host-pkgconf
The (handwritten) configure script uses pkg-config, so ensure it is
available.
With this in place XT and IPT_LIB_DIR detection works correctly, so drop the
overrides.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Thu, 21 May 2015 06:07:45 +0000 (09:07 +0300)]
iproute2: disable xtables on static build
iproute2 always builds m_xt.so as a shared library.
Fixes:
http://autobuild.buildroot.net/results/f42/
f42bbbf5be4594a8806d0e571586ce2bf119582d/
http://autobuild.buildroot.net/results/3b3/
3b37871bdf5766677fc20dca22c13177091d104f/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Thu, 21 May 2015 10:57:54 +0000 (12:57 +0200)]
package/protobuf: Update site url
Package moved to github:
https://developers.google.com/protocol-buffers/docs/downloads
"Our old Google Code repositiory is: https://code.google.com/p/protobuf/.
We moved to github on Aug 26, 2014 [...]"
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls [Thu, 21 May 2015 08:47:23 +0000 (10:47 +0200)]
package/qemu: Compare host/target Linux version only during build phase
This patch fixes an error during source-check.
Thanks to Thomas for the hint:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/116183
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Thu, 21 May 2015 17:19:08 +0000 (19:19 +0200)]
package/apr: Add libuuid as optional dependency
libuuid is picked up by apr when present:
Checking for OS UUID Support...
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_generate... -luuid
checking for uuid_generate... yes
checking for os uuid usability... yes
$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/libapr-1.so | grep libuuid
0x00000001 (NEEDED) Shared library: [libuuid.so.1]
[Thomas: move the added chunk a bit further down, and use += instead
of =.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Thu, 21 May 2015 06:07:27 +0000 (08:07 +0200)]
package/leafnode2: Update upstream URL
Upstream URL has changed:
http://article.gmane.org/gmane.network.leafnode/4773
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 20 May 2015 21:58:32 +0000 (23:58 +0200)]
package/sqlite: fix parallel build failures
Fixes:
http://autobuild.buildroot.org/results/aed/
aed3690689b60844e3278626da3c3eb75f2a2586/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Thu, 21 May 2015 09:49:33 +0000 (11:49 +0200)]
package/snmppp: Update site url
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:26 +0000 (06:21 +0200)]
package/unionfs: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:25 +0000 (06:21 +0200)]
package/usbredir: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:24 +0000 (06:21 +0200)]
package/ushare: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:23 +0000 (06:21 +0200)]
package/ux500-firmware: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:22 +0000 (06:21 +0200)]
package/vpnc: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:21 +0000 (06:21 +0200)]
package/wsapi: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Wed, 20 May 2015 04:21:20 +0000 (06:21 +0200)]
package/wavpack: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Wed, 20 May 2015 16:00:30 +0000 (19:00 +0300)]
qt5base: remove never set QT5BASE_CONFIGURE_ENV
Since
1b54fbc925f4 (qt5base: fix postgresql plugin compile, 2015-02-19)
QT5BASE_CONFIGURE_ENV is never set. Remove it.
Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Max Filippov [Wed, 20 May 2015 20:00:37 +0000 (23:00 +0300)]
gcc: fix PR 65730 (ICE on xtensa cores w/o hardware multiplication)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Tue, 19 May 2015 11:09:57 +0000 (13:09 +0200)]
package/libsigrok: blacklist CS powerpc toolchains
Even though BR2_PACKAGE_LIBSIGROKCXX is selected, the C++
binding is disabled due to lack of C++11 support in the toolchain.
Configure output:
Enabled language bindings:
- C++............................. no (C++11 compiler required)
So disable libsigrok C++ binding and pulseview for CS powerpc toolchains.
Fixes:
http://autobuild.buildroot.net/results/737/
737453011ac0d13ab197258171ffa0f81bc4c368/
[Thomas: use 'depends on !foo && !bar' instead of 'depends on !(foo ||
bar)', seems it looks more logical in this situation.]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Samuel Martin [Tue, 19 May 2015 22:35:33 +0000 (00:35 +0200)]
package/freerdp: fix build with gstreamer support
FreeRDP with gstreamer support enabled needs gstreamer and gst-plugins-base
with gstapp.
Fixes:
http://autobuild.buildroot.net/results/937/
9373d4238bc3f027e571581bd3531018c4faed91/
http://autobuild.buildroot.org/results/f77/
f77a2c9eea7973b54a22e12ab33ee8964adaddfd/
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Floris Bos [Mon, 18 May 2015 19:52:03 +0000 (21:52 +0200)]
php: bump version to 5.6.9
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Floris Bos [Mon, 18 May 2015 19:52:02 +0000 (21:52 +0200)]
php: add PHP_VERSION_MAJOR variable
Add PHP_VERSION_MAJOR variable to php.mk for use by other packages.
E.g. to install the Ioncube loader binary, it is necessary to
know the PHP major version.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Tue, 19 May 2015 20:05:31 +0000 (22:05 +0200)]
linux: bump default to version 4.0.4
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Tue, 19 May 2015 20:04:27 +0000 (22:04 +0200)]
linux-headers: bump 3.10.x / 3.14.x / 4.0.x stable versions
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Floris Bos [Mon, 18 May 2015 19:52:04 +0000 (21:52 +0200)]
php: fpm: remove sample status page
php-fpm installs a sample status page to $datadir/fpm/status.html
It is not of any use in that directory, so remove it from target.
If someone wants to use it, he can copy it to webroot manually.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Floris Bos [Mon, 18 May 2015 19:52:01 +0000 (21:52 +0200)]
php: enable opcache extension in php.ini if selected
Add a line to load the opcache extension in php.ini, at the
bottom of the "dynamic extensions" section.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Floris Bos [Mon, 18 May 2015 19:52:00 +0000 (21:52 +0200)]
php: patch acinclude.m4 instead of aclocal.m4
aclocal.m4 gets regenerated from acinclude.m4, so patch the last.
Fixes "Extensions are not supported on this platform" error when
loading any external (zend) extension in php.ini.
Was caused by 0001-ditch-unset.patch not being applied to the
correct file, and our ac_cv_func_dlopen=yes env setting being unset.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Floris Bos [Mon, 18 May 2015 19:51:59 +0000 (21:51 +0200)]
php: delete /usr/lib/php/build instead of /usr/lib/php
Fixes #8121
External PHP modules like the OPcache may live in
/usr/lib/php/extensions, so only delete /usr/lib/php/build
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Max Filippov [Tue, 19 May 2015 18:29:00 +0000 (21:29 +0300)]
jasper: Disable debugging when building for xtensa
xtensa gcc is not able to generate correct code when compiling with -O0
enabled by --enable-debug. Instead of disabling package build it with
--disable-debug.
Fixes:
http://autobuild.buildroot.net/results/
5d17055027055ffd33fcd28b208130afb26343c9/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Max Filippov [Tue, 19 May 2015 18:28:59 +0000 (21:28 +0300)]
jasper: Don't overwrite CFLAGS when configured with --enable-debug
This drops architecture-specific ABI flags, which may be important.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Baruch Siach [Tue, 19 May 2015 09:13:17 +0000 (12:13 +0300)]
ntp: install after busybox
Make sure that ntp installs after busybox so that it overrides the busybox
provided ntpd applet.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
florent valette [Sun, 17 May 2015 08:52:04 +0000 (10:52 +0200)]
hwloc: fix condition to display comment message in menuconfig
The comment message shows up if the toolchain has threads instead
of not having threads.
Signed-off-by: Florent Valette <florent.valette@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Mon, 18 May 2015 20:39:16 +0000 (22:39 +0200)]
gpsd: requires shared library support
gpsd always tries to build a shared library, so make it 'depends on
!BR2_STATIC_LIBS'. We also propagate this to the only gpsd reverse
dependency, the location support of sconeserver. While we're at it, we
add a comment indicating the dependencies of this location support,
which was missing.
Fixes:
http://autobuild.buildroot.org/results/f52/
f5261a0933f9b5449d1f4e5cab1bb02e7154e683/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Porcedda [Mon, 18 May 2015 09:15:52 +0000 (11:15 +0200)]
package/wireless_tools: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Porcedda [Mon, 18 May 2015 09:15:51 +0000 (11:15 +0200)]
package/libxml-parser-perl: add hash file
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gergely Imreh [Mon, 18 May 2015 06:27:54 +0000 (06:27 +0000)]
wvstreams: not available for static only builds
Also propagated to wvdial as it selects wvstreams.
Fixes:
http://autobuild.buildroot.org/results/0cd/
0cd5e0263b42e6845504d97688632e16206bd000/
http://autobuild.buildroot.org/results/4e0/
4e0ab461ea7ed7a288303741eec89156abd49864/
Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sun, 17 May 2015 19:15:28 +0000 (21:15 +0200)]
libuv: not available for static only builds
Fixes:
http://autobuild.buildroot.net/results/031/
031c2c005f4946af5012be7432b55d11ca891d60/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Sun, 17 May 2015 16:40:46 +0000 (18:40 +0200)]
package/enlightenment: disable ptrace with xtensa and uClibc-ng
uCLibc-ng needs to backport the uClibc commit
de6561f6669308e5d2297589b39a217d4c14df1c to add
PT_GETSIGINFO definition.
This commit is already merged in uClibc-snapshot used by
Buildroot's toolchains for xtensa.
For now, disable ptrace with xtensa uClibc-ng toolchains.
Thanks to Gergely Imreh for the initial investigation and
patch:
http://patchwork.ozlabs.org/patch/470073/
Fixes:
http://autobuild.buildroot.net/results/77b/
77b82e5b437d0778b3f6a3813f2c0a5c39b52db9
Reported-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sun, 17 May 2015 14:15:40 +0000 (16:15 +0200)]
lirc-tools: fix static library build caused by 'loglevel' redefinition
This commit adds a patch to lirc-tools to fix static library builds
caused by the redefinition of the loglevel variable.
Fixes:
http://autobuild.buildroot.org/results/2ac/
2ac6a4f946d48cacff85d44d662e1c103f7443f8/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sun, 17 May 2015 14:15:39 +0000 (16:15 +0200)]
duma: not available for static only builds
Fixes:
http://autobuild.buildroot.net/results/
ccfc79586516a6ebb05badfad258aad0b6b9d2a2/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sun, 17 May 2015 14:15:38 +0000 (16:15 +0200)]
qt: do not allow webkit with SuperH Sourcery toolchain
Building webkit with the SuperH Sourcery toolchain fails with an
assertion in binutils, so let's not allow to select webkit with this
toolchain. We do not need to worry about reverse dependencies, since
we use the existing BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT symbol to add
this new dependency.
Fixes:
http://autobuild.buildroot.net/results/
508cdeb67f272b61209f331ab7b990cb56f30817/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Samuel Martin [Sun, 17 May 2015 13:03:14 +0000 (15:03 +0200)]
package/opencv: fix opencv.pc generation
This change fixes build of packages depending on opencv and using
pkg-config to get the opencv LDFLAGS, which were wrongly ordered for
static build and included absolute path pointing to the host system
libraries instead of the sysroot ones.
This patch fixes build issues with gst1-plugins-bad and vlc.
This change introduce and new patch to opencv, which is already merged
upstream [1].
Fixes:
http://autobuild.buildroot.net/results/c70/
c70f793c7c3b380428d6e2e622a90805cffc4dd1/
... and many others
[1] https://github.com/Itseez/opencv/commit/
eceada586bbf18fc267e437522ec4f1f23ddc656
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sun, 17 May 2015 12:02:05 +0000 (14:02 +0200)]
ipmiutil: openssl support needs shared library
Fixes:
http://autobuild.buildroot.net/results/0d4/
0d4e0ea8fdb233ea8e86f86b6fa406311a0279e2/
http://autobuild.buildroot.net/results/907/
907ae0feb9ad2e4a0da4b38290a2b617cb4360a0/
The ipmiutil buildsystem doesn't take dependencies of libcrypto (E.G. zlib)
into consideration, causing link issues when linking statically.
The build system doesn't handle LIBS, so there is no simple way to fix this
outside patching the buildsystem. As we are very close to the release, lets
just mark it as !static for now.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sun, 17 May 2015 11:42:34 +0000 (13:42 +0200)]
ipmiutil: openssl is an optional dependency
So handle it as such (it is only needed for the lanplus functionality).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sun, 17 May 2015 07:18:23 +0000 (09:18 +0200)]
pulseaudio: needs dynamic library support
Fixes:
http://autobuild.buildroot.net/results/75a/
75a3380fdcce88f1f9f2a77c4f059787623919d7/
http://autobuild.buildroot.net/results/f4a/
f4a22344bd5c8f59e6f8cacb6a549f8d8fe99af2/
Pulseaudio uses dlfcn.h, so it cannot work in a pure static environment.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gwenhael Goavec-Merou [Tue, 5 May 2015 14:33:54 +0000 (16:33 +0200)]
qt: fix webkit dependencies
fix:
http://autobuild.buildroot.net/results/ce8/
ce89ad1ca6aec9f7bb5549301bf4c0dcba9e0e37/
qtwebkit includes qscript headers.
For packages like python-pyqt if webkit is available but not qscript, the
compilation fails with :
buildroot/output/build/python-pyqt-4.11.3/sip/QtWebKit/qwebframe.sip:79:0:
../../../host/usr/i686-buildroot-linux-gnu/sysroot/usr/include/QtWebKit/qwebframe.h:28:36:
fatal error: QtScript/qscriptengine.h: No such file or directory
This problem is not seen with Qt compilation because some relative include
directly from sources are added.
[Peter: also adjust comment]
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gwenhael Goavec-Merou [Tue, 5 May 2015 14:33:53 +0000 (16:33 +0200)]
python-pyqt: fix install
PyQt4 provides two version for some py files: one for python2.x and one for
python3.x. This two versions are installed in TARGET_DIR.
After installing files, python is used to generate all .pyc files, but fails
like :
class ProxyBase(metaclass=ProxyMetaclass):
^
SyntaxError: invalid syntax
This is not a package build failure and this fix is only cosmetic.
This patch suppress directory for not targeted python version.
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Sat, 16 May 2015 21:22:22 +0000 (23:22 +0200)]
package/heirloom-mailx: fix link issue with getopt
With NIOS2 toolchain, heirloom-mailx fail to build
due to missing -fPIC when linking with its own getopt.
Since static build for heirloom-mailx is disabled,
always pass -fPIC in CFLAGS.
Fixes:
http://autobuild.buildroot.net/results/333/
33346f4555ed403bab7b739dd5d47814efa8eb4c
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN [Sat, 16 May 2015 17:31:35 +0000 (19:31 +0200)]
package/mono: fix install with parallel builds
Due to a race in the 'install' utility, installing the same file twice
in parallel often results in one of the install calls to fail.
Ensure proper ordering of conflicting rules.
Fixes:
http://autobuild.buildroot.org/results/c32/
c3288c5d1fb94474f14a4a889e76135878d403bc/
http://autobuild.buildroot.org/results/f70/
f708e89f613ec0b42cdf49ccbef39b02f4a271fb/
http://autobuild.buildroot.org/results/3cb/
3cb99e5c5672cbaa2a86020129a05dfde47cdb8f/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 16 May 2015 13:49:21 +0000 (15:49 +0200)]
lua-periphery: depend on c-periphery instead of cloning it
lua-periphery currently clones and builds the c-periphery library by
itself. This causes two problems:
1/ It does not integrate properly with the download infrastructure of
Buildroot, making offline builds impossible since not the entire
source code is downloaded by Buildroot.
2/ It does not use the latest version of c-periphery, which has some
fixes contributed by Vicente to fix c-periphery on MIPS.
This commit fixes:
http://autobuild.buildroot.org/results/0ad/
0ad656970b3cbc84b5531b28155ba2f747715fe3/
[Peter: fix minor typo in patch 0001 description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 16 May 2015 13:49:20 +0000 (15:49 +0200)]
c-periphery: new package
This package is needed as a dependency of lua-periphery. Currently,
c-periphery is automatically cloned by lua-periphery, which causes two
problems:
1/ It does not integrate properly with the download infrastructure of
Buildroot, making offline builds impossible since not the entire
source code is downloaded by Buildroot.
2/ It does not use the latest version of c-periphery, which has some
fixes contributed by Vicente to fix c-periphery on MIPS.
Introducing this package is needed as part of the fix for the
following build failure:
http://autobuild.buildroot.org/results/0ad/
0ad656970b3cbc84b5531b28155ba2f747715fe3/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sat, 16 May 2015 20:57:37 +0000 (22:57 +0200)]
neardal: fix readline/libedit detection with static linking
Fixes:
http://autobuild.buildroot.net/results/c3e/
c3ea67d9b341749b9591451da3f3b0cb4a9fbb74/
http://autobuild.buildroot.net/results/586/
586fa95149aa37df7ef430e3a47a3418e6f7ed97/
http://autobuild.buildroot.net/results/3ea/
3eabd3a2cea0d5863b1c0dd8f55c73f34a684f79/
Both readline and libedit link with ncurses but the configure script forgets
to take that into account, causing the detection to fail when linking
statically.
Fix it by using pkg-config to add the needed linker options for ncurses.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 16 May 2015 15:39:46 +0000 (17:39 +0200)]
xmlstarlet: fix static linking
Make sure we take into account libgpg-error when linking against
libgcrypt, by adding a patch against xmlstarlet configure.ac. The
handling of static libraries is clearly horrible in this configure.ac
script, using pkg-config would be a lot better, but it's also a lot
more work.
Fixes:
http://autobuild.buildroot.org/results/931/
931dede013d94f88fcb5185dac494775603063ec/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 16 May 2015 16:37:05 +0000 (18:37 +0200)]
uboot-tools: fix dynamic linking against OpenSSL
Commit
95f9a5c3df8e4226b99438efccf0bf21eecb573d fixed the static
linking issue of uboot-tools mkimage against OpenSSL, but in the
process broke the dynamic linking case. This commit adjusts the
uboot-tools patch to make sure both static and dynamic linking work.
An updated version of the patch has been submitted upstream.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 16 May 2015 16:26:44 +0000 (18:26 +0200)]
tinyxml2: fix line-endings of patches
This commit fixes the line endings of the tinyxml2 patches added in
commits
22f5be171c6f9bb2611e7b87197e9faeabcaab18 and
0fa452df185545d3781b3015195bee9431496b5d. Thanks to Romain Naour for
providing the correct version of the patches.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Max Filippov [Thu, 14 May 2015 04:39:00 +0000 (07:39 +0300)]
Revert "kmod: disable --gc-sections ld option when building for xtensa"
This reverts commit
55c83179c4b30c9ec715a75297849abd74a63e05.
Now that binutils bug with --gc-section is fixed this workaroud is no
longer needed.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Max Filippov [Thu, 14 May 2015 04:38:59 +0000 (07:38 +0300)]
binutils: fix xtensa ld bug triggered by --gc-sections
elf_xtensa_gc_sweep_hook doesn't correctly unreference symbols that were
made local, that results in link failure with the following message:
BFD (GNU Binutils) 2.24 internal error, aborting at elf32-xtensa.c line
3372 in elf_xtensa_finish_dynamic_sections
elf_xtensa_gc_sweep_hook determines symbol reference type (PLT or GOT) by
relocation type. Relocation types are not changed when symbol becomes
local, but its PLT references are added to GOT references and
plt.refcount is set to 0. Such symbol cannot be unreferences in the
elf_xtensa_gc_sweep_hook and its extra references make calculated GOT
relocations section size not match number of GOT relocations.
Fix it by treating PLT reference as GOT reference when plt.refcount is
not positive.
Fixes:
http://autobuild.buildroot.net/results/
3e2e24f697e26c93d4d95782b1cb7799fa620a7a/
http://autobuild.buildroot.org/results/
97d4c96d6f6cdc1ed4007456f4ab70be9dfa41b5/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 16 May 2015 14:12:44 +0000 (16:12 +0200)]
postgresql: mark as not available for static linking
postgresql currently does not build in BR2_STATIC_LIBS=y
configurations, and since there is little interest in using such a big
piece of software in statically linked configuration, this commit
makes postgresql depends on !BR2_STATIC_LIBS.
Fixes:
http://autobuild.buildroot.net/results/
f9ed96d22e91cdba9ad92c4d4ea52e422bf1f1c9/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 16 May 2015 13:36:50 +0000 (15:36 +0200)]
libmatroska: add host-pkgconf dependency
libmatroska configure.ac uses PKG_CHECK_MODULES(), so this package
needs to depend on host-pkgconf.
Fixes:
http://autobuild.buildroot.org/results/80a/
80a9f0f5594ab833600ea8514dc184e50d2bf08c/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Sat, 16 May 2015 12:54:26 +0000 (14:54 +0200)]
acl, attr: fix libdir variable in .la files
The acl and attr packages are using autoconf and libtool, but not
automake, which causes all sort of troubles. Some of them are already
worked around in acl.mk and attr.mk, but there is another one: the
libdir variable in the .la file remains empty, which causes libtool to
sometimes be confused about where the acl and attr libraries are
installed.
This was causing build issues with libarchive, but interestingly only
in situations where we had zlib *and* libxml2 also part of the build,
which maybe affects how libtool in libarchive behaves since libarchive
can use zlib and libxml2 as optional dependencies.
So what this patch does is to mungle the libattr.la and libacl.la
files to make sure they contain the right libdir values. Yocto is
doing exactly the same thing.
Upstream attr and acl have been converted fully to automake, so
hopefully the upcoming upstream release will allow us to get rid of
those hacks, but in the mean time, it seems to be the most appropriate
solution.
Here is a minimal defconfig that exhibits the problem, and which
allows to show that this patch fixes it:
BR2_bfin=y
BR2_BINFMT_FLAT=y
BR2_COMPILER_PARANOID_UNSAFE_PATH=y
BR2_INIT_NONE=y
BR2_PACKAGE_LIBARCHIVE=y
BR2_PACKAGE_LIBARCHIVE_BSDCPIO=y
BR2_PACKAGE_ZLIB=y
BR2_PACKAGE_LIBXML2=y
BR2_PACKAGE_ACL=y
Fixes:
http://autobuild.buildroot.org/results/e96/
e96c8bec1039d9fe8c6c51fd48b6be0dc8be51d7/
(and many, many similar build failures)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Fri, 15 May 2015 23:06:28 +0000 (01:06 +0200)]
package/ipmiutil: really force md2 off
If ALLOW_GNU is not defined, SKIP_MD2 is a nop.
Fixes:
http://autobuild.buildroot.net/results/
f606ec1fff4cea257a4c6274bc5603efdfc439ad/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Fri, 15 May 2015 18:23:53 +0000 (20:23 +0200)]
qt5base: add patch to fix gold linker issue
The newly added patch makes sure that gold linker functionality is not
used when doing host builds, since qt5 only tests the availability of
this feature with the target compiler.
Fixes:
http://autobuild.buildroot.net/results/
f403a76ac0abbf8488373c0dffb4487f5d98c55d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>