<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/erlang, branch 2016.02</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.02</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.02'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-02-07T22:12:11+00:00</updated>
<entry>
<title>package/libatomic_ops: rename libatomic_ops supported arch Kconfig symbol</title>
<updated>2016-02-07T22:12:11+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@gmail.com</email>
</author>
<published>2016-02-07T21:59:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=eebd770728376106215c519acc4cd74a1b79a141'/>
<id>urn:sha1:eebd770728376106215c519acc4cd74a1b79a141</id>
<content type='text'>
According to the discussion on the mailing-list [1], rename
the libatomic_ops supported architectures Kconfig symbol.

[1] http://lists.busybox.net/pipermail/buildroot/2016-February/152146.html

Signed-off-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>erlang: Remove BR2_TOOLCHAIN_HAS_THREADS dependency</title>
<updated>2015-10-21T20:12:05+00:00</updated>
<author>
<name>Ezequiel García</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2015-10-20T13:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cbcecc2453ec7f94d82f32a1acd33a09e576ecee'/>
<id>urn:sha1:cbcecc2453ec7f94d82f32a1acd33a09e576ecee</id>
<content type='text'>
Erlang can be built without threads support, by passing an
appropriate config option.

This commit drops the config dependency on BR2_TOOLCHAIN_HAS_THREADS
and instead passes --disable-threads if the toolchain doesn't support
threads.

While here, change the wording of the config comment to "dynamic
library" to be consistent with similar comments elsewhere.

Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>erlang: bump version to 17.5</title>
<updated>2015-04-09T19:39:22+00:00</updated>
<author>
<name>Frank Hunleth</name>
<email>fhunleth@troodon-software.com</email>
</author>
<published>2015-04-09T14:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=12c37dbf1ae552bb5f6671a4ce48971439a59f78'/>
<id>urn:sha1:12c37dbf1ae552bb5f6671a4ce48971439a59f78</id>
<content type='text'>
This also adds a hash file for the new version.

Signed-off-by: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>erlang: fix incorrect use of AC_EGREP_CPP</title>
<updated>2015-03-25T19:07:34+00:00</updated>
<author>
<name>Johan Oudinet</name>
<email>johan.oudinet@gmail.com</email>
</author>
<published>2015-03-25T15:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cef48576380f4541935695159a07eedc6358b4c9'/>
<id>urn:sha1:cef48576380f4541935695159a07eedc6358b4c9</id>
<content type='text'>
Using 'AC_EGREP_CPP(yes' without restraining the pattern always return
true if it runs from a path containing the string 'yes'.

Signed-off-by: Johan Oudinet &lt;johan.oudinet@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/erlang: fix build issue with pcre package</title>
<updated>2015-02-08T20:43:53+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@openwide.fr</email>
</author>
<published>2015-02-08T16:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6076d9a7a6c455b575ec7a2e3ce24f587302398f'/>
<id>urn:sha1:6076d9a7a6c455b575ec7a2e3ce24f587302398f</id>
<content type='text'>
If the pcre package is build before erlang, the erlang's build
system use pcre.h from pcre package instead of using pcre.h bundled
by Erlang.

Erlang use an old version of this file which is incompatible
with the upstream one.

http://autobuild.buildroot.net/results/cbd/cbd8b54eef535f19d7d400fd269af1b3571d6143/build-end.log

And many more.

Signed-off-by: Romain Naour &lt;romain.naour@openwide.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/erlang: export EI_VSN so other packages can use it</title>
<updated>2015-02-03T09:22:51+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2015-01-12T09:32:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6c1d128844c5a853853049ede5961c6495618dde'/>
<id>urn:sha1:6c1d128844c5a853853049ede5961c6495618dde</id>
<content type='text'>
Packages that depend on Erlang may need the Erlang Interface Version
(aka EI_VSN), so just export it.

