Viallard Anthony [Thu, 13 Aug 2015 12:36:01 +0000 (14:36 +0200)]
msmtp: don't try to use IDN feature
autoconf can't detect if AI_IDN is really supported
(http://sourceforge.net/p/msmtp/code/ci/
907916e8089ea9303a7c091b763087530c88a063/),
so a --disable-gai-idn flag was added to explicitly disable the usage
of IDN.
Before this patch, msmtp failed to send mail with the following
output:
msmtp: cannot locate host smtp.mandrillapp.com: Bad value for ai_flags
[Thomas: tweak commit log.]
Signed-off-by: Anthony Viallard <viallard@syscom-instruments.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Thu, 13 Aug 2015 11:04:55 +0000 (08:04 -0300)]
wireshark: security bump to version 1.12.7
Fixes:
wnpa-sec-2015-21 - Protocol tree crash.
wnpa-sec-2015-22 - Memory manager crash.
wnpa-sec-2015-23 - Dissector table crash.
wnpa-sec-2015-24 - ZigBee crash.
wnpa-sec-2015-25 - GSM RLC/MAC inifite loop.
wnpa-sec-2015-26 - WaveAgent crash.
wnpa-sec-2015-27 - OpenFlow infinite loop.
wnpa-sec-2015-28 - Ptvcursor crash.
wnpa-sec-2015-29 - WCCP crash.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 11 Aug 2015 20:45:32 +0000 (22:45 +0200)]
package/mosh: fix dependencies
mosh selects protobuf, so it needs to propagate *all* its dependencies.
Fixes:
http://autobuild.buildroot.org/results/1e7/
1e7d28018252fa48ee1ccd68d0a21afb3e0f072f/
http://autobuild.buildroot.org/results/a91/
a91ea29454a6f8eefc0bf4f0eb137dd8e061f028/
http://autobuild.buildroot.org/results/ecb/
ecb67c1d1b04a79ad9fbe4a09121ec492fe1501c/
[...]
[Thomas: add missing C++ comment.]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Wed, 12 Aug 2015 13:06:49 +0000 (10:06 -0300)]
gnutls: security bump to version 3.3.17.1
Fixes GNUTLS-SA-2015-3 - Double free in certificate DN decoding.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Thu, 13 Aug 2015 12:13:23 +0000 (14:13 +0200)]
toolchain/external: ensure gcc version is known
Currently, when a preconfigured prebuilt toolchain forgets to specify
its gcc version, the error message is a bit misleading, like:
Incorrect selection of gcc version: expected .x, got 4.9.2
Add a an explicit check for the gcc version being set, that reports a
better error message.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Thu, 13 Aug 2015 13:48:21 +0000 (15:48 +0200)]
package/systat: fix linking with -lintl
When linking, libraries should be listed in the reverse-dependency order,
that is the library/ies with no dependency last, preceded by libraries
that depend on them.
And most importantly, libraries should be listed *after* the local
objects, .o files.
Currently, sysstat uses CFLAGS to shoehorn the -lintl linker flags,
which is incorrect, as the CFLAGS are passed before the object files.
However, sysstat has a LFLAGS variable that, presumably, is to be used
to pass linker flags. This is where we want to shoehorn -lintl.
Fixes:
http://autobuild.buildroot.org/results/8cc/
8cc547074de23b9482ad110234ef7458a44e174a/
http://autobuild.buildroot.org/results/360/
360f7b8252dc9f6bb47841b1d7207a121f90048c/
http://autobuild.buildroot.org/results/04c/
04cfc76a09e089985549a4320f34f6669d21cab5/
http://autobuild.buildroot.org/results/818/
818c08decf4a6190a9ed39915eae4cd3d2779880/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Tue, 11 Aug 2015 05:38:54 +0000 (08:38 +0300)]
lightning: requires share library support
Uses -ldl unconditionally.
Fixes:
http://autobuild.buildroot.net/results/55d/
55d30db7212863d9f898bb929f0c75d529036bad/
http://autobuild.buildroot.net/results/6c3/
6c37a1cd353b7cac854cc85d29a8232233414c68/
http://autobuild.buildroot.net/results/459/
459ab12bc3eeb493f39efa2450bc829a351ee3a3/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Thu, 13 Aug 2015 19:55:31 +0000 (21:55 +0200)]
package/nbd: fix static builds
Fixes:
http://autobuild.buildroot.org/results/aa8/
aa8a1ac35a93e1c8b9fddbc2b5d66ecaa921f31e/ (arm)
http://autobuild.buildroot.org/results/e5b/
e5bd05623dd6c57bb0338592ecd21a5ba0cbe95a/ (arc)
http://autobuild.buildroot.org/results/e0f/
e0fd23eec2dd31bece122d84515b2b7cb14594b8/ (ppc)
http://autobuild.buildroot.org/results/3a2/
3a2d4124f78d4e504e8e961fabe038e570923408/ (mips)
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 16 Aug 2015 14:53:11 +0000 (16:53 +0200)]
package/bwm-ng: fix build failures with gcc-5
Bumping to the latest release, for 0.6 -> 0.6.1 to fix gcc-5 build
failures due to incorrect definitions of 'static' functions.
The project also has a new home.
Fixes:
http://autobuild.buildroot.org/results/546/
546b332cf95a48412d88add2feec2ffd4712857c/
http://autobuild.buildroot.org/results/751/
751797f3b97839f69626682ce81dca9bcb2cff22/
...
[Thomas: keep only the locally calculated sha256 hash, and do not
mention the commented SF.net hash, since SF.net is no longer the
official upstream location.]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Thu, 13 Aug 2015 20:16:38 +0000 (22:16 +0200)]
package/libpfm4: disable Werror
Set `DBG` to an empty value to disable -Werror when building libpfm4. Build
aborts with a musl toolchain because of warnings about redirecting incorrect
header includes.
So -Werror shouldn't be used in released code since it can cause random build
failures on moderate warnings. It also depends on the used toolchain since
different toolchains may or may not print the same warnings.
Fixes:
http://autobuild.buildroot.net/results/6df/
6df9b94a79be1dc5ba878f7b67bf9ad4ce2f2e98/
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Thu, 13 Aug 2015 21:57:45 +0000 (23:57 +0200)]
package/audit: not available for musl
audit uses strndupa() which is missing from musl.
Even though the implementation of strndupa is not too complex, we won't
go as far as duplicating it in audit, and we just disable audit for the
musl C library.
Fixes;
http://autobuild.buildroot.org/results/e22/
e22a70f9ff14bc52f642a6135da44c14e41b6cbb/
http://autobuild.buildroot.org/results/233/
2333c9b3d8f81b15602263b918d422e440f09d60/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Sat, 15 Aug 2015 16:07:21 +0000 (18:07 +0200)]
package/cifs-utils: add upstream patch to fix musl build
Fixes build error with the musl C library:
```
error: '_PATH_MOUNTED' undeclared (first use in this function)
```
Fixes:
http://autobuild.buildroot.net/results/44e/
44e800d9933160c48b9c2447d63eeb37a0065d03/
http://autobuild.buildroot.net/results/b9f/
b9f918bba4952566e3818fb99f45a7e425acf727/
http://autobuild.buildroot.net/results/8de/
8dec8c46ad1959066101efe7cc1781f3d4732028/
http://autobuild.buildroot.net/results/cc3/
cc38e7581b4bba362a9be388099b0ea237f4e580/
and many more.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sat, 15 Aug 2015 12:46:42 +0000 (14:46 +0200)]
package/beecrypt: fix C++ support
C++ support unconditionally needs shared libraries; it uses
dlopen/dlsym.
Also, fix the conditions under which the comment is shown.
Finally, explicitly require C++ support when configuring.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alex Suykov [Sat, 15 Aug 2015 16:15:06 +0000 (19:15 +0300)]
clapack: fix build with musl
Fixes
http://autobuild.buildroot.net/results/
a94f097193cd5444dee5cd9df9d544ce736a7e7e/
http://autobuild.buildroot.net/results/
036014e492f7caf793b92a9822ab6a0b1a54f2e8/
Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 16 Aug 2015 14:38:47 +0000 (16:38 +0200)]
package/libnetfilter_queue: fix build with musl
Backport a patch from upstream.
Fixes:
http://autobuild.buildroot.org/results/59b/
59bd31c10a0d445d2ea56550a36920ecb2ef89ed/
http://autobuild.buildroot.org/results/60a/
60ab98b4cf909b04a57207b2326e9f8080d1721b/
http://autobuild.buildroot.org/results/7db/
7db3a5c2bebabfdc26947f45382893bb14656617/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 16 Aug 2015 21:46:38 +0000 (23:46 +0200)]
package/oprofile: fix static linking
When getext is enabled, popt links with -lintl, specifies it in its
popt.pc and has done so for the past 6+ years. But oprofile does not
use pkconfig to find popt, so misses -lintl, which is important for
a static build. We have to do the call to pkgconfig manually...
Fixes:
http://autobuild.buildroot.org/results/a48/
a485f2171a3fcbfa2e0e5aec8e653cf88512615d/
http://autobuild.buildroot.org/results/b37/
b374874f1915ab1d7aa6262604ccc8db102bb0b0/
http://autobuild.buildroot.org/results/261/
2616a63081ed8c55c7ca1a6879b1a6a14e19f918/
http://autobuild.buildroot.org/results/73f/
73f34ab59d54ded68ff60608a0212a6e5a5190e5/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 16 Aug 2015 14:09:41 +0000 (16:09 +0200)]
package/dosfstools: fix build with musl
Use correct and standard int types.
Fixes:
http://autobuild.buildroot.org/results/a09/
a0923d7f6d4dbae02eba4c5024bbdae3a52aa85a/
http://autobuild.buildroot.org/results/62b/
62b1a71c4fedb6f9209663e7544d7a36fb42c580/
http://autobuild.buildroot.org/results/e80/
e808e692220ced315d30d8ee9c93bdf4a5e32a03/
http://autobuild.buildroot.org/results/7b7/
7b778b7a9ec8c91ec3cea6ee81c6f5c75f0b959a/
[Thomas: update upstream status.]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Noé Rubinstein [Mon, 17 Aug 2015 07:10:44 +0000 (09:10 +0200)]
pkg-kernel-module: die if kernel module support is disabled
Test the configuration of the kernel to see if loadable module support
is enabled, and error out otherwise. This makes build failures of
external kernel modules less confusing.
[Thomas: tweak the commit log.]
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Sun, 16 Aug 2015 08:29:38 +0000 (11:29 +0300)]
libv4l: update homepage link
The official wiki page is more informative and up to date.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 31 Jul 2015 08:23:20 +0000 (10:23 +0200)]
fs/common: add <fs>_POST_GEN_HOOKS support
The common filesystem infrastructure already supports a
<fs>_PRE_GEN_HOOKS variable, which allows filesystem makefiles to
register some actions to be done before the root filesystem image is
generated.
This commit adds a similiar <fs>_POST_GEN_HOOKS variable, which will
allow filesystem makefiles to do some actions after the filesystem
image has been generated. It will initially be used by the iso9660
filesystem to delete the temporary directory it creates.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Sun, 9 Aug 2015 18:13:36 +0000 (20:13 +0200)]
postgresql: fix sparc compile issue
Fixes autobuilder compile error:
http://autobuild.buildroot.net/results/
f374d3535cf91f139ce80703cd2d0a2be5d3b2b1/
The predefines are wrong:
./output/host/usr/bin/sparc-buildroot-linux-uclibc-gcc -dM -E - </dev/null|grep sparc
#define sparc 1
#define __sparc__ 1
#define __sparc 1
#define __sparc_v8__ 1
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sun, 9 Aug 2015 10:05:50 +0000 (12:05 +0200)]
package/util-linux: fix vipw build with musl
__P() is used for compatibility with old K&R C compilers. With
ANSI C this macro has no effect.
This fixes a compilation error with musl libc because of undeclared
__P.
Fixes:
http://autobuild.buildroot.net/results/237/
2377ae85bb9d85ba4c02706207f0b3bde3ccd027
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 9 Aug 2015 12:01:21 +0000 (14:01 +0200)]
package/php: security bump to version 5.6.12
http://www.php.net/ChangeLog-5.php#5.6.12
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alexey Brodkin [Mon, 10 Aug 2015 13:36:36 +0000 (16:36 +0300)]
tinc: disable PIE on ARC
Even though ARC gcc understands "-pie" option and attempts to generate
PIE binaries as of today PIE is not really supported for user-space
applications.
So we disable PIE detection if building for ARC.
That fixes http://autobuild.buildroot.net/results/2b1/
2b1aa474fc432f3f79b03c4577d68642bb7e0f9c
and also prevents execution of non-supported PIE binary in runtime.
[Thomas: fix indentation.]
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 9 Aug 2015 20:09:00 +0000 (22:09 +0200)]
package/mesa3d: needs dynamic library
Fixes
http://autobuild.buildroot.net/results/5ee/
5eef099e82e7a65d9b459d88fcb82b468ccf8fed/
http://autobuild.buildroot.net/results/e5c/
e5c0e693505798ec366328ed87de3460cd07894d/
http://autobuild.buildroot.net/results/c6b/
c6b6a21f73fc84f4784dd00de504ef0eea3bdaf1/
http://autobuild.buildroot.net/results/abd/
abd3e2850ee457fc456de3f1641b92405d995e16/
http://autobuild.buildroot.net/results/2c4/
2c40fe209e6006fdf148e547b1fafe9180afc85d/
[Thomas: remove propagation of the dynamic library dependency to
glmark2 and mesa3d-demos, since none of them select mesa3d.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alexey Brodkin [Mon, 10 Aug 2015 11:24:50 +0000 (14:24 +0300)]
libsodium: disable PIE on ARC
Even though ARC gcc understands "-pie" option and attempts to generate
PIE binaries as of today PIE is not really supported for user-space
applications.
So we disable PIE detection if building for ARC.
That fixes http://autobuild.buildroot.net/results/be4/
be46b621ce5443788b0a1bc9fab614c4ca5d0859
and also prevents execution of non-supported PIE binary in runtime.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 9 Aug 2015 11:11:42 +0000 (13:11 +0200)]
toolchain/external: better check for gcc-5
gcc will always report a three-digit version sting, like 4.9.3 or 5.1.0.
For gcc before 5, we want to check the first two digits, while starting
with gcc 5, we are only concerned about the first digit.
So, change our matching code to test for the leading part of the version
string, up to the first dot after as-many version digit we're interested
in.
Note: we're adding the dot in the .mk code rather than in the Kconfig
symbol, because it seemed cleaner to do so.
Reported-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 9 Aug 2015 11:36:18 +0000 (13:36 +0200)]
package/sysdig: Fix typo in comment
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 8 Aug 2015 16:39:13 +0000 (18:39 +0200)]
package/powertop: add missing headers for musl
Reported upstream:
https://github.com/fenrus75/powertop/pull/20
Fixes:
http://autobuild.buildroot.net/results/713/
713df99bebd625434e029abdf360574de879afa3/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Sun, 9 Aug 2015 09:25:26 +0000 (11:25 +0200)]
haveged: for sparc we need generic clockgettime
This fixes autobuilder error:
http://autobuild.buildroot.net/results/
5b8bbc30f347140309ab2f81e1fe50f517356a3e/
As sparcv9 assembly is used, we need to enable generic clock_gettime
for sparcv8 systems.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 8 Aug 2015 10:57:02 +0000 (12:57 +0200)]
package/wvstreams: disable for musl toolchains
The project seems not maintained anymore since there
is no commit since 2011:
https://github.com/wlach/wvstreams
After fixing the first build issue by adding a missing limit.h header...
xplc/modulemgr.cc:90:14: error: ‘PATH_MAX’ was not declared in this scope
char fname[PATH_MAX];
and fixing a basename() conflict between the gnu and posix version,
the build fail due to missing __libc_stack_end.
wvtask.cc:(.test+0xb08): undefined reference to `__libc_stack_end'
There is a configure test for __libc_stack_end support but it
doesn't work properly with a musl toolchain.
Since we already have several fixes for uClibc, let's mark wvstreams
as not available for musl toolchains, until someone interested
enough fixes it.
[Thomas: replace uClibc-ng by just uClibc in the Config.in comments.]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sat, 8 Aug 2015 12:43:18 +0000 (14:43 +0200)]
package/x11r7/libepoxy: fix OpenGL / EGL dependencies
libepoxy depends on egl, opengl is an optional dependency
Fixes
http://autobuild.buildroot.net/results/f7e/
f7e6a42f53cb4ca523d2eeefde85c44770f6011e
http://autobuild.buildroot.net/results/025/
025a3d3b4d3dd4f496dcbf09f2dd279116250207
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sat, 8 Aug 2015 18:58:34 +0000 (20:58 +0200)]
package/elfutils: fix dependency on C library
As Thomas puts it:
The comment can only be visible when a toolchain that is *not*
uclibc and *not* glibc is used. I.e, the comment is now only visible
when musl is used. Which is not what we want.
Indeed, I completely borked the conditions. When a glibc or uClibc
toolchain is selected, the comment is entirely hidden, and we don;t get
the extra requirements (wchar, !static).
Fix that with the solution proposed by Thomas.
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 8 Aug 2015 21:10:05 +0000 (23:10 +0200)]
package/cdrkit: fix musl build
Define __THROW if not already defined by the C library.
Fixes:
http://autobuild.buildroot.net/results/d27/
d2781e70b04a207e2e9397d888032294c7285034/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 21:55:52 +0000 (23:55 +0200)]
libnfnetlink: add patch to fix musl build issue
Fixes:
http://autobuild.buildroot.net/results/
17aac78e49d016b1044be4e600033b85a3420c5b/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 21:47:23 +0000 (23:47 +0200)]
libev: add patch to fix build on SPARCv8
Due to a mistake in a compile time conditional, SPARCv9 code was being
compiled in libev on a SPARCv8 system. A newly added patch fixes this,
which fixes the following build failure:
http://autobuild.buildroot.net/results/
55d6190b60a08c9bc4d659cf009df52388db676a/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 20:59:06 +0000 (22:59 +0200)]
c-periphery: fix SPARC build issue
Some of the serial port highest speed are not defined on SPARC, so
c-periphery should not use them, so we add a patch to fix that.
Fixes:
http://autobuild.buildroot.net/results/
a5d34ef58d45be6fe0b6c8a71ed665d5dc29dfd9/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 20:44:44 +0000 (22:44 +0200)]
c-periphery: add patch to fix musl compatibility
Fixes:
http://autobuild.buildroot.net/results/
ebfc9a44a305ab45305f8b393761304576ae9077/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 16:08:22 +0000 (18:08 +0200)]
zyre: backport fix to build with recent versions of ZeroMQ
Since the recent bump of ZeroMQ, Zyre failed to build, due to the
const qualifier being dropped in a number of functions.
A backport from the upstream Github repository fixes the problem, and
therefore fixes the following build failure:
http://autobuild.buildroot.org/results/d24/
d24d7ccb878151bd81003763ba1a6bcd91d41dc9/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 15:50:55 +0000 (17:50 +0200)]
bcusdk: make it build with the musl C library
This commit makes bcusdk build with the musl C library by:
* Adding a dependency on argp-standalone
* Adding a patch to fix the incorrect usage of <sys/cdefs.h>
* Adding a patch to fix a missing header include for fd_set
Both patches have been submitted upstream,
https://sourceforge.net/p/bcusdk/patches/3/.
Fixes:
http://autobuild.buildroot.net/results/
46054f28d3fde173dd8f880fa8ac2784c8e1750f/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 15:31:13 +0000 (17:31 +0200)]
netatalk: needs dynamic library
Even though netatalk checks if dlfcn.h is available and has some code
that supposedly copes with non-dynamic library cases, it in fact does
not build. Since there is probably little interest in using netatalk
in pure statically linked environments, let's simply require dynamic
library support.
Fixes:
http://autobuild.buildroot.net/results/
79e55e64885d64392407e830560175c556953a20/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 15:16:19 +0000 (17:16 +0200)]
opencv: mark as not available on Xtensa
OpenCV currently does not build on Xtensa due to compiler/assembler
issues:
Error: operand 2 of 'l32r' has out of range value '
4294632228'
Until this gets fixed, let's disable OpenCV on Xtensa.
Temporarily works around:
http://autobuild.buildroot.net/results/0be/
0bed0779685d9ed83466a4d29a0281ca93043a2e/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 15:10:12 +0000 (17:10 +0200)]
dawgdic: enable with gcc 4.6
According to Nicolas Cavallari and confirmed by testing, std::strtoll
is indeed available in gcc 4.6, so the dawgdic package can be enabled
on gcc >= 4.6 instead of gcc >= 4.7.
Reported-by: Nicolas Cavallari <Nicolas.Cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 11:16:37 +0000 (13:16 +0200)]
gcc: add missing NIOS-II patch after bump to 4.9.3
When gcc 4.9.x was bumped from 4.9.2 to 4.9.3 in commit
2fed00ea1eaeca952f872120af79a46f39b0868c, patch
920-libgcc-remove-unistd-header.patch was removed with the argument
that it had been applied upstream.
However, it is not the case, and the patch continues to apply fine on
gcc 4.9.3, and is actually needed to make gcc build properly on
NIOS-II.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Thu, 9 Jul 2015 09:31:40 +0000 (11:31 +0200)]
empty: fix compile with toolchain w/o threads
As found via autobuilders and discussed on the list, the
ifdef is wrong, as empty uses SysV semaphores and not POSIX
semaphores.
Tested with glibc/uclibc-ng builds. And with uclibc-ng without
threads.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Thu, 6 Aug 2015 20:51:32 +0000 (22:51 +0200)]
package/filemq: bump version
Fixes:
http://autobuild.buildroot.org/results/e09/
e0907c5453dfb1df546c07869faf00ec51b49181/
http://autobuild.buildroot.org/results/5c5/
5c591c2fe4e3e1d5c23b54a8486de741fe0e329d/
http://autobuild.buildroot.org/results/89f/
89ffd2a03f295c810399680621440b08f7c7762f/
[...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Thu, 6 Aug 2015 20:51:31 +0000 (22:51 +0200)]
package/czmq: bump version
Drop the patch that no longer applies, and has instead been done
differently by upstream.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Fri, 7 Aug 2015 21:56:46 +0000 (23:56 +0200)]
package/qt5quickcontrols: fix licensing information
Since the bump to 5.5.0, the LGPv2.1-with-exception has been dropped,
with only the LGPLv3 or GPLv2 as alternatives.
Drop LGPLv2.1-with-exception.
Add GFDL (GNU Free Documentation License) as it is explicitly referenced
in the source tree.
Fixes:
http://autobuild.buildroot.org/results/0dc/
0dc96010cc81a34d2363eb4fe1a155db0e3769fd/
http://autobuild.buildroot.org/results/2b0/
2b0b4c170dfa0d95c10bf030e6f249b3305dd318/
[Thomas: add version to GFDL specification.]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 8 Aug 2015 10:12:58 +0000 (12:12 +0200)]
fan-ctrl: re-enable package
SourceForge is working again, and Peter has copied the file to
fan-ctrl.c on sources.buildroot.org so that it gets found if
SourceForge breaks again. Therefore this commit re-enables the
fan-ctrl package.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 8 Aug 2015 09:35:43 +0000 (11:35 +0200)]
package/dawgdic: needs gcc >= 4.7
std::strtoll is only supported since C++11.
Fixes:
http://autobuild.buildroot.net/results/cae/
cae3cda9be779ea8359f94d13bbbca97e68495ca/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 7 Aug 2015 22:47:18 +0000 (00:47 +0200)]
package/libgpgme: add argp-standalone dependency with musl
Since argp-standalone is only available for uClibc-ng
and musl toolchains, it's safe to link with it when
the package is selected.
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 7 Aug 2015 22:47:17 +0000 (00:47 +0200)]
package/cpio: remove useless comment
This comment is about host-cpio which hasn't
been added in Buildroot.
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 7 Aug 2015 22:47:16 +0000 (00:47 +0200)]
package/cpio: add argp-standalone dependency with musl
Since argp-standalone is only available for uClibc-ng
and musl toolchains, add the dependendy only if it's
selected.
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 7 Aug 2015 22:47:15 +0000 (00:47 +0200)]
package/libv4l: disable for musl toolchains
musl toolchains are not supported yet in libv4l but
it's a work in progress.
see:
http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=
70570c6095fa5859cecd0f9522fe7fd749f1d554
http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=
403a4e2697a1ff96fe2fa16589039595f21cadf0
But it's not enough.
Disable musl toolchains for libv4l 1.6.3 and wait for a new release.
[Thomas: update Config.in comment to take into account the uclibc or
glibc dependency.]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 7 Aug 2015 22:47:14 +0000 (00:47 +0200)]
package/libv4l: needs argp-standalone with musl toolchains
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 7 Aug 2015 22:47:13 +0000 (00:47 +0200)]
package/rng-tools: needs argp-standalone with musl toolchains
Since argp-standalone is only available for uClibc-ng
and musl toolchains, it's safe to link with it when
the package is selected.
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Fri, 7 Aug 2015 21:37:51 +0000 (23:37 +0200)]
package/elfutils: does not build with musl
elfutils uses so many GNUisms in so many places that patching them out
is a tedious task which would make us diverge so much from upstream that
it would become a nightmare to bump elfutils in the future.
Furthermore, elfutils needs argp, which is missing in musl, so it would
need argp-standalone too (as when using a uClibc toolchain).
Make elfutils depend on either glibc or uClibc. argp-standalone is
already required when using a uClibc toolchain, but since we do not
support musl, no need to add that to the condition.
Fixes (configure failures due to missing argp):
http://autobuild.buildroot.org/results/743/
7432ccd0d060a70bc35f0ac21ec92ae0071592ae/
http://autobuild.buildroot.org/results/cc9/
cc90bd9312f30f91daa50af4253629f58b82c486/
http://autobuild.buildroot.org/results/d5e/
d5e583c695afbc2e686e3002765ce9e1937aa0d5/
[...]
Fixes (build failures due to GNUisms):
http://autobuild.buildroot.org/results/ee7/
ee7eaf80247dd96548d66be9884b179e20204a98/
http://autobuild.buildroot.org/results/3f2/
3f242853e600bb6bec6ce2f0598d304751ceb81a/
http://autobuild.buildroot.org/results/7f0/
7f0c7c9cb746104f93907544247bc1008d6ad0dc/
[...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 7 Aug 2015 11:04:58 +0000 (13:04 +0200)]
lrzsz: mark as not available for static builds
lrzsz could technically build in a static-only environment, but it
unconditionally redefines the error() and error_at_line() functions,
which clashes with the definition from uClibc. Since the autotools
packaging dates back from 1998, lots of work is needed to fix it, and
do some proper tests on the availability of such functions.
So, let's mark it as not available for static builds, until someone
interested enough fixes it.
Fixes:
http://autobuild.buildroot.net/results/
8106ab057f538d1408d736736fdbe50b99ae709d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 7 Aug 2015 10:20:39 +0000 (12:20 +0200)]
guile: fix static-only build
guile uses bdwgc, which is already compiled with GC_NO_DLOPEN in
static-only scenarios. However, the bdwgc headers continue to include
<dlfcn.h> if used with GC_NO_DLOPEN undefined.
Therefore, to make guile link properly in a static-only scenario, we
have to build it with GC_NO_DLOPEN defined.
Fixes:
http://autobuild.buildroot.net/results/1bf/
1bf73dd4c28d6607e8c24d3abf259b8032712a02/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 7 Aug 2015 09:47:02 +0000 (11:47 +0200)]
lirc-tools: needs dlopen(), not available for static only builds
Fixes:
http://autobuild.buildroot.net/results/87c/
87cf6312bef189e4f3a49983bfc662d69afa05b4/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 7 Aug 2015 09:40:35 +0000 (11:40 +0200)]
libpfm4: fix static-only build
By default, libpfm4 tries to build a shared library. However, by
passing CONFIG_PFMLIB_SHARED=n, we can convince it to build only a
static library. Therefore, this commit uses that to fix the
static-only build, therefore fixing:
http://autobuild.buildroot.net/results/efa/
efae782912face7c36417dfb1023228d6b137654/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 7 Aug 2015 09:08:12 +0000 (11:08 +0200)]
libsigsegv: not available on SuperH with uClibc
Like PowerPC, the uClibc port on SuperH doesn't implement ucontext, so
we can't build libsigsegv in such a configuration. Therefore this
commit marks libsigsegv as not available on SuperH/uClibc.
Fixes:
http://autobuild.buildroot.net/results/
2128a3507e57e707ee5c726f1ccfddadb7b19112/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 7 Aug 2015 08:55:56 +0000 (10:55 +0200)]
audit: mark as not available for static builds
audit uses -fPIE/-pie, which is not compatible with static only builds
with uClibc. Since using audit in a statically linked environment is
probably not a very common use case, let's simply mark it as
non-available in such situations.
Fixes:
http://autobuild.buildroot.net/results/
549492270f3f43747a96a8326aef1d7ae1d3b213/
Thanks to Waldemar for explaining the source of the problem.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Fri, 31 Jul 2015 12:12:15 +0000 (09:12 -0300)]
dnsmasq: bump to version 2.75
[Thomas: applying for 2015.08, because it fixes a regression
introduced in dnsmasq 2.74, as reported by Gustavo.]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 6 Aug 2015 18:51:07 +0000 (20:51 +0200)]
c-icap: fix incorrect dependency on BR2_PREFER_STATIC_LIB
BR2_PREFER_STATIC_LIB has been changed/renamed quite some time ago to
BR2_STATIC_LIBS, but the c-icap submission was done before that, and
during the review/merge of the patch, this rename was forgotten.
This commit therefore fixes the c-icap dependency on BR2_STATIC_LIBS,
which should fix:
http://autobuild.buildroot.net/results/
cb623460de30dd7c4ef3275fe13220c1ca0642a5/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 6 Aug 2015 09:06:32 +0000 (11:06 +0200)]
squid: fix systemd unit file location
squid.service is in tools/systemd/, not in tools/.
Fixes:
http://autobuild.buildroot.net/results/cec/
cecb968172cb00281e439566e5ae154538435a51/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Scott Fan [Fri, 31 Jul 2015 06:25:35 +0000 (14:25 +0800)]
package/tz: fix incorrect timezone setting for uclibc
According to the doc file from <uclibc-src>/docs/
Glibc_vs_uClibc_Differences.txt, the uclibc library read the
TZ environment variable, or the /etc/TZ file; the /etc/TZ file
should be a single line, ending with a newline, containing the
TZ setting. For example: echo CST6CDT > /etc/TZ
Whereas the tzdump cmd would output two lines like this:
# Asia/Shanghai
CST-8
This make the uclibc could not read the correct TZ setting, therefore
e.g. the 'busybox date' cmd always show the UTC timezone.
This fix remove the redundant first line from the tzdump output.
Signed-off-by: Scott Fan <fancp2007@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Brendan Heading [Fri, 31 Jul 2015 14:05:22 +0000 (15:05 +0100)]
package/bdwgc: musl build failure
Fixes http://autobuild.buildroot.net/results/1ed/
1edb5e7dab88d3fefca533ab56f7ddc7dd5411d2/
Upstream removed unused code which was causing musl compilation issues.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 31 Jul 2015 13:24:53 +0000 (15:24 +0200)]
package/eudev: fix build with musl + libselinux
Add a patch to disable mallinfo statistics with musl toolchains
which doesn't have struct mallinfo.
Fixes:
selinux-util.c: In function ‘mac_selinux_init’:
selinux-util.c:70:25: error: storage size of ‘before_mallinfo’ isn’t known
struct mallinfo before_mallinfo, after_mallinfo;
Add a second patch for strndupa() which is a GNU extension.
Fixes:
./.libs/libudev-core.a(selinux-util.o): In function `mac_selinux_bind':
selinux-util.c:(.text+0xd94): undefined reference to `strndupa'
collect2: error: ld returned 1 exit status
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Fri, 31 Jul 2015 20:25:09 +0000 (22:25 +0200)]
package/x11r7/xdriver_xf86-input-synaptics: depends on libevdev
Fixes
http://autobuild.buildroot.net/results/05e/
05ecfaf591e85a20071875ecd18068762193defa/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Sat, 1 Aug 2015 16:52:19 +0000 (18:52 +0200)]
package/nodejs/0.10.x: add patch to fix musl build error
The musl C library does not understand the feature test macro __USE_MISC and so
libuv (built-in dependency of nodejs) does not use the correct struct stat
definition for musl:
error: ‘uv_statbuf_t’ has no member named ‘st_ctimensec’
error: ‘uv_statbuf_t’ has no member named ‘st_mtimensec’
The macro __USE_MISC is defined by glibc if _BSD_SOURCE or _SVID_SOURCE is
defined.
The libuv build system enables the feature test macro _GNU_SOURCE for linux
builds.
Since glibc 2.19, defining _GNU_SOURCE also has the effect of implicitly
defining _DEFAULT_SOURCE - the replacement for _BSD_SOURCE and _SVID_SOURCE.
In glibc versions before 2.20, defining _GNU_SOURCE also had the effect of
implicitly defining _BSD_SOURCE and _SVID_SOURCE. This is also true for uClibc.
Alltogether, we can safely replace __USE_MISC by _GNU_SOURCE to support building
nodejs 0.10.x with the musl C library.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Brendan Heading [Mon, 3 Aug 2015 11:51:02 +0000 (12:51 +0100)]
package/imlib2: fix musl compilation issue
Fixes http://autobuild.buildroot.net/results/a6e/
a6e61bfb376946b479085f243601d6e1634adc6d/
musl is strict about including time.h when using time_t.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Tue, 4 Aug 2015 09:57:28 +0000 (11:57 +0200)]
package/poco: disable for static build
poco requires dlopen(). There is a --no-sharedlibs option that is
supposed to support building in a statically linked environment, but
it doesn't do anything.
Fixes:
http://autobuild.buildroot.net/results/952/
952f05efd245ba59991f3c5be02a0572e8b9e544/
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause [Wed, 5 Aug 2015 10:43:49 +0000 (12:43 +0200)]
package/mpd: add patch to fix musl gcc5 build issue
Add a patch from the Alpine Linux project [1] to fix a musl build issue with
gcc 5:
```
error: temporary of non-literal type ‘pthread_mutex_t’ in a constant expression
constexpr PosixMutex():mutex(PTHREAD_MUTEX_INITIALIZER) {}
```
Problem has been reported by the Alpine team upstream and was closed by the MPD
maintainer with WONTFIX:
http://bugs.musicpd.org/view.php?id=4387
http://bugs.musicpd.org/view.php?id=4110
However...
POSIX does not permit using PTHREAD_COND_INITIALIZER except for static
initialization, and certainly does not permit using it as a value.
Also POSIX does not specify the type of the object (it's opaque) so if
there are any types for which their code would be invalid C++, then their
code is invalid.
Also, volatile in the type is necessary. without that, LTO can break the code.
[1]
http://git.alpinelinux.org/cgit/aports/log/main/mpd/musl-gcc5-fixes.patch
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jonathan Ben Avraham [Wed, 5 Aug 2015 04:58:40 +0000 (07:58 +0300)]
rapidjson: Add comment for "_INSTALL_TARGET = NO"
It is Buildroot convention to comment when "_INSTALL_TARGET = NO".
Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 6 Aug 2015 06:35:04 +0000 (08:35 +0200)]
mono: add Angelo SoB + upstream status on vasprintf related patch
Angelo is the author of the upstream patch, so it is safe to add his
SoB. This commit also adds the upstream status of the patch.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Angelo Compagnucci [Wed, 5 Aug 2015 11:58:52 +0000 (13:58 +0200)]
package/mono: fixing multiple definition of vasprintf
This patch fixes the detection of an available
vasprintf function, this way the internal vasprintf
function is not compiled.
Fixes http://autobuild.buildroot.net/results/
3ab2b8667e5657bf07f55dd04dd857167ab4c62a/
http://autobuild.buildroot.net/results/
3ab2b8667e5657bf07f55dd04dd857167ab4c62a/
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 5 Aug 2015 20:48:25 +0000 (22:48 +0200)]
package/cramfs: fix missing type
loff_t is guarded by _GNU_SOURCE. although already properly defined in
cramfsck, it was not defined in mkcramfs.
Fixes;
http://autobuild.buildroot.org/results/57d/
57de9e838fa953e2fb5e358cd535603fb249b7d2/
http://autobuild.buildroot.org/results/e02/
e023014934bf291add9d9dfdfc005bfec34dc1ff/
[...]
Note: since cramfs was last released in 2002-02-24, we don't stand a
chance to get this merged any time soon... :-(
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 5 Aug 2015 18:05:57 +0000 (20:05 +0200)]
package/libcec: needs gcc >= 4.7
As per upstream, gcc-4.7 is required to build libcec:
https://github.com/Pulse-Eight/libcec/issues/78#issuecomment-
91578591
Fixes:
http://autobuild.buildroot.org/results/3b5/
3b5611725c13668472482ed4ad3b46886d4c63d9/
http://autobuild.buildroot.org/results/0d0/
0d032cdd8dbf6d0ddef392c3e5a734881e00ee64/
http://autobuild.buildroot.org/results/c21/
c21c555c38261f6911349ff9fdac6edeb4debaac/
[...]
Possibly fixes:
http://autobuild.buildroot.org/results/4a7/
4a7b2af2fc3924255ac89e18f4f5c90bb8383265/
http://autobuild.buildroot.org/results/dd6/
dd61c186e6d85a9b30cd32edb74a52f7a4f73cc8/
[...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Wed, 5 Aug 2015 16:45:52 +0000 (13:45 -0300)]
webkitgtk24: depends on gcc >= 4.8
Webkit 2.4.x depends on gcc being >= 4.8.x so use the new
BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y knob and drop the manual x86* external
toolchain exclusions.
Follow up in the midori package as well.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 5 Aug 2015 21:13:25 +0000 (23:13 +0200)]
docs/website: add announcement e-mail link for 2015.08-rc1
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 5 Aug 2015 13:48:25 +0000 (15:48 +0200)]
Update for 2015.08-rc1
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 5 Aug 2015 13:36:24 +0000 (15:36 +0200)]
CHANGES: update with resolved issues
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 5 Aug 2015 13:05:07 +0000 (15:05 +0200)]
CHANGES: update with recent changes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:41 +0000 (20:00 +0200)]
mpd: update to use the gcc version dependency mechanism
mpd requires at least gcc 4.6, so use the newly introduced gcc version
dependency mechanism instead of open-coded toolchain dependencies.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:40 +0000 (20:00 +0200)]
libupnpp: update to use the gcc version dependency mechanism
This commit changes the libupnp Config.in to use the gcc version
dependency mechanism. The only reverse dependency of libupnpp is
upmpdcli, which has already been updated, and requires >= 4.6, while
libupnpp only requires >= 4.5.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Wed, 5 Aug 2015 09:07:39 +0000 (11:07 +0200)]
zmqpp: use more logical way of expressing comment dependencies
In most packages, we use 'depends on !A || !B || !C' and not 'depends
on !(A && B && C)' to express the dependencies of comments on missing
toolchain features. As suggested by Yann E. Morin, let's switch zmqpp
to this convention.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:39 +0000 (20:00 +0200)]
zmqpp: update to use the gcc version dependency mechanism
This commit updates the zmqpp Config.in file to use the newly
introduced gcc version dependency mechanism to depend on gcc >= 4.6
instead of open-coding dependencies on specific toolchains.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:38 +0000 (20:00 +0200)]
upmpdcli: update to use the gcc version dependency mechanism
This commit updates the upmpdcli Config.in file to use the newly
introduced gcc version dependency mechanism to depend on gcc >= 4.6
instead of open-coding dependencies on specific toolchains.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:37 +0000 (20:00 +0200)]
libsigrok: depends on gcc >= 4.7
Until recently, only the C++ bindings of libsigrok needed a recent
compiler because they are written in C++11. However, now, libsigrok
itself is written in C11, which is only available since gcc 4.7.
So, this commit replaces the CodeSourcery-specific exclusions by a
proper dependency on gcc >= 4.7.
The sigrok-cli and pulseview packages, which select libsigrok, are
also updated accordingly.
Fixes:
http://autobuild.buildroot.org/results/1d7/
1d75497009f1e3b06236b3409fd768dcf7956b87/
http://autobuild.buildroot.org/results/563/
563378e3f6320980153c8c972ceba5e913fe933f/
[Thomas: add autobuilder references, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:36 +0000 (20:00 +0200)]
docs/manual: document gcc version dependencies
This commit updates the Buildroot manual to document how to detail the
gcc version dependencies in Config.in comments of packages, like we do
for kernel headers version.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:35 +0000 (20:00 +0200)]
toolchain-external: add support for gcc version dependency
This commit wires up the gcc version dependency mechanism in the
external toolchain backend. To do so, it:
* Changes the definition of all pre-defined external toolchain
profiles to select the appropriate BR2_TOOLCHAIN_GCC_AT_LEAST_*
option.
* For custom external toolchains, provides a visible Config.in
"choice" to select the gcc version used in the external toolchain.
* Adds a new check_gcc_version function, that verifies that the real
gcc version found in the external toolchain matches the one
declared in the Buildroot configuration.
[Thomas: use better sed expression proposed by Yann E. Morin, which
works with more cases.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:34 +0000 (20:00 +0200)]
gcc: select the appropriate BR2_TOOLCHAIN_GCC_AT_LEAST_* option
This commit wires up the gcc version dependency mechanism in the
internal toolchain backend by making the gcc version choice in the gcc
package Config.in.host select the appropriate
BR2_TOOLCHAIN_GCC_AT_LEAST_* option.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thomas Petazzoni [Tue, 4 Aug 2015 18:00:33 +0000 (20:00 +0200)]
toolchain: add common gcc version hidden config options
This commit adds a number of hidden Config.in options, that will be
used to handle dependencies on the gcc version. We mimic the model
that was used for the kernel headers dependency mechanism.
These hidden options will be selected by the internal and external
toolchain backend logic respectively, in follow-up commits.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Alexey Brodkin [Tue, 4 Aug 2015 11:42:42 +0000 (14:42 +0300)]
binutils: fix building of Linux kernel for ARCv2 ISA
With the fix for missing .tdata/.tbss sections we unintentionally
introduced a regression for ARCv2 ISA (read ARC HS38) kernel building.
That's what we got on attempt to build kernel:
----------------------------------->8--------------------------------------
LD drivers/video/fbdev/built-in.o
arc-linux-ld: ERROR: Attempting to link drivers/video/fbdev/omap2/built-in.o with a binary drivers/video/fbdev/built-in.o of different architecture
arc-linux-ld: failed to merge target specific data of file drivers/video/fbdev/omap2/built-in.o
scripts/Makefile.build:337: recipe for target 'drivers/video/fbdev/built-in.o' failed
make[3]: *** [drivers/video/fbdev/built-in.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/video/fbdev' failed
make[2]: *** [drivers/video/fbdev] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/video' failed
make[1]: *** [drivers/video] Error 2
Makefile:944: recipe for target 'drivers' failed
make: *** [drivers] Error 2
----------------------------------->8--------------------------------------
The reason was empty .tdata and .tbss sections in empty archives. And
later empty archives were linked in built-in.o with default architecture
(in our case ARCv1 ISA, read for ARC 700) and then expected failure
happened when objets for different architectures were attempted to link
together.
Now we have a fix for that issue, see
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/
a65b844aed9153789356e098984452df2f5d9058
This fix is in arc-2.23-dev branch and will be a part of the next
release of ARC tools, so then this patch must be removed from buildroot.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alexey Brodkin [Tue, 4 Aug 2015 14:21:50 +0000 (17:21 +0300)]
board: add support for ARC AXS101 and AXS103 Software Development Platforms
The AXS10x Platform consists of a DesignWare AXC001 CPU
Card (with ARC 770D core) in case of AXS101 or AXC003 CPU Card
(typically with ARC HS38 core) in case of AXS103 mounted on an
ARC Software Development Platform Mainboard with DesignWare peripherals:
* SD/MMC contoller
* Gigabit network contoller
* Serial ports (8250-compatible)
* USB 2.0
* SPI
* I2C
It also houses HDMI output for external monitor connection.
For stand-alone usage of the board (with only keyboard, mouse and montor
attached) kernel console and getty made available on tty0 as well as on
serial port (ttyS3).
Note there're 2 prerequisites:
[1] u-boot: 2015.07 - fix creation of .config
http://patchwork.ozlabs.org/patch/502558/
[2] binutils: fix buildng of Linux kernel for ARCv2 ISA
http://patchwork.ozlabs.org/patch/503550/
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 3 Aug 2015 11:06:22 +0000 (08:06 -0300)]
webkitgtk24: depend on x11 backend for gtk3
The other rendering backends aren't supported right now, so depend on
the X11 one to avoid build breakage. Fixes:
http://autobuild.buildroot.net/results/1b3/
1b372dd04eaccd8a9d24390d509b0a49f692746c/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 3 Aug 2015 20:41:32 +0000 (17:41 -0300)]
mtd: bump to version 1.5.2
Patches upstream so drop them.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 3 Aug 2015 20:05:23 +0000 (17:05 -0300)]
linux: bump default to version 4.1.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Mon, 3 Aug 2015 20:05:22 +0000 (17:05 -0300)]
linux-headers: bump 3.{10, 12, 14}.x and 4.1.x series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>