<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/libsoup/Config.in, branch 2017.11</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2017.11</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2017.11'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2017-05-29T20:52:34+00:00</updated>
<entry>
<title>package/gnutls: disable for static build</title>
<updated>2017-05-29T20:52:34+00:00</updated>
<author>
<name>Bernd Kuhls</name>
<email>bernd.kuhls@t-online.de</email>
</author>
<published>2017-05-25T16:34:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=30ed9de2fd8a572ffce26f7a9c8187335c567668'/>
<id>urn:sha1:30ed9de2fd8a572ffce26f7a9c8187335c567668</id>
<content type='text'>
The gnutils code uses __attribute__((constructor)) and
__attribute__((destructor)) to call constructor/desctructor when a
shared library is loaded.
Constructor/desctructor are not used when a static library is used
(except when if -Wl,--whole-archive -lgnutls -Wno-whole-archive is
used, not tested).

Even if gnutls initialization (_gnutls_global_init()) may be
called manually, the gnutls maintainer said it's not supported [1].

"Note that static linking applications with gnutls is not something
 supported. gnutls relies on library constructors and destructors
 which are not loaded when linking statically."

Now the gnutls script warns about static linking [2].

So disable gnutls statically by adding "depends on !BR2_STATIC_LIBS"
at Kconfig level and --disable-static in GNUTLS_CONF_OPTS.

Fixes:
[taskd] http://autobuild.buildroot.net/results/c2d/c2dd5c1c9dc87d2943c15e58ee56e67d7375368c
[ffmpeg] http://autobuild.buildroot.net/results/892/8926d319d6d1cd1ee72239ad7d9ca869d2355628
[sngrep] http://autobuild.buildroot.net/results/f7f/f7fb42d3742f6f01000a0d181e0c785640284405

[1] https://gitlab.com/gnutls/gnutls/issues/203
[2] https://gitlab.com/gnutls/gnutls/commit/6b748886799f88ddee9721dba4fc4d52854832ae

Signed-off-by: Bernd Kuhls &lt;bernd.kuhls@t-online.de&gt;
[Romain: merge our two patches together
    add some option comment
    disable static libgnutls.a
    add sngrep autobuilder reference]
Signed-off-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Tested-by: Bernd Kuhls &lt;bernd.kuhls@t-online.de&gt;
[Thomas: do not disable libgnutls.a]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>libsoup: add libsoup-gnome support</title>
<updated>2014-07-18T19:38:08+00:00</updated>
<author>
<name>Hadrien Boutteville</name>
<email>hadrien.boutteville@gmail.com</email>
</author>
<published>2014-07-18T15:39:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2d017035c4b52d04a9f0eb20e12b73219e8aa88b'/>
<id>urn:sha1:2d017035c4b52d04a9f0eb20e12b73219e8aa88b</id>
<content type='text'>
libsoup can build a libsoup-gnome library. Add support for
libsoup-gnome as it is a dependency of Midori.

Signed-off-by: Hadrien Boutteville &lt;hadrien.boutteville@gmail.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>libglib2: needs MMU support</title>
<updated>2013-11-22T11:14:33+00:00</updated>
<author>
<name>Thomas De Schampheleire</name>
<email>patrickdepinguin@gmail.com</email>
</author>
<published>2013-11-20T17:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2b468f1bd94d824ee32d4351d548955ae1e05435'/>
<id>urn:sha1:2b468f1bd94d824ee32d4351d548955ae1e05435</id>
<content type='text'>
Fixes http://autobuild.buildroot.net/results/2e0/2e032c6e44e10f2912935715741c3680a19b9b51/

Signed-off-by: Thomas De Schampheleire &lt;thomas.de.schampheleire@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>Config.in files: unify comments of toolchain option dependencies</title>
<updated>2013-10-14T20:45:57+00:00</updated>
<author>
<name>Thomas De Schampheleire</name>
<email>patrickdepinguin@gmail.com</email>
</author>
<published>2013-10-13T14:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=66bb10b7b0b66fbce4100a42979056c2182bc1da'/>
<id>urn:sha1:66bb10b7b0b66fbce4100a42979056c2182bc1da</id>
<content type='text'>
This patch lines up the comments in Config.in files that clarify which
toolchain options the package depends on.

Signed-off-by: Thomas De Schampheleire &lt;thomas.de.schampheleire@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>libsoup: Remove redundant dependency on gettext</title>
<updated>2013-07-30T21:39:36+00:00</updated>
<author>
<name>Arnout Vandecappelle (Essensium/Mind)</name>
<email>arnout@mind.be</email>
</author>
<published>2012-11-01T14:36:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=09704e7ee8a6e49d68359df7b4ebffb4d7819965'/>
<id>urn:sha1:09704e7ee8a6e49d68359df7b4ebffb4d7819965</id>
<content type='text'>
libsoup doesn't use intl stuff directly, but uses gi18n.  libglib2
already has all required dependencies on gettext.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>libglib2: needs threads</title>
<updated>2013-07-27T15:13:37+00:00</updated>
<author>
<name>Spenser Gilliland</name>
<email>spenser@gillilanding.com</email>
</author>
<published>2013-07-15T19:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=51788521b7467942a550cb1d077e6550a7472498'/>
<id>urn:sha1:51788521b7467942a550cb1d077e6550a7472498</id>
<content type='text'>
This commit adds a dependency of the libglib2 package on thread
support in the toolchain, since upstream libglib2 doesn't build
without thread support. The commit is rather large as it involves
propagating the dependency on thread support to all reverse
dependencies of the libglib2 package.

[Thomas: squash all patches into one, make a few minor fixes, the most
important one being to not add comments about MMU requirement when a
package doesn't work on !MMU platforms.]

Signed-off-by: Spenser Gilliland &lt;spenser@gillilanding.com&gt;
</content>
</entry>
<entry>
<title>libsoup: bump to version 2.43.1</title>
<updated>2013-06-08T20:52:01+00:00</updated>
<author>
<name>Spenser Gilliland</name>
<email>spenser@gillilanding.com</email>
</author>
<published>2013-06-07T13:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=dca8781610115458f76589e6fd9a19c5ed5971b0'/>
<id>urn:sha1:dca8781610115458f76589e6fd9a19c5ed5971b0</id>
<content type='text'>
Signed-off-by: Spenser Gilliland &lt;spenser@gillilanding.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>Revert "gnutls: wchar only needed for tools"</title>
<updated>2013-06-06T13:02:38+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2013-06-06T12:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=669de89be785f83ae4840b0ba3983d044e374172'/>
<id>urn:sha1:669de89be785f83ae4840b0ba3983d044e374172</id>
<content type='text'>
This reverts commit 7672b1235d8f786938af66068c1c1da8a766bb38.

It turns out that libgnutls.so ends up with a reference to wctomb() on
uClibc, as uClibc doesn't have vasnprintf so gnutls builds its internal
gnulib version of it, referencing wctomb().

Fix it by going back to requiring wchar for the base gnutls library as well.

Fixes http://autobuild.buildroot.net/results/780/780e825e56dc78f1ea347ca462e2e31044428775/

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>gnutls: wchar only needed for tools</title>
<updated>2013-06-03T15:27:00+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2013-06-03T15:23:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=7672b1235d8f786938af66068c1c1da8a766bb38'/>
<id>urn:sha1:7672b1235d8f786938af66068c1c1da8a766bb38</id>
<content type='text'>
And adjust reverse dependencies to match.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>Revert "gnutls: make it non-wchar friendly"</title>
<updated>2013-02-05T10:45:28+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2013-02-05T10:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=68c3f5257d94d0fc0437747014f3c1ff4d02aa8b'/>
<id>urn:sha1:68c3f5257d94d0fc0437747014f3c1ff4d02aa8b</id>
<content type='text'>
This reverts commit f1b86cef9884894df26ed25efaabe254f8f0754b

While the fix makes gnutls build without wchar, it doesn't actually work as
there's no rpl_wctomb implementation so the .so ends up with an undefined
reference to wctomb:

./host/usr/bin/arm-linux-nm -D staging/usr/lib/libgnutls.so.28|grep wctomb
         U wctomb

Causing linker errors for packages trying to use it:

  CCLD   msmtp
host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnutls.so:
undefined reference to `wctomb'
collect2: ld returned 1 exit status

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
</feed>