We do export a static value instead of looking in the file, to avoid
spawning a shell every time the variable is dereferenced.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
[johan.oudinet@gmail.com: update EI_VSN since the erlang update]
Signed-off-by: Johan Oudinet &lt;johan.oudinet@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>erlang: fix comment dependencies</title>
<updated>2015-01-04T20:28:21+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2015-01-04T20:28:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=fe430adc2868f6317bab8e73625a0f32181b7ad7'/>
<id>urn:sha1:fe430adc2868f6317bab8e73625a0f32181b7ad7</id>
<content type='text'>
The comment was missing the dependency on BR2_USE_MMU, and was using
'depends on !BR2_TOOLCHAIN_HAS_THREADS &amp;&amp; BR2_STATIC_LIBS' while it
should in fact be '!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS',
since we want show the comment *either* when we don't have threads
*or* when we are building a purely static lib system.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/erlang: fix detection of libatomic_ops</title>
<updated>2015-01-04T20:26:07+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2015-01-04T14:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4a9df2942470241d7a96f326f0e7012aacd36f2e'/>
<id>urn:sha1:4a9df2942470241d7a96f326f0e7012aacd36f2e</id>
<content type='text'>
For some platforms, hardware-assisted compare-and-swap may not be
available, so libatomic_ops will not provide it.

However, libatomic_ops can provide a purely software CAS emulation, but
must be instructed to do so. erlang just forgot to tell libatomic_ops
that it does require CAS.

Fix that by defining AO_REQUIRE_CAS before including atmoic_ops.h, like
is done in libunwind, as pointed out by Thomas.

Also, erlang has a convoluted, mind-alterating set on aclocal.m4 macros,
that just forgets to link against -latomic_ops when checking CAS is
available, so that even if CAS is available, configure chokes.

Since I would like to keep the little sanity I still have, just force
linking with -latomic_ops. This is useless when the check is natrally
sucessful (i.e. on platforms where CAS is available in HW), but we
would eventually link with -latomic_ops there, too; it's just redundant.

Overall, just consider that erlang requires libatomic_ops, so forcibly
depend on it, it is easier than trying to disable it. We can revisit
that whenever someone wants to run erlang on a platform for which there
is no libatomic_ops support.

Fixes a slew of autobuild ARM failures:
    http://autobuild.buildroot.org/results/e7b/e7bfc4893dea6b133f0794ef44d50ad89bcb6662/
    http://autobuild.buildroot.org/results/3e9/3e9c307f1ec6536482641019dcaa94677f7267a3/
    http://autobuild.buildroot.org/results/a85/a85ca414e5b67af46510abd7b610eb5ae8661de4/
    [...]

[Thomas: fix minor typos in commit log, add dependency on
BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS to the Erlang comment about thread
and shared library dependency.]

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>erlang: fix typo in dependencies</title>
<updated>2014-12-18T22:12:51+00:00</updated>
<author>
<name>Frank Hunleth</name>
<email>fhunleth@troodon-software.com</email>
</author>
<published>2014-12-17T04:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e3254d06c53e907bbd0cf08a19b1d510e8595ea5'/>
<id>urn:sha1:e3254d06c53e907bbd0cf08a19b1d510e8595ea5</id>
<content type='text'>
If libatomic_ops was enabled, then the host-erlang dependency was lost.

Signed-off-by: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>erlang: use libatomic_ops if available</title>
<updated>2014-12-15T21:36:24+00:00</updated>
<author>
<name>Frank Hunleth</name>
<email>fhunleth@troodon-software.com</email>
</author>
<published>2014-12-15T21:29:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4a5b819c0f9f5ad0a77017d402410870183967e0'/>
<id>urn:sha1:4a5b819c0f9f5ad0a77017d402410870183967e0</id>
<content type='text'>
Erlang can either provide its own atomic_ops implementation or use the
one in libatomic_ops. This patch ensures that it only uses the one from
libatomic_ops if it is available.

Fixes:

http://autobuild.buildroot.net/results/3eb/3ebfd36948d5a642cc83ce31ddf5902cb369bfbd/
http://autobuild.buildroot.net/results/04c/04cbf79ccf159e15f9ea3953b425faadafc8a1c0/
http://autobuild.buildroot.net/results/fc9/fc9904446553e67dd44954310fea26d751a0df5d/
http://autobuild.buildroot.net/results/501/501a12da25615071fb6197a898456cfe41a6451d/
http://autobuild.buildroot.net/results/34e/34e2fbb4d39737fd7defa5bd607726d52ef38568/
http://autobuild.buildroot.net/results/722/7220c3905ebe9e081f1e3b90641b0859d996c2ac/
http://autobuild.buildroot.net/results/ffd/ffdc531d8cf9adb43340d045aa88eb0b39fc9bb7/
http://autobuild.buildroot.net/results/b4f/b4f238bcb30b0191ce1a2be669fa792c8ccd3e69/

Signed-off-by: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
