* [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes)
@ 2014-12-24 19:09 Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 1/2] package/guile: needs libtool Yann E. MORIN
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yann E. MORIN @ 2014-12-24 19:09 UTC (permalink / raw)
To: buildroot
Hello All!
Here are two patches intended to fix guile builds:
- in bdwgc, detect availability of getcontext
- add proper kconfig dependency to guile
A third patch to guile I kept in limbo until we have a way to reproduce
the autobuild failures it is supposed to fix (I was not able to reproduce
any of them).
Thanks to Samuel for the initial series. :-)
Regards,
Yann E. MORIN.
The following changes since commit 49b147ccbb807238009fde815ad68e953077bc3a:
linux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1 (2014-12-24 15:00:48 +0100)
are available in the git repository at:
git://git.busybox.net/~ymorin/git/buildroot yem/fixes
for you to fetch changes up to efeb5ff2d78fb77cfd65a2e4e3bbb78ec9bef3f0:
bdwgc: add patch automatically detecting for NO_GETCONTEXT need (2014-12-24 20:04:24 +0100)
----------------------------------------------------------------
Samuel Martin (1):
bdwgc: add patch automatically detecting for NO_GETCONTEXT need
Yann E. MORIN (1):
package/guile: needs libtool
...ac-add-check-for-NO_GETCONTEXT-definition.patch | 28 ++++++++++++++++++++++
package/guile/Config.in | 1 +
2 files changed, 29 insertions(+)
create mode 100644 package/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/guile: needs libtool
2014-12-24 19:09 [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Yann E. MORIN
@ 2014-12-24 19:09 ` Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 2/2] bdwgc: add patch automatically detecting for NO_GETCONTEXT need Yann E. MORIN
2014-12-26 12:46 ` [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2014-12-24 19:09 UTC (permalink / raw)
To: buildroot
guile build-depends on libtool, but forgot to select it Kconfig.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/guile/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/guile/Config.in b/package/guile/Config.in
index 8f86e9f..6859caf 100644
--- a/package/guile/Config.in
+++ b/package/guile/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_GUILE
select BR2_PACKAGE_LIBFFI
select BR2_PACKAGE_GMP
select BR2_PACKAGE_BDWGC
+ select BR2_PACKAGE_LIBTOOL
help
Guile is an interpreter and compiler for the Scheme
programming language, a clean and elegant dialect of Lisp.
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] bdwgc: add patch automatically detecting for NO_GETCONTEXT need
2014-12-24 19:09 [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 1/2] package/guile: needs libtool Yann E. MORIN
@ 2014-12-24 19:09 ` Yann E. MORIN
2014-12-26 12:46 ` [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2014-12-24 19:09 UTC (permalink / raw)
To: buildroot
From: Samuel Martin <s.martin49@gmail.com>
This patch is necessary to successfully build guile with toolchain
missing support for getcontext.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998 at free.fr: add a comment, change variable name, use
AS_IF, remove debug traces, use AC_CHECK_FUNCS (Thomas)]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Note: we're not testing setcontext, because it is not used. getcontext
is used only to retrieve the context of the tread (like registers, heap
adress, and so on...), not to actually use contexts.
---
...ac-add-check-for-NO_GETCONTEXT-definition.patch | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 package/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch
diff --git a/package/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch b/package/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch
new file mode 100644
index 0000000..393ad90
--- /dev/null
+++ b/package/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch
@@ -0,0 +1,28 @@
+configure.ac: add check for NO_GETCONTEXT definition
+
+Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+[yann.morin.1998 at free.fr: add a comment, change variable name, use
+ AS_IF, remove debug traces, use AC_CHECK_FUNCS (as suggested by
+ Thomas)]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+---
+ configure.ac | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+--- bdwgc-7.2f.orig/configure.ac 2014-06-01 19:00:47.000000000 +0200
++++ bdwgc-7.2f/configure.ac 2014-12-23 14:13:11.585716713 +0100
+@@ -365,6 +365,12 @@
+ AC_MSG_RESULT($ac_cv_fno_strict_aliasing)
+ fi
+
++# Check for getcontext (uClibc can be configured without it, for example)
++AC_CHECK_FUNCS([getcontext])
++AS_IF([test "$ac_cv_func_getcontext" = "no"],
++ [CFLAGS="$CFLAGS -DNO_GETCONTEXT"
++ CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT"])
++
+ case "$host" in
+ # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64
+ # and unnecessary everywhere.
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes)
2014-12-24 19:09 [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 1/2] package/guile: needs libtool Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 2/2] bdwgc: add patch automatically detecting for NO_GETCONTEXT need Yann E. MORIN
@ 2014-12-26 12:46 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-12-26 12:46 UTC (permalink / raw)
To: buildroot
Dear Yann E. MORIN,
On Wed, 24 Dec 2014 20:09:09 +0100, Yann E. MORIN wrote:
> Samuel Martin (1):
> bdwgc: add patch automatically detecting for NO_GETCONTEXT need
>
> Yann E. MORIN (1):
> package/guile: needs libtool
Both applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-26 12:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-24 19:09 [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 1/2] package/guile: needs libtool Yann E. MORIN
2014-12-24 19:09 ` [Buildroot] [PATCH 2/2] bdwgc: add patch automatically detecting for NO_GETCONTEXT need Yann E. MORIN
2014-12-26 12:46 ` [Buildroot] [PATCH 0/2] misc guile-related fixes (branch yem/fixes) Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox