* [Buildroot] [git commit] sconeserver: fix depends
From: Peter Korsgaard @ 2012-12-28 15:54 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=8bbd1204a69dcbdd86bb5a97fb20add667df5a81
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
sconeserver selects packages that have other depends that aren't taken
account of.
Fixes
http://autobuild.buildroot.net/results/6e858387cfcb3f8d7422a29855a6a3c770d70c0e
among probably others.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/sconeserver/Config.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/package/sconeserver/Config.in b/package/sconeserver/Config.in
index a7e5c75..0fc3a13 100644
--- a/package/sconeserver/Config.in
+++ b/package/sconeserver/Config.in
@@ -32,12 +32,16 @@ config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE
config BR2_PACKAGE_SCONESERVER_MYSQL
bool "mysql"
+ depends on BR2_USE_MMU # mysql
select BR2_PACKAGE_MYSQL_CLIENT
help
MySQL module for Sconeserver
config BR2_PACKAGE_SCONESERVER_BLUETOOTH
bool "bluetooth"
+ depends on BR2_USE_WCHAR # bluez->libglib2
+ depends on BR2_USE_MMU # bluez->dbus
+ depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus
select BR2_PACKAGE_BLUEZ_UTILS
help
Bluetooth module for Sconeserver
@@ -50,6 +54,8 @@ config BR2_PACKAGE_SCONESERVER_RSS
config BR2_PACKAGE_SCONESERVER_LOCATION
bool "location"
+ depends on BR2_USE_MMU # gpsd
+ depends on BR2_TOOLCHAIN_HAS_THREADS # gpsd
select BR2_PACKAGE_GPSD
help
Location module for Sconeserver
^ permalink raw reply related
* [Buildroot] [git commit] pcre: bump to version 8.32
From: Peter Korsgaard @ 2012-12-28 15:53 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=fe2ca806b00edb41d2ebbea7583537f37c96a09a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Bump PCRE to version 8.32
Also add a patch to remove compatibility bits, fixing:
http://autobuild.buildroot.net/results/e380b838296c85ff9aeaec9fa088bded69670307/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/pcre/pcre-no-compat.patch | 31 +++++++++++++++++++++++++++++++
package/pcre/pcre.mk | 2 +-
2 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/package/pcre/pcre-no-compat.patch b/package/pcre/pcre-no-compat.patch
new file mode 100644
index 0000000..7099727
--- /dev/null
+++ b/package/pcre/pcre-no-compat.patch
@@ -0,0 +1,31 @@
+Kill ABI compatibility bits, we don't need them.
+Fixes build failures on non-ELF (blackfin) targets.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura pcre-8.32.orig/pcrecpp.cc pcre-8.32/pcrecpp.cc
+--- pcre-8.32.orig/pcrecpp.cc 2012-12-28 08:32:10.193847937 -0300
++++ pcre-8.32/pcrecpp.cc 2012-12-28 08:32:26.924376180 -0300
+@@ -58,22 +58,6 @@
+ // Special object that stands-in for no argument
+ Arg RE::no_arg((void*)NULL);
+
+-// This is for ABI compatibility with old versions of pcre (pre-7.6),
+-// which defined a global no_arg variable instead of putting it in the
+-// RE class. This works on GCC >= 3, at least. It definitely works
+-// for ELF, but may not for other object formats (Mach-O, for
+-// instance, does not support aliases.) We could probably have a more
+-// inclusive test if we ever needed it. (Note that not only the
+-// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
+-// gnu-specific.)
+-#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__)
+-# define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
+-# define ULP_AS_STRING_INTERNAL(x) #x
+-# define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__)
+-extern Arg no_arg
+- __attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE")));
+-#endif
+-
+ // If a regular expression has no error, its error_ field points here
+ static const string empty_string;
+
diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
index 9947c4b..9e27cb5 100644
--- a/package/pcre/pcre.mk
+++ b/package/pcre/pcre.mk
@@ -4,7 +4,7 @@
#
#############################################################
-PCRE_VERSION = 8.31
+PCRE_VERSION = 8.32
PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
PCRE_LICENSE = BSD-3c
PCRE_LICENSE_FILES = LICENCE
^ permalink raw reply related
* [Buildroot] [git commit] mysql: needs mmu
From: Peter Korsgaard @ 2012-12-28 15:52 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=496f7ca974f025f0c302e53592f4b232a17725e5
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/collectd/Config.in | 3 ++-
package/mysql_client/Config.in | 1 +
package/poco/Config.in | 1 +
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index fe520f8..74419f6 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -212,7 +212,8 @@ config BR2_PACKAGE_COLLECTD_MEMORY
config BR2_PACKAGE_COLLECTD_MYSQL
bool "mysql"
- depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_INSTALL_LIBSTDCPP # mysql
+ depends on BR2_USE_MMU # mysql
select BR2_PACKAGE_MYSQL_CLIENT
help
Connects to a MySQL database and issues a "show status" command.
diff --git a/package/mysql_client/Config.in b/package/mysql_client/Config.in
index f07fdb4..970b9b9 100644
--- a/package/mysql_client/Config.in
+++ b/package/mysql_client/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_MYSQL_CLIENT
bool "MySQL client"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
help
diff --git a/package/poco/Config.in b/package/poco/Config.in
index 36d8de9..20a8f2d 100644
--- a/package/poco/Config.in
+++ b/package/poco/Config.in
@@ -51,6 +51,7 @@ config BR2_PACKAGE_POCO_DATA_SQLITE
config BR2_PACKAGE_POCO_DATA_MYSQL
bool "mysql"
+ depends on BR2_USE_MMU # mysql
select BR2_PACKAGE_POCO_DATA
select BR2_PACKAGE_MYSQL_CLIENT
^ permalink raw reply related
* [Buildroot] [PATCH] libffi: fix mips build failures
From: Gustavo Zacarias @ 2012-12-28 15:35 UTC (permalink / raw)
To: buildroot
Fixes
http://autobuild.buildroot.net/results/c4056ed2b969b900f7654e651e0e4cc2e8998e02
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/libffi/libffi.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/package/libffi/libffi.mk b/package/libffi/libffi.mk
index 7570583..64b3eb4 100644
--- a/package/libffi/libffi.mk
+++ b/package/libffi/libffi.mk
@@ -8,9 +8,14 @@ LIBFFI_VERSION = 3.0.11
LIBFFI_SITE = ftp://sources.redhat.com/pub/libffi/
LIBFFI_LICENSE = MIT
LIBFFI_LICENSE_FILES = LICENSE
-
LIBFFI_INSTALL_STAGING = YES
+# Newer CS MIPS toolchains use a different (compact) eh_frame format
+# libffi don't like them, just switch to the older format
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209)$(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203),y)
+LIBFFI_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -mno-compact-eh"
+endif
+
# Move the headers to the usual location, and adjust the .pc file
# accordingly
define LIBFFI_MOVE_STAGING_HEADERS
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] buildroot for AM3358 AM3359 with wireless-tools shared library
From: Thomas Petazzoni @ 2012-12-28 13:21 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351596954.5576.22.camel@debian.fritz.box>
Dear J?rgen Benjamin Ronshausen,
On Tue, 30 Oct 2012 12:35:54 +0100, J?rgen Benjamin Ronshausen wrote:
> i am developing wireless tracking software. i use the wireless-tools
> library to scan for wireless networks in the area.
>
> i hope to use buildroot for compiling the c program, and to handle the
> library part. my program includes #include <iwlib.h>.
>
> on my old board (arm926t) i could compile by
> ~/buildroot-2012.08/output/host/usr/bin/arm-linux-gcc -Wall -o
> "oldboard" "main.c" -liw
>
> The new Board is a AM335x Starter Kit with a Sitara AM3358 Cortex A8 cpu
> and WL1271 Wifi/bluetooth module.
>
> to make my toolchain i issue:
>
> make beaglebone_defconfig
> make menuconfig and select under packages, networking wireless-tools and
> library. i included contents of .config below.
>
> The first problem is, that there are no files in
> /home/john/AM335/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/lib
> i am not sure about it, but i think there should be the .so files for
> the compiler.
The problem you reported at
https://raw.github.com/steven11/the-hunt-for-wireless-tools/master/logfile1
was fixed in the current Git repository of Buildroot. It was a problem
on 32 bits hosts while building a toolchain with largefile support
disabled.
The commit fixing it is
http://git.buildroot.net/buildroot/commit/?id=7ce93438c12ca68c9bb12ed28c4d15d1fa840c94.
You can either use the current Git of Buildroot, of backport this fix
in 2012.11 (which should be trivial).
Do not hesitate to let us know if this solves your problem, or if you
face other issues.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] Setting up Perf for buildroot
From: Kaiwan Billimoria @ 2012-12-28 13:11 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAPDLWs-tb5qydSKCRCAS1Zg6605_ZhmQn=fA6daVxgUm3tT2rw@mail.gmail.com>
Or, perhaps better:
BR2_LINUX_KERNEL_USERMODE_TOOLS_XXX
On Fri, Dec 28, 2012 at 6:39 PM, Kaiwan Billimoria
<kaiwan.billimoria@gmail.com> wrote:
> So I was thinking, keep a config directive in linux/Config.in called
> BR2_LINUX_KERNEL_TOOLS_XXX
> where XXX is the user-mode tool to be built.
^ permalink raw reply
* [Buildroot] Setting up Perf for buildroot
From: Kaiwan Billimoria @ 2012-12-28 13:09 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121228115156.2f91b588@skate>
Reproducing the email referenced for context, below.
Pl see my comments inline below:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Buildroot] [PATCH v3] usbip: new package
Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 26 17:32:20 UTC 2012
Dear Jeremy Rosen,
On Wed, 26 Dec 2012 17:49:57 +0100 (CET), Jeremy Rosen wrote:
> I would be interested too, more and more tools are distributed with
> the kernel that we might want to build... I'm thinking of the perf
> tools in particular
>
> is there an example somewhere on how to handle these ?
> Unfortunately, there isn't a really good and nice way of handling these
> in Buildroot for now.
>
> I see two options:
> * Add sub-options to the "Linux kernel" package, to allow the
> installation of perf, usbip or other userspace packages whose source
> code is bundled with the kernel source code. This is the easiest
> solution, since the kernel version, sources and al. is already
> defined. But it also has major drawbacks: 1/ it makes those tools
> available only if you build your kernel with Buildroot and 2/ it
> puts the configuration options to install those tools inside the
> "Linux kernel" menu, which is not very intuitive.
To my thinking, this (option 1 above) would be the "right" way.
Reasons:
a) As Thomas mentions below, there is an ABI (user<->kernel) that
needs to be honoured, which requires the correct kernel source tree
b) Experienced developers (i.e. buildroot end-users :) ) should be - /
be educated on / - aware of the trade-off's that building a
kernel-tree user-mode tool entails; we should clearly document the
"drawbacks" as well..
c) Drawback 1: Yes it does mean building BR with the kernel; but of
course, a serious end-user can then always choose to use their own
custom kernel afterwards... and regression-test to see whether the
tools work as expected
d) Drawback 2:not a very serious one, IMO... -this can further be
documented in the manual (& word gets around :) )
e) Merely extracting one or 2 folders from the kernel src tree may not
cut it for all tools; in fact, perf has some dependencies on other
portions of the kernel source tree.
So I was thinking, keep a config directive in linux/Config.in called
BR2_LINUX_KERNEL_TOOLS_XXX
where XXX is the user-mode tool to be built.
Thanks,
Kaiwan.
> * Add separate packages for each of those tools in package/, with
> those packages depending on the "linux" package. The extract step of
> those packages could copy the source code of these tools from the
> Linux kernel source tree into their build directory, or simply build
> then directly from within the Linux kernel source tree. It solves
> drawback (2) described above, but not drawback (1).
> * Add separate packages for each of those tools in package/, and make
> them independent from the Linux package. They would for example
> download the latest stable version of the Linux kernel source code,
> and use that as a source. The extract step could be customized to
> only extract the part of the kernel sources that are actually
> relevant for this package. This would solve both drawbacks (1) and
> (2), but adds different drawbacks: it's another place where we have
> to bump the kernel version regularly, and people may want to
> configure the version of the kernel sources used to build those
> tools: the primary reason why those tools are bundled with the
> kernel sources is because the userspace-to-kernel ABI specific to
> those tools gets changed from time to time, and therefore there may
> be compatibility issues in running those tools from kernel version X
> under a system running kernel version Y.
> Best regards,
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Fri, Dec 28, 2012 at 4:21 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
>
> Dear Jeremy Rosen,
>
> Please fix your e-mail client to wrap lines at a reasonable width.
>
> On Fri, 28 Dec 2012 11:18:06 +0100 (CET), Jeremy Rosen wrote:
>
> > my guess is that ideally the config entries should be in packages->debug tools, but the makefile should be integrated in the linux kernel makefile
> >
> > I don't think it's possible with KConfig, though...
> >
> >
> > maybe add a perf directory in the packages/ dir with only the Config.in and use the variables set by that Config.in within the kernel makefiles to build the tool
>
> See:
>
> Subject: Re: [Buildroot] [PATCH v3] usbip: new package
> Date: Wed, 26 Dec 2012 18:32:20 +0100
>
> where I did some suggestions on how to do this.
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 2/2] ulogd: add support for mysql output
From: Gustavo Zacarias @ 2012-12-28 13:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356699955-27479-1-git-send-email-gustavo@zacarias.com.ar>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/ulogd/ulogd.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/package/ulogd/ulogd.mk b/package/ulogd/ulogd.mk
index 4620bbd..34d8665 100644
--- a/package/ulogd/ulogd.mk
+++ b/package/ulogd/ulogd.mk
@@ -7,7 +7,7 @@
ULOGD_VERSION = 2.0.1
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
-ULOGD_CONF_OPT = --with-dbi=no --with-mysql=no --with-pgsql=no
+ULOGD_CONF_OPT = --with-dbi=no --with-pgsql=no
ULOGD_AUTORECONF = YES
ULOGD_DEPENDENCIES = host-pkgconf \
libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
@@ -15,4 +15,11 @@ ULOGD_DEPENDENCIES = host-pkgconf \
ULOGD_LICENSE = GPLv2
ULOGD_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
+ULOGD_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
+ULOGD_DEPENDENCIES += mysql_client
+else
+ULOGD_CONF_OPT += --with-mysql=no
+endif
+
$(eval $(autotools-package))
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] mysql_client: bump to version 5.1.67
From: Gustavo Zacarias @ 2012-12-28 13:05 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/mysql_client/mysql_client.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/mysql_client/mysql_client.mk b/package/mysql_client/mysql_client.mk
index 9785aee..1477b66 100644
--- a/package/mysql_client/mysql_client.mk
+++ b/package/mysql_client/mysql_client.mk
@@ -4,12 +4,14 @@
#
#############################################################
-MYSQL_CLIENT_VERSION = 5.1.66
+MYSQL_CLIENT_VERSION = 5.1.67
MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
MYSQL_CLIENT_SITE = http://downloads.skysql.com/archives/mysql-5.1
MYSQL_CLIENT_INSTALL_STAGING = YES
MYSQL_CLIENT_DEPENDENCIES = readline ncurses
-MYSQL_CLIENT_AUTORECONF=YES
+MYSQL_CLIENT_AUTORECONF = YES
+MYSQL_CLIENT_LICENSE = GPLv2
+MYSQL_CLIENT_LICENSE_FILES = README COPYING
MYSQL_CLIENT_CONF_ENV = \
ac_cv_sys_restartable_syscalls=yes \
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 3/3] sconeserver: fix depends
From: Gustavo Zacarias @ 2012-12-28 12:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356696457-12445-1-git-send-email-gustavo@zacarias.com.ar>
sconeserver selects packages that have other depends that aren't taken
account of.
Fixes
http://autobuild.buildroot.net/results/6e858387cfcb3f8d7422a29855a6a3c770d70c0e
among probably others.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/sconeserver/Config.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/package/sconeserver/Config.in b/package/sconeserver/Config.in
index a7e5c75..0fc3a13 100644
--- a/package/sconeserver/Config.in
+++ b/package/sconeserver/Config.in
@@ -32,12 +32,16 @@ config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE
config BR2_PACKAGE_SCONESERVER_MYSQL
bool "mysql"
+ depends on BR2_USE_MMU # mysql
select BR2_PACKAGE_MYSQL_CLIENT
help
MySQL module for Sconeserver
config BR2_PACKAGE_SCONESERVER_BLUETOOTH
bool "bluetooth"
+ depends on BR2_USE_WCHAR # bluez->libglib2
+ depends on BR2_USE_MMU # bluez->dbus
+ depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus
select BR2_PACKAGE_BLUEZ_UTILS
help
Bluetooth module for Sconeserver
@@ -50,6 +54,8 @@ config BR2_PACKAGE_SCONESERVER_RSS
config BR2_PACKAGE_SCONESERVER_LOCATION
bool "location"
+ depends on BR2_USE_MMU # gpsd
+ depends on BR2_TOOLCHAIN_HAS_THREADS # gpsd
select BR2_PACKAGE_GPSD
help
Location module for Sconeserver
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 2/3] pcre: bump to version 8.32
From: Gustavo Zacarias @ 2012-12-28 12:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356696457-12445-1-git-send-email-gustavo@zacarias.com.ar>
Bump PCRE to version 8.32
Also add a patch to remove compatibility bits, fixing:
http://autobuild.buildroot.net/results/e380b838296c85ff9aeaec9fa088bded69670307/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/pcre/pcre-no-compat.patch | 31 +++++++++++++++++++++++++++++++
package/pcre/pcre.mk | 2 +-
2 files changed, 32 insertions(+), 1 deletions(-)
create mode 100644 package/pcre/pcre-no-compat.patch
diff --git a/package/pcre/pcre-no-compat.patch b/package/pcre/pcre-no-compat.patch
new file mode 100644
index 0000000..7099727
--- /dev/null
+++ b/package/pcre/pcre-no-compat.patch
@@ -0,0 +1,31 @@
+Kill ABI compatibility bits, we don't need them.
+Fixes build failures on non-ELF (blackfin) targets.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura pcre-8.32.orig/pcrecpp.cc pcre-8.32/pcrecpp.cc
+--- pcre-8.32.orig/pcrecpp.cc 2012-12-28 08:32:10.193847937 -0300
++++ pcre-8.32/pcrecpp.cc 2012-12-28 08:32:26.924376180 -0300
+@@ -58,22 +58,6 @@
+ // Special object that stands-in for no argument
+ Arg RE::no_arg((void*)NULL);
+
+-// This is for ABI compatibility with old versions of pcre (pre-7.6),
+-// which defined a global no_arg variable instead of putting it in the
+-// RE class. This works on GCC >= 3, at least. It definitely works
+-// for ELF, but may not for other object formats (Mach-O, for
+-// instance, does not support aliases.) We could probably have a more
+-// inclusive test if we ever needed it. (Note that not only the
+-// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
+-// gnu-specific.)
+-#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__)
+-# define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
+-# define ULP_AS_STRING_INTERNAL(x) #x
+-# define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__)
+-extern Arg no_arg
+- __attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE")));
+-#endif
+-
+ // If a regular expression has no error, its error_ field points here
+ static const string empty_string;
+
diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
index 9947c4b..9e27cb5 100644
--- a/package/pcre/pcre.mk
+++ b/package/pcre/pcre.mk
@@ -4,7 +4,7 @@
#
#############################################################
-PCRE_VERSION = 8.31
+PCRE_VERSION = 8.32
PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
PCRE_LICENSE = BSD-3c
PCRE_LICENSE_FILES = LICENCE
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 1/3] mysql: needs mmu
From: Gustavo Zacarias @ 2012-12-28 12:07 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/collectd/Config.in | 3 ++-
package/mysql_client/Config.in | 1 +
package/poco/Config.in | 1 +
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index fe520f8..74419f6 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -212,7 +212,8 @@ config BR2_PACKAGE_COLLECTD_MEMORY
config BR2_PACKAGE_COLLECTD_MYSQL
bool "mysql"
- depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_INSTALL_LIBSTDCPP # mysql
+ depends on BR2_USE_MMU # mysql
select BR2_PACKAGE_MYSQL_CLIENT
help
Connects to a MySQL database and issues a "show status" command.
diff --git a/package/mysql_client/Config.in b/package/mysql_client/Config.in
index f07fdb4..970b9b9 100644
--- a/package/mysql_client/Config.in
+++ b/package/mysql_client/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_MYSQL_CLIENT
bool "MySQL client"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
help
diff --git a/package/poco/Config.in b/package/poco/Config.in
index 36d8de9..20a8f2d 100644
--- a/package/poco/Config.in
+++ b/package/poco/Config.in
@@ -51,6 +51,7 @@ config BR2_PACKAGE_POCO_DATA_SQLITE
config BR2_PACKAGE_POCO_DATA_MYSQL
bool "mysql"
+ depends on BR2_USE_MMU # mysql
select BR2_PACKAGE_POCO_DATA
select BR2_PACKAGE_MYSQL_CLIENT
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] dialog: needs mmu
From: Peter Korsgaard @ 2012-12-28 11:12 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356692341-26066-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Fixes
Gustavo> http://autobuild.buildroot.net/results/b673ef6d6315dc5df77e000199a63f90904829d5
Committed both, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] vsftpd: needs mmu
From: Peter Korsgaard @ 2012-12-28 11:12 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=2eb995759d2e24e4e1f584439d2a272be68b4bba
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes
http://autobuild.buildroot.net/results/067cfbab9fa26e9e5f321f661e8f4ac0e19249e1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/vsftpd/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/vsftpd/Config.in b/package/vsftpd/Config.in
index 8414c88..3d4cff1 100644
--- a/package/vsftpd/Config.in
+++ b/package/vsftpd/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_VSFTPD
bool "vsftpd"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
help
vsftpd is an ftp daemon written with security in mind.
http://vsftpd.beasts.org/
^ permalink raw reply related
* [Buildroot] [git commit] dialog: needs mmu
From: Peter Korsgaard @ 2012-12-28 11:12 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=9d9d842d871b8645f70c3a90f59f8e2e09935656
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes
http://autobuild.buildroot.net/results/b673ef6d6315dc5df77e000199a63f90904829d5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/dialog/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/dialog/Config.in b/package/dialog/Config.in
index 9d3462e..db5197f 100644
--- a/package/dialog/Config.in
+++ b/package/dialog/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_DIALOG
bool "dialog"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
^ permalink raw reply related
* [Buildroot] [PATCH 2/2] vsftpd: needs mmu
From: Gustavo Zacarias @ 2012-12-28 10:59 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356692341-26066-1-git-send-email-gustavo@zacarias.com.ar>
Fixes
http://autobuild.buildroot.net/results/067cfbab9fa26e9e5f321f661e8f4ac0e19249e1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/vsftpd/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/vsftpd/Config.in b/package/vsftpd/Config.in
index 8414c88..3d4cff1 100644
--- a/package/vsftpd/Config.in
+++ b/package/vsftpd/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_VSFTPD
bool "vsftpd"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
help
vsftpd is an ftp daemon written with security in mind.
http://vsftpd.beasts.org/
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] dialog: needs mmu
From: Gustavo Zacarias @ 2012-12-28 10:59 UTC (permalink / raw)
To: buildroot
Fixes
http://autobuild.buildroot.net/results/b673ef6d6315dc5df77e000199a63f90904829d5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/dialog/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/dialog/Config.in b/package/dialog/Config.in
index 9d3462e..db5197f 100644
--- a/package/dialog/Config.in
+++ b/package/dialog/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_DIALOG
bool "dialog"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH] freetype: fix legal-info
From: Peter Korsgaard @ 2012-12-28 10:55 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356690857-28463-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> My mistake, wrong capitalization, fixes
Gustavo> http://autobuild.buildroot.net/results/10261b94d95f7547a08d8fa1d0b0ddcae85c38a3
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] freetype: fix legal-info
From: Peter Korsgaard @ 2012-12-28 10:55 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=141314d38a9b8b007d338dc1caf2c6b0ccd14a9f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
My mistake, wrong capitalization, fixes
http://autobuild.buildroot.net/results/10261b94d95f7547a08d8fa1d0b0ddcae85c38a3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/freetype/freetype.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index be87a48..be0f1a7 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -10,7 +10,7 @@ FREETYPE_SITE = http://downloads.sourceforge.net/project/freetype/freetype2/$(FR
FREETYPE_INSTALL_STAGING = YES
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
FREETYPE_LICENSE = Dual FTL/GPLv2+
-FREETYPE_LICENSE_FILES = docs/FTL.txt docs/GPLv2.txt
+FREETYPE_LICENSE_FILES = docs/FTL.TXT docs/GPLv2.TXT
FREETYPE_DEPENDENCIES = host-pkgconf \
$(if $(BR2_PACKAGE_ZLIB),zlib) \
$(if $(BR2_PACKAGE_BZIP2),bzip2)
^ permalink raw reply related
* [Buildroot] Setting up Perf for buildroot
From: Thomas Petazzoni @ 2012-12-28 10:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <45ecb208-6863-4266-9091-ec981005978b@zimbra2.corp.accelance.fr>
Dear Jeremy Rosen,
Please fix your e-mail client to wrap lines at a reasonable width.
On Fri, 28 Dec 2012 11:18:06 +0100 (CET), Jeremy Rosen wrote:
> my guess is that ideally the config entries should be in packages->debug tools, but the makefile should be integrated in the linux kernel makefile
>
> I don't think it's possible with KConfig, though...
>
>
> maybe add a perf directory in the packages/ dir with only the Config.in and use the variables set by that Config.in within the kernel makefiles to build the tool
See:
Subject: Re: [Buildroot] [PATCH v3] usbip: new package
Date: Wed, 26 Dec 2012 18:32:20 +0100
where I did some suggestions on how to do this.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] freetype: fix legal-info
From: Gustavo Zacarias @ 2012-12-28 10:34 UTC (permalink / raw)
To: buildroot
My mistake, wrong capitalization, fixes
http://autobuild.buildroot.net/results/10261b94d95f7547a08d8fa1d0b0ddcae85c38a3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/freetype/freetype.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index be87a48..be0f1a7 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -10,7 +10,7 @@ FREETYPE_SITE = http://downloads.sourceforge.net/project/freetype/freetype2/$(FR
FREETYPE_INSTALL_STAGING = YES
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
FREETYPE_LICENSE = Dual FTL/GPLv2+
-FREETYPE_LICENSE_FILES = docs/FTL.txt docs/GPLv2.txt
+FREETYPE_LICENSE_FILES = docs/FTL.TXT docs/GPLv2.TXT
FREETYPE_DEPENDENCIES = host-pkgconf \
$(if $(BR2_PACKAGE_ZLIB),zlib) \
$(if $(BR2_PACKAGE_BZIP2),bzip2)
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] Setting up Perf for buildroot
From: Jeremy Rosen @ 2012-12-28 10:18 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAPDLWs_Y9e_ecsk=U-PteDfFA=B8t9krpc8CM5ZzAYJ2uwH-hQ@mail.gmail.com>
my guess is that ideally the config entries should be in packages->debug tools, but the makefile should be integrated in the linux kernel makefile
I don't think it's possible with KConfig, though...
maybe add a perf directory in the packages/ dir with only the Config.in and use the variables set by that Config.in within the kernel makefiles to build the tool
(that's just an idea, I havn't looked precisely how it's done)
Cordialement
J?r?my Rosen
fight key loggers : write some perl using vim
----- Mail original -----
> De: "Kaiwan Billimoria" <kaiwan.billimoria@gmail.com>
> ?: buildroot at busybox.net
> Envoy?: Vendredi 28 D?cembre 2012 05:26:08
> Objet: [Buildroot] Setting up Perf for buildroot
>
>
> Hi All,
>
> I saw this message titled "[Buildroot] elfutils and the perf
> userspace tool" (see below) on the buildroot mailing list. Last
> email is shown below:
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Dear Bogdan Radulescu,
>
> On Thu, 6 Dec 2012 08:10:12 -0800 (PST), Bogdan Radulescu wrote:
>
> > I noticed now that this is in the newer versions. I tried to build
> > it
> > without libelf even though it will be pretty crippled but still I
> > didn't have any luck. http://pastie.org/pastes/5489305/text
> >
> > I tried with using 3.7-rc3. In 3.4.22 isn't patched for building
> > without libelf. On which version did you manage to build it for
> > ARM?
>
> I never built perf for ARM so far, so I can't really help,
> unfortunately.
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> I too am very interested in getting the 'perf' tools onto buildroot.
> I would be willing to try this and submit a patch for the same (in
> fact I already have one from
> another source that seems to work, successfully cross-compiling perf
> for ARM), but before that, I have a question:
>
>
> What would be the appropriate location in the buildroot tree for
> 'perf'?
> Packages branch? Am asking as, of course, perf is a Linux *kernel*
> (but) user-space component/tool (it lives under
> <kernel-src-tree>/tools/perf).
> So should we look at inserting a patch as part of the 'kernel' menu
> or under 'packages' itself?
>
>
> TIA!
> Kaiwan.
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [PATCH] package/keyutils: disable on avr32 & microblaze
From: Peter Korsgaard @ 2012-12-28 9:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356650436-20697-1-git-send-email-yann.morin.1998@free.fr>
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
Yann> keyutils builds on neither avr32, nor microblaze (probably because
Yann> the toolchains used fot those archictectures are way too old), with:
s/fot/for/
Committed with that fixed, thanks both!
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] package/keyutils: disable on avr32 & microblaze
From: Peter Korsgaard @ 2012-12-28 9:06 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=20e0926f4469a3486629cfd6fa7f449f2b659aa8
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
keyutils builds on neither avr32, nor microblaze (probably because
the toolchains used for those archictectures are way too old), with:
..../microblazeel-unknown-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -DPKGBUILD="\"2012-12-27\"" -DPKGVERSION="\"keyutils-1.5.5\""
-DAPIVERSION="\"libkeyutils-1.4\"" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -pipe -Os -g -Wall -Werror -UNO_GLIBC_KEYERR -o keyutils.o -c keyutils.c
cc1: warnings being treated as errors
key.dns_resolver.c: In function 'main':
key.dns_resolver.c:690: warning: dereferencing type-punned pointer will break strict-aliasing rules
Fixing with -fno-strict-aliasing only partially solves the issue for these
two archs, since the C library does not export the resolver symbols so the
link fails down the road...
- on microblaze, glibc-2.3.6 is tool old and does not set these symbols
as GLOBALs;
- on avr32, uClibc does not have these symbols.
It is much more easy to just disable keyutils for avr32 and microblaze.
Fixes both (avr2, microblaze):
http://autobuild.buildroot.net/results/aa86f6a68f5d0ea4914ab259ed270615bc9d6a99/
http://autobuild.buildroot.net/results/70ae127a6e353fd5c64c0c3b4e19a2e93d54ce52/
Merry X-Mas!
PS. Thanks Richard for the help understanding those issues.
Cc: Richard Braun <rbraun@sceen.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/keyutils/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/keyutils/Config.in b/package/keyutils/Config.in
index 9b5a24b..9b9f9bc 100644
--- a/package/keyutils/Config.in
+++ b/package/keyutils/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_KEYUTILS
bool "keyutils"
+ depends on !BR2_avr32 && !BR2_microblaze
help
These tools are used to control the key management system
built into the Linux kernel.
^ permalink raw reply related
* [Buildroot] [PATCH] webkit: fix compilation without X11
From: Stephan Hoffmann @ 2012-12-28 8:04 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/86534588d192fe1515ce520c109e884864871d94/
and others.
Webkit includes X11 headers even when configuerd for DirecfFB, because
the test within GNUmakefile.in does not work properly. Autoreconfigure
fails because of incompatibility with buildroot's autotools version.
For now a patch for GNUmakefile.in fixes this problem.
Since webkit release is quite old it doesn't seem to be worth doing more,
on the long run we should bump the version.
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
.../webkit-fix-compilation-on-DirectFB-2.patch | 33 ++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB-2.patch
diff --git a/package/webkit/webkit-fix-compilation-on-DirectFB-2.patch b/package/webkit/webkit-fix-compilation-on-DirectFB-2.patch
new file mode 100644
index 0000000..097fa5d
--- /dev/null
+++ b/package/webkit/webkit-fix-compilation-on-DirectFB-2.patch
@@ -0,0 +1,33 @@
+From ef45c7ce5325d85ca924502b1b0a929fecd6581d Mon Sep 17 00:00:00 2001
+From: Stephan Hoffmann <sho@relinux.de>
+Date: Thu, 27 Dec 2012 18:08:29 +0100
+Subject: [PATCH] Fix test for presence of X11
+
+The test in GNUmakefile.in checking for presence of X11 and
+enabling the XP_UNIX define succeeds even when X11 is not
+present and Webkit is built for DirectFB.
+
+Because of this X11-headers are included and the build fails.
+
+Signed-off-by: Stephan Hoffmann <sho@relinux.de>
+---
+ GNUmakefile.in | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/GNUmakefile.in b/GNUmakefile.in
+index f14f27b..3ac811f 100644
+--- a/GNUmakefile.in
++++ b/GNUmakefile.in
+@@ -88,7 +88,8 @@ noinst_PROGRAMS = Programs/minidom$(EXEEXT) \
+ $(am__EXEEXT_1)
+
+ # For the Gtk port we want to use XP_UNIX both in X11 and Mac
+- at TARGET_WIN32_FALSE@am__append_1 = -DXP_UNIX
++ at TARGET_X11_TRUE@am__append_1 = -DXP_UNIX
++ at TARGET_QUARTZ_TRUE@am__append_1 = -DXP_UNIX
+ @USE_ICU_UNICODE_TRUE at am__append_2 = \
+ @USE_ICU_UNICODE_TRUE@ -DWTF_USE_ICU_UNICODE=1
+
+--
+1.7.0.4
+
--
1.7.0.4
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox